Parameter adjusting assembly, electric equipment, switch module and parameter adjusting method

By introducing encoders and controllers into electrical equipment to generate incremental signals, and combining operating speed and amplitude to generate parameter adjustment instructions, the problem that existing equipment cannot meet the parameter adjustment requirements of different scenarios is solved and the user experience is improved.

CN118689130APending Publication Date: 2024-09-24BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310280933.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing electrical equipment such as desk lamps cannot meet the user's parameter adjustment requirements in different scenarios at the same time, resulting in poor user experience.

Method used

Provide a parameter adjustment component, including an encoder and a controller, which generates an incremental signal when the displacement increases by a preset threshold, generates parameter adjustment instructions based on the generation speed and quantity of the incremental signal, and performs parameter adjustment in combination with the operating speed and amplitude. .

Benefits of technology

Parameters are adjusted through the two dimensions of operation speed and amplitude to meet user needs in different scenarios and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689130A
    Figure CN118689130A
Patent Text Reader

Abstract

The invention relates to a parameter adjusting assembly, electric equipment, a switch module and a parameter adjusting method, and the parameter adjusting assembly comprises an encoder which is used for generating an increment signal when the displacement is increased by a preset threshold each time; and the controller is connected with the encoder and is used for receiving the increment signals sent by the encoder and generating a parameter adjusting instruction according to the generation speed and the quantity of the increment signals under the condition that the encoder generates a plurality of increment signals. Since the parameter adjustment instruction combines the generation speed and the number of the incremental signals, the user can adjust the parameter through two dimensions of the operation speed and the operation amplitude, and compared with the prior art that the user can only adjust the parameter through one dimension of the operation amplitude, the user can adjust the parameter through one dimension of the operation amplitude. According to the method, the parameter adjustment requirements of the user in different scenes can be met, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electrical equipment, and in particular to a parameter adjustment component, electrical equipment, a switch module, and a parameter adjustment method. Background Art

[0002] In recent years, with the rapid development of Internet of Things technology and smart home technology, the functions of electrical appliances in our lives have become more and more abundant, and the performance has become more and more superior. For example, lighting equipment such as desk lamps not only have the traditional functions of lighting up and turning off, but also can adjust the light parameters such as brightness and color temperature. However, in the related technology, lighting equipment such as desk lamps cannot simultaneously meet the user's parameter adjustment requirements in different scenarios, resulting in a poor user experience. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide a parameter adjustment component, an electrical device, a switch module, and a parameter adjustment method to solve the defects in the related art.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a parameter adjustment component, the component comprising:

[0005] an encoder for generating an incremental signal each time the displacement increases by a preset threshold;

[0006] The controller is connected to the encoder and is used to receive the incremental signal sent by the encoder and generate a parameter adjustment instruction according to the generation speed of the incremental signal and the number of the incremental signals when the encoder generates multiple incremental signals.

[0007] In one embodiment of the present disclosure, the controller is used to: start timing and incremental signal counting when the encoder generates the first incremental signal, and determine the incremental signal generation speed according to the timing result and the counting result when the encoder generates the last incremental signal.

[0008] In one embodiment of the present disclosure, the controller is used to: if the encoder does not generate an incremental signal within a preset time period after generating any incremental signal, determine the incremental signal as the last incremental signal.

[0009] In one embodiment of the present disclosure, when the controller is used to generate a parameter adjustment instruction according to the generation speed of the incremental signal and the number of the incremental signals, it is specifically used to:

[0010] According to the generation speed of the incremental signal, a target mapping relationship is determined from a plurality of preset mapping relationships, wherein each mapping relationship is used to characterize a parameter change amount corresponding to a single incremental signal;

[0011] A parameter adjustment instruction is generated according to the target mapping relationship and the number of incremental signals.

[0012] In one embodiment of the present disclosure, the controller is further configured to receive a displacement direction sent by the encoder;

[0013] When the controller is used to generate a parameter adjustment instruction according to the generation speed of the incremental signal and the number of the incremental signals, it is specifically used to:

[0014] A parameter adjustment instruction is generated according to the generation speed of the incremental signal, the number of the incremental signals and the displacement direction.

[0015] In one embodiment of the present disclosure, a communication module connected to the controller is further included, which is used to send the parameter adjustment instruction generated by the controller to the controlled device.

[0016] In one embodiment of the present disclosure, a circuit board is further included, and the encoder and the controller are arranged on the circuit board and connected through the circuit board.

[0017] According to a second aspect of an embodiment of the present disclosure, there is provided an electrical device, comprising the parameter adjustment component described in any one of the first aspects.

[0018] According to a third aspect of an embodiment of the present disclosure, a switch module is provided, comprising the parameter adjustment component described in any one of the first aspects.

[0019] According to a fourth aspect of an embodiment of the present disclosure, a parameter adjustment method is provided, including:

[0020] receiving a plurality of incremental signals sent by an encoder, wherein the plurality of incremental signals are generated by the encoder each time the displacement increases by a preset threshold;

[0021] A parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals.

[0022] In one embodiment of the present disclosure, it also includes:

[0023] When the encoder generates a first incremental signal, timing and incremental signal counting are started, and when the encoder generates a last incremental signal, a generation speed of the incremental signal is determined according to the timing result and the counting result.

[0024] In one embodiment of the present disclosure, it also includes:

[0025] In the case that the encoder does not generate an incremental signal within a preset time period after generating any incremental signal, the incremental signal is determined as the last incremental signal.

[0026] In one embodiment of the present disclosure, generating a parameter adjustment instruction according to the generation speed and quantity of the plurality of incremental signals includes:

[0027] According to the generation speed of the incremental signal, a target mapping relationship is determined from a plurality of preset mapping relationships, wherein each mapping relationship is used to characterize a mapping relationship between the number of incremental signals and the amount of parameter change;

[0028] A parameter adjustment instruction is generated according to the target mapping relationship and the number of incremental signals.

[0029] In one embodiment of the present disclosure, it also includes:

[0030] Receiving the displacement direction sent by the encoder;

[0031] The step of generating a parameter adjustment instruction according to the generation speed and quantity of the plurality of incremental signals comprises:

[0032] A parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals and the displacement direction.

[0033] In one embodiment of the present disclosure, it also includes:

[0034] The parameter adjustment instruction is sent to the controlled device.

[0035] According to a fifth aspect of an embodiment of the present disclosure, there is provided a parameter adjustment device, comprising:

[0036] A receiving module, configured to receive a plurality of incremental signals sent by an encoder, wherein the plurality of incremental signals are generated by the encoder when the displacement increases by a preset threshold each time;

[0037] The instruction module is used to generate parameter adjustment instructions according to the generation speed and quantity of the multiple incremental signals.

[0038] In one embodiment of the present disclosure, the instruction module is further used to:

[0039] When the encoder generates a first incremental signal, timing and incremental signal counting are started, and when the encoder generates a last incremental signal, a generation speed of the incremental signal is determined according to the timing result and the counting result.

[0040] In one embodiment of the present disclosure, the instruction module is further used to:

[0041] In the case that the encoder does not generate an incremental signal within a preset time period after generating any incremental signal, the incremental signal is determined as the last incremental signal.

[0042] In one embodiment of the present disclosure, the instruction module is specifically used to:

[0043] According to the generation speed of the incremental signal, a target mapping relationship is determined from a plurality of preset mapping relationships, wherein each mapping relationship is used to characterize a mapping relationship between the number of incremental signals and the amount of parameter change;

[0044] A parameter adjustment instruction is generated according to the target mapping relationship and the number of incremental signals.

[0045] In one embodiment of the present disclosure, the receiving module is further used for:

[0046] Receiving the displacement direction sent by the encoder;

[0047] The instruction module is specifically used for:

[0048] A parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals and the displacement direction.

[0049] In one embodiment of the present disclosure, a sending module is further included, which is used to:

[0050] The parameter adjustment instruction is sent to the controlled device.

[0051] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the first aspects is implemented.

[0052] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0053] The parameter adjustment component provided in the embodiment of the present disclosure can collect the user's operation by setting the encoder and quantify the user's operation, that is, the user's operation will cause the encoder to generate displacement, and the encoder will generate an incremental signal each time the displacement increases by a preset threshold; the parameter adjustment instruction can be generated according to the quantization result of the user's operation by setting the controller, that is, the parameter adjustment instruction is generated according to the speed and number of the incremental signal generated by the encoder. Since the parameter adjustment instruction combines the generation speed and number of the incremental signal, the user can adjust the parameter through two dimensions of operation speed and operation amplitude. Compared with the related art in which the user can only adjust the parameter through one dimension of operation amplitude, this method can meet the user's parameter adjustment requirements in different scenarios and improve the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0055] Figure 1 is a structural schematic diagram of a parameter adjustment component shown in an exemplary embodiment of the present disclosure;

[0056] Figure 2 is a schematic diagram of a desk lamp shown in an exemplary embodiment of the present disclosure;

[0057] Figure 3 is a structural schematic diagram of a desk lamp shown in an exemplary embodiment of the present disclosure;

[0058] Figure 4 is a flow chart of a parameter adjustment method shown in an exemplary embodiment of the present disclosure;

[0059] Figure 5 It is a schematic structural diagram of a terrain detection device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0061] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0062] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0063] In recent years, with the rapid development of Internet of Things technology and smart home technology, the functions of electrical appliances in our lives have become more and more abundant, and the performance has become more and more superior. For example, lighting equipment such as desk lamps not only have the traditional functions of lighting up and turning off, but also can adjust the light parameters such as brightness and color temperature. However, in the related technology, lighting equipment such as desk lamps cannot simultaneously meet the user's parameter adjustment requirements in different scenarios, resulting in a poor user experience.

[0064] Based on this, in the first aspect, at least one embodiment of the present disclosure provides a parameter adjustment component, please refer to the attached Figure 1 , which exemplarily shows the structure of the component, including: an encoder 101, used to generate an incremental signal each time the displacement increases by a preset threshold; a controller 102, connected to the encoder 101, used to receive the incremental signal sent by the encoder 101, and when the encoder 101 generates multiple incremental signals, generate a parameter adjustment instruction according to the generation speed of the incremental signal and the number of incremental signals.

[0065] It is understandable that the parameter adjustment component can be applied to an electrical device or a switch module. The electrical device can be as shown in the attached Figure 2 The switch module can be a panel switch, a remote control, etc., and the switch module can be connected to the controlled device. The electrical device and the switch module can be provided with a housing for installing the parameter adjustment component and a button matching the encoder 101, and the user can cause the encoder 101 to move by operating the button; Figure 2 Take the table lamp shown in the figure as an example. Figure 3 Its internal structure is shown, including a shell base 201, a shell cover 202, a parameter adjustment component 100 and a knob 300, wherein the shell base 201 and the shell cover 202 constitute a shell, the parameter adjustment component 100 is installed in the shell, and the knob 300 passes through the shell cover 202 to be connected to the encoder 101 of the parameter adjustment component 100, and can drive the encoder 101 to produce displacement.

[0066] Among them, the parameter adjustment component can be used to adjust the brightness and color temperature of the desk lamp, as well as the opening and closing ratio of the curtains and other parameters.

[0067] The encoder 101 may be a device that converts displacement into a signal form that can be used for communication, transmission and storage. For example, the encoder 101 can convert displacement into an electrical signal. The encoder 101 may be in the form of a code disk or a yardstick. When the encoder 101 is in the form of a code disk, it can generate angular displacement under user operation and convert the angular displacement into an electrical signal; when the encoder 101 is in the form of a yardstick, it can generate linear displacement under user operation and convert the linear displacement into an electrical signal. Exemplarily, the encoder 101 may be Figure 1The stepless encoder 101 shown in the figure, or other types of encoders 101 such as the stepless hollow encoder 101, the present disclosure does not limit their types. Exemplarily, the encoder 101 can be an incremental encoder 101 or an absolute encoder 101. Taking the incremental encoder 101 as an example, the encoder 101 can generate an incremental signal each time the displacement increases by a preset threshold; that is, as the user operates, the displacement of the encoder 101 continues to increase, thereby generating multiple incremental signals. It is understandable that the encoder 101 sends the incremental signal to the controller 102 each time it generates an incremental signal.

[0068] The controller 102 may be in the form of hardware such as a single-chip microcomputer. The controller 102 may include a timing module such as a timer with a timing function and a counting module with a counting function. The controller 102 may start timing (i.e., start the timing module for timing) and incremental signal counting (i.e., start the counting module for counting) when the encoder 101 generates the first incremental signal, and determine the generation speed of the incremental signal according to the timing result and the counting result when the encoder 101 generates the last incremental signal. When receiving the incremental signal, the controller 102 may determine the last incremental signal in the following manner: when the encoder 101 does not generate an incremental signal within a preset time after generating any incremental signal, the incremental signal is determined as the last incremental signal. In a possible scenario, user operation causes the encoder 101 to generate displacement, and three incremental signals are generated as the displacement is generated; the controller 102 starts timing and counting after receiving the first incremental signal, and does not receive an incremental signal within a preset time after receiving the third incremental signal (that is, the encoder 101 does not generate an incremental signal within a preset time after generating the third incremental signal), so the counting result is 3, and the timing result is the timing result when the third incremental signal is received. The counting result can then be divided by the timing result to obtain the generation speed of the incremental signal.

[0069] In a possible embodiment, when the controller 102 is used to generate a parameter adjustment instruction based on the generation speed of the incremental signal and the number of incremental signals, it can first determine a target mapping relationship among multiple preset mapping relationships based on the generation speed of the incremental signal, wherein each mapping relationship is used to characterize the parameter change corresponding to a single incremental signal; then generate a parameter adjustment instruction based on the target mapping relationship and the number of incremental signals, for example, generate a parameter change based on the target mapping relationship and the number of incremental signals, and generate a parameter adjustment instruction based on the parameter change, wherein the parameter change can be characterized as a percentage of the parameter.

[0070] Exemplarily, the greater the speed of generating the incremental signal, the greater the parameter change corresponding to the single incremental signal; the smaller the speed of generating the incremental signal, the smaller the parameter change corresponding to the single incremental signal. Thus, the parameters can be adjusted quickly over a wide range when the user operates quickly, and the parameters can be finely adjusted when the user operates slowly. For example, a first speed threshold, a second speed threshold, and a third speed threshold that increase in sequence are pre-set. When the speed of generating the incremental signal is less than the first speed threshold, the parameter change corresponding to the single incremental signal is 5%, when the speed of generating the incremental signal is greater than or equal to the first speed threshold, and less than the second speed threshold, the parameter change corresponding to the single incremental signal is 10%, when the speed of generating the incremental signal is greater than or equal to the second speed threshold, and less than the third speed threshold, the parameter change corresponding to the single incremental signal is 15%, and when the speed of generating the incremental signal is greater than or equal to the third speed threshold, the parameter change corresponding to the single incremental signal is 20%.

[0071] In another possible embodiment, when the encoder 101 generates displacement under the operation of the user, the displacement direction may be sent to the encoder 101, and the controller 102 is further used to receive the displacement direction sent by the encoder 101. For example, when the encoder 101 is in the form of a code disk and is connected to a knob, if the user rotates the knob clockwise, the encoder 101 sends the clockwise direction to the controller 102, and if the user rotates the knob counterclockwise, the encoder 101 sends the counterclockwise direction to the controller 102.

[0072] Based on this, when the controller 102 is used to generate parameter adjustment instructions according to the generation speed of the incremental signal and the number of incremental signals, the parameter adjustment instructions can be generated according to the generation speed of the incremental signal, the number of incremental signals and the displacement direction; exemplarily, the parameter change amount is determined according to the generation speed of the incremental signal and the number of incremental signals (for example, the parameter change amount is determined in the manner of the previous embodiment), and the parameter change direction is determined according to the displacement direction (for example, when the displacement direction is clockwise, the parameter change direction is determined to increase, and when the displacement direction is counterclockwise, the parameter change direction is determined to decrease), and then the parameter adjustment instructions are generated according to the parameter change amount and the parameter change direction.

[0073] In addition, the parameter adjustment instruction may also include a circuit board 103 and a communication module connected to the controller 102, wherein the communication module is used to send the parameter adjustment instruction generated by the controller 102 to the controlled device, and the communication module may be set separately or integrated with the controller 102; the encoder 101, the controller 102 and the communication module may be set on the circuit board 103, and the controller 102 is respectively connected to the encoder 101 and the communication module through the circuit board 103. The controlled device may be a device for which the parameter adjustment is targeted, such as an electrical device such as a desk lamp.

[0074] The parameter adjustment component provided in the embodiment of the present disclosure can collect the user's operation by setting the encoder 101, and quantify the user's operation, that is, the user's operation will cause the encoder 101 to generate a displacement, and the encoder 101 will generate an incremental signal each time the displacement increases the preset threshold; the controller 102 can be set to generate a parameter adjustment instruction according to the quantization result of the user's operation, that is, the parameter adjustment instruction is generated according to the speed and number of the incremental signal generated by the encoder 101. Since the parameter adjustment instruction combines the generation speed and number of the incremental signal, the user can adjust the parameter through the two dimensions of operation speed and operation amplitude. Compared with the user in the related art that can only adjust the parameter through one dimension of operation amplitude, this method can meet the user's parameter adjustment requirements in different scenarios and improve the user's experience. For example, in the related art, when the parameter is adjusted only through one dimension of operation amplitude, if the parameter change amount corresponding to a single incremental signal is large, the fine adjustment of the parameter cannot be completed. If the parameter change amount corresponding to a single incremental signal is small, the user needs to perform a large-scale operation to complete the large-scale adjustment of the parameter. However, the present application can complete the fine adjustment and large-scale adjustment of the parameter through different operation speeds.

[0075] For the second aspect, please refer to the attached Figure 2 and attached Figure 3 At least one embodiment of the present disclosure provides an electrical device, comprising the parameter adjustment component described in any embodiment of the first aspect, that is, the parameter adjustment component is integrated in the electrical device.

[0076] Among them, the electrical equipment can be as follows Figure 2 The table lamp, electric curtain, etc. shown in the figure, wherein the electrical equipment and the switch module can be provided with a housing for installing the parameter adjustment component and a button matching the encoder 101, and the user can cause the encoder 101 to move by operating the button; Figure 2 Take the table lamp shown in the figure as an example. Figure 3 Its internal structure is shown, including a shell base 201, a shell cover 202, a parameter adjustment component 100 and a knob 300, wherein the shell base 201 and the shell cover 202 constitute a shell, the parameter adjustment component 100 is installed in the shell, and the knob 300 passes through the shell cover 201 to be connected to the encoder 101 of the parameter adjustment component 100, and can drive the encoder 101 to produce displacement.

[0077] In a third aspect, at least one embodiment of the present disclosure provides a switch module, including the parameter adjustment component described in any embodiment of the first aspect. The switch module can be a panel switch, a remote controller, etc. The switch module can be connected to the controlled device in communication, that is, the parameter adjustment component is integrated in the switch module, and thus is separated from the electrical device.

[0078] In a third aspect, at least one embodiment of the present disclosure provides a parameter adjustment method. Figure 4 , which exemplarily shows the process of the method, including step S401 to step S402.

[0079] In step S401, a plurality of incremental signals sent by an encoder are received, wherein the plurality of incremental signals are generated by the encoder when the displacement increases by a preset threshold each time.

[0080] In step S402, a parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals.

[0081] In one embodiment of the present disclosure, it also includes:

[0082] When the encoder generates a first incremental signal, timing and incremental signal counting are started, and when the encoder generates a last incremental signal, a generation speed of the incremental signal is determined according to the timing result and the counting result.

[0083] In one embodiment of the present disclosure, it also includes:

[0084] In the case that the encoder does not generate an incremental signal within a preset time period after generating any incremental signal, the incremental signal is determined as the last incremental signal.

[0085] In one embodiment of the present disclosure, generating a parameter adjustment instruction according to the generation speed and quantity of the plurality of incremental signals includes:

[0086] According to the generation speed of the incremental signal, a target mapping relationship is determined from a plurality of preset mapping relationships, wherein each mapping relationship is used to characterize a mapping relationship between the number of incremental signals and the amount of parameter change;

[0087] A parameter adjustment instruction is generated according to the target mapping relationship and the number of incremental signals.

[0088] In one embodiment of the present disclosure, it also includes:

[0089] Receiving the displacement direction sent by the encoder;

[0090] The step of generating a parameter adjustment instruction according to the generation speed and quantity of the plurality of incremental signals comprises:

[0091] A parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals and the displacement direction.

[0092] In one embodiment of the present disclosure, it also includes:

[0093] The parameter adjustment instruction is sent to the controlled device.

[0094] The details of each step in the parameter adjustment method have been introduced in detail when introducing the parameter adjustment component in the first aspect, and will not be repeated here.

[0095] According to a fifth aspect of the embodiments of the present disclosure, a parameter adjustment device is provided. Figure 5 ,include:

[0096] A receiving module 501 is used to receive a plurality of incremental signals sent by an encoder, wherein the plurality of incremental signals are generated by the encoder when the displacement increases by a preset threshold each time;

[0097] The instruction module 502 is used to generate a parameter adjustment instruction according to the generation speed and quantity of the multiple incremental signals.

[0098] In one embodiment of the present disclosure, the instruction module is further used to:

[0099] When the encoder generates a first incremental signal, timing and incremental signal counting are started, and when the encoder generates a last incremental signal, a generation speed of the incremental signal is determined according to the timing result and the counting result.

[0100] In one embodiment of the present disclosure, the instruction module is further used to:

[0101] In the case that the encoder does not generate an incremental signal within a preset time period after generating any incremental signal, the incremental signal is determined as the last incremental signal.

[0102] In one embodiment of the present disclosure, the instruction module is specifically used to:

[0103] According to the generation speed of the incremental signal, a target mapping relationship is determined from a plurality of preset mapping relationships, wherein each mapping relationship is used to characterize a mapping relationship between the number of incremental signals and the amount of parameter change;

[0104] A parameter adjustment instruction is generated according to the target mapping relationship and the number of incremental signals.

[0105] In one embodiment of the present disclosure, the receiving module is further used for:

[0106] Receiving the displacement direction sent by the encoder;

[0107] The instruction module is specifically used for:

[0108] A parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals and the displacement direction.

[0109] In one embodiment of the present disclosure, a sending module is further included, which is used to:

[0110] The parameter adjustment instruction is sent to the controlled device.

[0111] Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the first aspect related to the method, and will not be elaborated here.

[0112] In a fourth aspect, at least one embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements any of the methods described in the first aspect.

[0113] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0114] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A parameter adjustment component, characterized in that: The components include: an encoder for generating an incremental signal each time the displacement increases by a preset threshold; The controller is connected to the encoder and is used to receive the incremental signal sent by the encoder and generate a parameter adjustment instruction according to the generation speed of the incremental signal and the number of the incremental signals when the encoder generates multiple incremental signals.

2. The parameter adjustment component according to claim 1, characterized in that: The controller is used to start timing and counting of incremental signals when the encoder generates a first incremental signal, and determine a generation speed of incremental signals according to timing results and counting results when the encoder generates a last incremental signal.

3. The parameter adjustment component according to claim 2, characterized in that: The controller is used for: if the encoder does not generate an incremental signal within a preset time period after generating any incremental signal, determining the incremental signal as the last incremental signal.

4. The parameter adjustment component according to claim 1, characterized in that: When the controller is used to generate a parameter adjustment instruction according to the generation speed of the incremental signal and the number of the incremental signals, it is specifically used to: According to the generation speed of the incremental signal, a target mapping relationship is determined from a plurality of preset mapping relationships, wherein each mapping relationship is used to characterize a parameter change amount corresponding to a single incremental signal; A parameter adjustment instruction is generated according to the target mapping relationship and the number of incremental signals.

5. The parameter adjustment component according to claim 1 or 4, characterized in that: The controller is also used to receive the displacement direction sent by the encoder; When the controller is used to generate a parameter adjustment instruction according to the generation speed of the incremental signal and the number of the incremental signals, it is specifically used to: A parameter adjustment instruction is generated according to the generation speed of the incremental signal, the number of the incremental signals and the displacement direction.

6. The parameter adjustment component according to claim 1, characterized in that: It also includes a communication module connected to the controller, which is used to send the parameter adjustment instructions generated by the controller to the controlled device.

7. The parameter adjustment component according to claim 1, characterized in that: It also includes a circuit board, on which the encoder and the controller are arranged and connected via the circuit board.

8. An electrical device, characterized in that: The invention comprises the parameter adjustment component according to any one of claims 1 to 7.

9. A switch module, characterized in that: The invention comprises the parameter adjustment component according to any one of claims 1 to 7.

10. A parameter adjustment method, characterized in that: include: receiving a plurality of incremental signals sent by an encoder, wherein the plurality of incremental signals are generated by the encoder each time the displacement increases by a preset threshold; A parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals.

11. The parameter adjustment method according to claim 10, characterized in that: Also includes: When the encoder generates a first incremental signal, timing and incremental signal counting are started, and when the encoder generates a last incremental signal, a generation speed of the incremental signal is determined according to the timing result and the counting result.

12. The parameter adjustment method according to claim 11, characterized in that: Also includes: In the case that the encoder does not generate an incremental signal within a preset time period after generating any incremental signal, the incremental signal is determined as the last incremental signal.

13. The parameter adjustment method according to claim 10, characterized in that: The step of generating a parameter adjustment instruction according to the generation speed and quantity of the plurality of incremental signals comprises: According to the generation speed of the incremental signal, a target mapping relationship is determined from a plurality of preset mapping relationships, wherein each mapping relationship is used to characterize a mapping relationship between the number of incremental signals and the amount of parameter change; A parameter adjustment instruction is generated according to the target mapping relationship and the number of incremental signals.

14. The parameter adjustment method according to claim 10, characterized in that: Also includes: Receiving the displacement direction sent by the encoder; The step of generating a parameter adjustment instruction according to the generation speed and quantity of the plurality of incremental signals comprises: A parameter adjustment instruction is generated according to the generation speed and quantity of the plurality of incremental signals and the displacement direction.

15. The parameter adjustment method according to claim 10, characterized in that: Also includes: The parameter adjustment instruction is sent to the controlled device.

16. A parameter adjustment device, characterized in that: include: A receiving module, configured to receive a plurality of incremental signals sent by an encoder, wherein the plurality of incremental signals are generated by the encoder when the displacement increases by a preset threshold each time; The instruction module is used to generate parameter adjustment instructions according to the generation speed and quantity of the multiple incremental signals.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 10 to 15 is implemented.