Gear switch control circuit and electronic equipment

By designing the gear switch control circuit, using the gear switch to output different voltage signals, the control unit determines the gear position, solving the problem of waste of MCU resources in traditional technology, and achieving the effect of saving resources and reducing costs.

CN222928383UActive Publication Date: 2025-05-30SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421754783.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2025-05-30
Estimated Expiration
2034-07-22

AI Technical Summary

Technical Problem

When traditional electronic products use gear switch control, there is a one-way switch that only corresponds to one-way output control, resulting in a waste of MCU chip control resources.

Method used

A gear switch control circuit is designed, including a gear switch, a gear switch, an analog-to-digital conversion circuit and a control unit. The gear switch outputs N voltage signals with a pressure difference between each other. The control unit receives these signals through analog-to-digital conversion, judges the gear position of the gear switch, and thus saves the signal port of the MCU.

Benefits of technology

It is realized that the gear position of the gear switch is judged by identifying the potential of the electrical signal, saving the port of the control unit, reducing costs, and through appropriate resistance setting, low power consumption standby and wake-up of the control unit are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222928383U_ABST
    Figure CN222928383U_ABST
Patent Text Reader

Abstract

The utility model belongs to the technical field of switch control, and particularly relates to a gear switch control circuit and electronic equipment. The gear switch control circuit comprises a gear circuit, a gear switch, an analog-to-digital conversion circuit and a control unit which are sequentially connected, the gear switch is provided with N gears, the gear circuit can output N voltage signals with voltage difference through the gear switch, each gear corresponds to one voltage signal, and the analog-to-digital conversion circuit is connected with the control unit. The control unit receives the N voltage signals through an analog-to-digital conversion circuit, and judges the gear position Ngt of the gear switch according to the voltage signals; 1 is a natural number. The gear switch control circuit can judge the position of the gear of the gear switch by identifying the potential of the electric signal, ports of the control unit are saved, the cost is saved, a proper resistance value is set in the gear circuit, low-power-consumption standby can be achieved, and the control unit can be awakened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of switch control, and particularly relates to a gear switch control circuit and an electronic device. Background Art

[0002] Currently, electronic products have more and more functions. To facilitate function switching, switch buttons corresponding to functions are generally set. The switch buttons are connected to a processor (MCU) or a single-chip microcomputer, etc., and the corresponding function is judged by touching the switch button; with the continuous miniaturization of electronic products, the switch buttons are gradually integrated into a multi-gear switch, and the multi-gear switch is connected to different signal terminals of the MCU to judge the gear position of the gear switch and the function module corresponding to the gear position. However, with more and more functions and limited control terminals of the MCU, the development of electronic products is restricted. At the same time, one switch corresponds to one output control, which wastes the control resources of the MCU chip.

[0003] Therefore, there is a problem of wasting the control resources of the MCU chip in the traditional technical solution. Summary of the Utility Model

[0004] The purpose of this application is to provide a gear switch control circuit, aiming to solve the problem that in the traditional electronic products when using the gear switch control, one switch only corresponds to one output control, resulting in waste of the control resources of the MCU chip.

[0005] In the first aspect of the embodiment of this application, a gear switch control circuit is provided. The gear switch control circuit includes: a gear circuit, a gear switch, an analog-to-digital conversion circuit, and a control unit connected in sequence. The gear switch has N gears. The gear circuit can output N voltage signals with a pressure difference between each other through the gear switch, and each gear corresponds to a voltage signal. The control unit receives the voltage signal through the analog-to-digital conversion circuit and judges the position of the gear switch gear according to the voltage signal, where N>1 and N is a natural number.

[0006] Further, the gear circuit includes a common branch and N1 main selection branches. The common branch and each main selection branch are both connected in series with several resistors and the total resistance of any two main selection branches is different. The gear switch is provided with a gear slider. One end of the gear slider is electrically connected to the common branch, and the other end of the gear slider is switched to be electrically connected to the main selection branch during gear shifting; the common branch and one of the main selection branches form a loop through the gear slider. The output side of the gear switch is connected with an output line, and the output line is electrically connected to the gear slider; N1>1 and N1 is a natural number.

[0007] Preferably, the input side of the gear shift switch is provided with N1 common terminals and N1 main selection terminals. The N1 common terminals are connected by wires. The main selection terminals and the common terminals are respectively located at both ends of the input side of the gear shift switch. The gear shift slider is provided with two abutting ends, and the two abutting ends respectively abut against a main selection terminal and a corresponding common terminal. One end of the common branch is connected to one of the common terminals, and one end of the main selection branch is correspondingly connected to a main selection terminal one by one.

[0008] Preferably, the input side of the gear shift switch is further provided with N2 sub-selection terminals. The gear shift circuit further includes N2 sub-selection branches. A number of resistors are connected in series in the sub-selection branches. The sub-selection branches and the main selection branches are both selection branches, and the total resistance of any two selection branches is different. The sub-selection terminals and the main selection terminals are respectively located on both sides of the common terminal. The common branch forms a loop with one of the selection branches through the gear shift slider. N2 is less than or equal to N1, and N2 is a natural number.

[0009] Further, the output side of the gear shift switch is provided with connection terminals opposite to the main selection terminals, the common terminals and the sub-selection terminals, and all the connection terminals are connected to the output line by wires.

[0010] Further, the gear shift switch includes a gear shift rotating block. A rotating shaft is provided in the middle of the gear shift rotating block. The rotating shaft is electrically connected to the output line of the gear shift switch. One side of the gear shift switch is provided with N selection terminals, and the other side of the gear shift switch is provided with N common terminals. The N common terminals are connected by wires, or an arc-shaped piece is provided on the other side of the gear shift switch. The gear shift circuit includes N selection branches and a common branch. One ends of the N selection branches are respectively correspondingly connected to the N common terminals one by one. One end of the common branch is electrically connected to one of the common terminals or connected to the arc-shaped piece. A number of resistors are respectively connected in series in the selection branches and the common branch, and the total resistance of any two selection branches is different. The selection branches are connected to the common branch through the gear shift rotating block and form a loop. Preferably, the other end of the selection branch is connected to the power supply VDD or grounded, and the other end of the common branch is grounded or connected to the power supply VDD.

[0011] An electronic device includes the above-mentioned gear shift switch control circuit and a circuit board, and the circuit board is provided with the gear shift circuit.

[0012] Further, the control unit is connected to a storage unit.

[0013] Preferably, the control unit is connected to a display unit.

[0014] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows: The above-mentioned gear shift switch control circuit can judge the position of the gear shift switch gear by identifying the potential of the electrical signal, saving the ports of the control unit and saving costs. Secondly, by setting appropriate resistance values in the gear shift circuit, it can standby with low power consumption and wake up the control unit. Description of the Drawings

[0015] Figure 1 FIG. 1 is a schematic structural diagram of a first gear switch control circuit provided by an embodiment of the present application;

[0016] Figure 2 FIG. 2 is a schematic structural diagram of a second gear switch control circuit provided by an embodiment of the present application;

[0017] Figure 3 FIG. 3 is a schematic structural diagram of a third gear switch control circuit provided by an embodiment of the present application;

[0018] Figure 4 FIG. 4 is a schematic structural diagram of a fourth gear switch control circuit provided by an embodiment of the present application;

[0019] Figure 5 FIG. 5 is a schematic structural diagram of a fifth gear switch control circuit provided by an embodiment of the present application;

[0020] Figure 6 FIG. 6 is a schematic structural diagram of a sixth gear switch control circuit provided by an embodiment of the present application;

[0021] Figure 7 FIG. 7 is a schematic structural diagram of a seventh gear switch control circuit provided by an embodiment of the present application;

[0022] Figure 8 FIG. 8 is a schematic structural diagram of an eighth gear switch control circuit provided by an embodiment of the present application;

[0023] Reference numerals are as follows:

[0024] 1 - gear switch; 11 - main selection terminal; 12 - common terminal; 13 - connection terminal; 14 - secondary selection terminal; 15 - selection terminal; 2 - gear slider; 21 - abutting end; 3 - gear circuit; 31 - main selection branch; 32 - common branch; 33 - secondary selection branch; 34 - selection branch; 4 - gear rotating block; 5 - analog-to-digital conversion circuit; 6 - control unit; 7 - rotating shaft. Detailed Description of the Embodiment

[0025] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0026] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.

[0027] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0028] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0029] Figure 1 Shows a preferred embodiment of the present application ( Figure 1 A structural schematic diagram of a gear switch control circuit provided in the first embodiment of the present application is shown. For the sake of convenience of explanation, only the parts related to this embodiment are shown, which are described in detail as follows: a gear switch control circuit, the gear switch control circuit comprising: a gear circuit 3, a gear switch 1, an analog-to-digital conversion circuit 5, and a control unit 6 connected in sequence, the gear circuit 3 outputs a voltage signal to the outside through the gear switch 1, the gear switch 1 is provided with N gears, the gear circuit 3 can output N voltage signals with a voltage difference between each other through the gear switch 1, one gear corresponds to one voltage signal, the voltage signal is transmitted to the control unit 6 after analog-to-digital conversion, the control unit 6 receives the voltage signal through the analog-to-digital conversion circuit 5, and determines the position of the gear of the gear switch 1 according to the voltage signal, N>1 and is a natural number.

[0030] In the application of the embodiments of the present application, the gear positions of the gear switch 1 correspond to the functions of the electronic product. Without loss of generality, they can be in one-to-one correspondence, that is, one gear position of the gear switch 1 corresponds to one function of the electronic product, such as 3 gear positions corresponding to 3 different working powers of the electronic product, etc. When in use, by selecting different gear positions on the gear switch 1, the gear circuit 3 sends different voltage signals to the control unit 6. When the control unit 6 receives the voltage signal, it can determine which gear position the gear switch 1 is in and the function corresponding to that gear position according to the magnitude of the voltage signal. The control unit 6 immediately sends a control signal to other actuators and executes the corresponding function. The control unit 6 can be an MCU, an IC, a single-chip microcomputer, etc.; it can also be a logic circuit, etc. The output side of the gear switch 1 is only connected to one signal port of the control unit 6, rather than being connected to multiple signal ports of the control unit 6 in the prior art, thereby realizing that a multi-way switch corresponds to one signal port, effectively saving the signal ports of the control unit 6 and improving the effective utilization rate of the signal ports of the control unit 6.

[0031] The technical solution of the present application mainly adopts different gear positions to output different voltage signals, and the control unit 6 determines the gear position and the function application corresponding to that gear position according to the received voltage signal. Exemplarily, when in use, the electronic product is also provided with a memory, the control unit 6 is electrically connected to the memory, and the memory stores execution command information corresponding one-to-one with the voltage signal. When the control unit 6 receives the voltage signal, it compares the voltage signal with the information in the memory, obtains the command information to be executed through the comparison, and then the control unit 6 controls the corresponding execution unit to execute the corresponding command, thereby realizing the control of the function.

[0032] Please refer to Figure 1 、 Figure 2 As shown in, the input side of the gear switch 1 is provided with N1 common terminals 12 and N1 main selection terminals 11. The N1 common terminals 12 are connected in common through wires; the main selection terminals 11 and the common terminals 12 are respectively located at both ends of the input side of the gear switch 1; the gear switch 1 is provided with a gear slider 2, and the gear slider 2 is provided with two abutting ends 21, and the two abutting ends 21 respectively abut against one main selection terminal 11 and a corresponding common terminal 12; the output side of the gear switch 1 is connected with an output wire, and the output wire is electrically connected to the gear slider 2; the gear circuit 3 includes a common branch 32 and N1 main selection branches 31. The common branch 32 and each main selection branch 31 are both connected in series with several resistors and the total resistance of any two main selection branches 31 is different. The common branch 32 and one of the main selection branches 31 form a loop through the gear slider 2, and N1>1 and is a natural number.

[0033] The technical solution of this application adjusts the gear by setting a gear slider 2 on the gear switch 1. Every time the gear slider 2 slides to a new gear, the two abutting ends 21 of the gear slider 2 respectively abut against a new main selection end 11 and a corresponding common end 12. The gear slider 2 is made of a conductor, generally a metal material. The two abutting ends 21 of the gear slider 2 are connected to the common branch 32 and a main selection branch 31. The common branch 32 and the IG main selection branch 31 form a loop through the gear slider 2. When specifically setting, the common branch 32 can be provided with one or more than 2 resistors. To save costs, the common branch 32 is provided with a common resistor. One end of the common resistor is connected to the ground or the power supply, and the other end of the common resistor is electrically connected to one abutting end 21 of the gear slider 2. Correspondingly, the main selection branch 31 is also provided with a main selection resistor to save costs. One end of the main selection resistor is connected to the power supply or the ground, and the other end of the main selection resistor is electrically connected to the other abutting end 21 of the gear slider 2. The common resistor and the corresponding main selection resistor are connected in series through the gear slider 2, and are connected in series between the ground and the power supply, and form a loop. Since the total resistance of each main selection branch 31 is different, the resistance value of each main selection resistor is different, and the electric potential of the gear slider 2 is different. The electric potential of the output side of the gear switch 1 is the electric potential of the gear slider 2. The output side of the gear switch 1 is connected to a port of the control unit 6. This port of the control unit 6 receives the electrical signal output by the gear switch 1. Since the electric potential of the electrical signal is different, the position of the gear of the gear switch 1 can be judged according to the difference of the electrical signal.

[0034] When specifically setting, reference can be made to Figure 1 、 Figure 2 ; First, the circuit structure shown in Figure 1 、 Figure 2 will be described. As shown in Figure 1Circuit structure diagram of a gear shift switch control circuit shown; The common branch 32 includes a resistor R3 electrically connected to the power supply VDD. The resistor R3 is a common resistor, and one end of the resistor R3 is connected to the common terminal group K3; Exemplarily, the common terminal group K3 is provided with 2 common terminals 12, and the 2 common terminals 12 are connected by a wire; The gear shift circuit 3 is provided with 2 main selection branches 31, and each main selection branch 31 is respectively provided with a resistor R1 and a resistor R2; One end of the resistors R1 and R2 is grounded respectively, and the other ends of the resistors R1 and R2 are electrically connected to two main selection terminals K1 and K2 in the main selection terminal 11; When the gear shift slider 2 slides, one abutting end 21 of the gear shift slider 2 is always in contact with the common terminal group K3, and the other abutting end 21 of the gear shift slider 2 is in contact with the main selection terminal K1 or the main selection terminal K2; When in contact with the main selection terminal K1, the electric potential of the gear shift slider 2 is: V1 = VDD * R1 / (R1 + R3); When in contact with the main selection terminal K2, the electric potential of the gear shift slider 2 is: V2 = VDD * R2 / (R2 + R3); Where VDD represents the electric potential magnitude of the power supply VDD, R1 represents the resistance value of the resistor R1, R2 represents the resistance value of the resistor R2, and R3 represents the resistance value of the resistor R3; Since the resistance values R1 and R2 are different, the electric potentials V1 and V2 are also different, so the voltage of the electrical signal received by the control unit 6 is also different. Secondly, in use, the resistor values of R1, R2, and R3 can be set appropriately so that the power consumption of the electronic product is relatively low during standby; At the same time, when waking up the control unit 6, through the switching of the gear shift switch, the output voltage signal forms a rising edge or a falling edge, and the control unit 6 is woken up by the rising edge or the falling edge.

[0035] Figure 2 Another circuit structure diagram of the gear shift switch control circuit; Exemplarily, the common branch 32 includes a resistor R3 connected to the ground. The resistor R3 is a common resistor, one end of the resistor R3 is grounded, and the other end of the resistor R3 is connected to the common terminal group K3, and Figure 2 similarly, the common terminal group K3 is provided with 2 common terminals 12, and the 2 common terminals 12 are connected by a wire; The gear shift circuit 3 is provided with 2 main selection branches 31, and each main selection branch 31 is respectively provided with a resistor R1 and a resistor R2; One end of the resistors R1 and R2 is connected to the power supply VDD respectively, and the other ends of the resistors R1 and R2 are electrically connected to the main selection terminal K1 and the main selection terminal K2; Its working principle is the same as Figure 2 the same. When in contact with the main selection terminal K1, the electric potential of the gear shift slider 2 is: V1 = VDD * R3 / (R1 + R3); When in contact with the main selection terminal K2, the electric potential of the gear shift slider 2 is: V2 = VDD * R3 / (R2 + R3); Similarly, when outputting externally, different gears output electrical signals with different voltages. At this time, N1 can be equal to N.

[0036] See Figure 3, Figure 4 On the input side of the gear shift switch 1, there are also N2 secondary selection terminals 14. The gear circuit 3 further includes N2 secondary selection branches 33. Each secondary selection branch 33 is connected in series with a number of resistors. Both the secondary selection branch 33 and the main selection branch 31 are selection branches, and the total resistance of any two selection branches is different. The secondary selection terminal 14 and the main selection terminal 11 are respectively located on both sides of the common terminal 12. The common branch 32 forms a loop with one of the selection branches through the gear shift slider 2; N2 is less than or equal to N, and N2 is a natural number.

[0037] When increasing the number of gears in the technical solution of the present application, it can be increased by adding secondary selection terminals 14, which can simplify the gear shift switch 1; at this time, N = N1 + N2; in specific implementation settings, the main selection terminal 11, the common terminal 12, and the secondary selection terminal 14 are arranged at equal intervals, and the distance between the two abutting ends 21 of the gear shift slider 2 is equal to the distance between the outermost main selection terminal 11 and the common terminal 12; when sliding the gear shift slider 2, as Figure 4 shown, the main selection terminal K1 is connected to the uppermost common terminal 12 of the common terminal group K3 through the gear shift slider 2, the main selection terminal K2 is connected to a lower common terminal 12 of the common terminal group K3 through the gear shift slider 2, and the secondary selection terminal K4 is connected to the uppermost common terminal 12 through the gear shift slider 2. By only adding the secondary selection terminal 14 and the secondary selection branch 33, the number of gears can be increased, making full use of the common terminal 12 and the gear shift slider 2. In specific settings, N2 can be less than or equal to N1, as Figure 3 , Figure 4 shown, in Figure 4 the secondary selection branch 33 and the main selection branch 31 are located on both sides of the common branch 32, the secondary selection terminal 14 and the main selection terminal 11 are located on both sides of the common terminal group K3, and the gear shift slider 2 can switch between the main selection terminals 11, switch between the secondary selection terminals 14, or switch between the main selection terminal 11 and the secondary selection terminal 14. Given that there are only N1 common terminals 12, the maximum number of secondary selection terminals 14 can also only be N1, which can be selected according to actual needs.

[0038] See Figures 1 to 6 , on the output side of the gear shift switch 1, there are connection terminals 13 arranged opposite to the main selection terminal 11, the common terminal 12, and the secondary selection terminal 14. All the connection terminals 13 are connected to the output line through wires.

[0039] As Figure 4 , Figure 5 shown, the structure of the gear shift switch 1 in the embodiment of the present application exemplarily adopts a symmetric structure, and the structures of the input side and the output side of the gear shift switch 1 are symmetrically arranged; when installing the gear shift switch 1, there is no need to distinguish between the input side and the output side, which is convenient for installation. Taking Figure 4Taking [Example] as an illustration, the input side of the gear shift switch 1 is provided with a main selection terminal K1, a main selection terminal K2, a common terminal group K3, and a secondary selection terminal K4. On the output side of the gear shift switch 1, there are respectively provided corresponding connection terminals 13, and the wiring mode of the common terminal group K3 is the same as that of the corresponding two connection terminals 13.

[0040] See Figure 7 、 Figure 8 ; The gear shift switch 1 includes a gear rotation block 4. The middle of the gear rotation block 4 is provided with a rotation shaft 7. The rotation shaft 7 is electrically connected to the output line of the gear shift switch 1. One side of the gear shift switch 1 is provided with N selection terminals 15, and the other side of the gear shift switch 1 is provided with N common terminals 12. The N common terminals 12 are connected by wires, or the other side of the gear shift switch 1 is provided with an arc-shaped piece. In this embodiment, the other side is provided with N common terminals 12; The gear circuit 3 includes N selection branches 34 and a common branch 32. One ends of the N selection branches 34 are respectively connected to the N common terminals 12 in one-to-one correspondence. One end of the common branch 32 is electrically connected to one of the common terminals 12 or connected to the arc-shaped piece. The selection branches 34 and the common branch 32 are respectively connected in series with several resistors, and the total resistance of any two selection branches 34 is different. The other end of the selection branch 34 is connected to the power supply VDD or grounded, and the other end of the common branch 32 is grounded or connected to the power supply VDD. The selection branch 34 is connected to the common branch 32 through the gear rotation block 4 to form a loop.

[0041] Figure 7 、 Figure 8 FIG. [Another figure number] is another schematic structural diagram of the gear shift switch 1. The gear shift switch 1 mainly includes a gear rotation block 4 located in the middle and a rotation shaft 7 connected thereto. Both the gear rotation block 4 and the rotation shaft 7 are conductors, preferably made of metal materials such as copper and aluminum; Figure 5 、 Figure 6 The structure is similar. Taking Figure 5 as an example for illustration, due to the setting of the gear rotation block 4 and the rotation shaft 7, when the gear rotation block 4 switches gears, it is completed by rotation. During rotation, one end of the gear rotation block 4 moves between the selection terminals 15, and the other end of the gear rotation block 4 is connected to the common terminal 12 or the arc-shaped piece. The selection branch 34 and the common branch 32 form a loop. Since the resistances of the selection branches 34 are different from each other, in the loop, the electric potentials of the rotation shaft 7 are different from each other, so that the electric potentials of the electrical signals output by the gear shift switch are different.

[0042] Embodiment 2: An electronic device includes the above-mentioned gear shift switch control circuit and a circuit board. The circuit board is provided with the gear circuit 3. Further, the control unit 6 is connected to a storage unit. The control unit 6 is also connected to a display unit.

[0043] The storage unit can be a memory, such as a FLASH memory chip; the display unit can be a display screen or a digital display tube, etc. In the technical solution of the present application, after receiving the voltage signal, the control unit 6 needs to determine the position of the gear switch 1 according to the voltage signal, and make corresponding controls in combination with the position of the gear switch 1. For this purpose, by way of example, the control unit 6 stores the gear information of the gear switch 1 and the voltage signal information in one-to-one correspondence by connecting to the storage unit. When the control unit 6 receives the electrical signal transmitted from the gear switch 1, the control unit 6 will retrieve the storage information of the storage unit, compare the electrical potential of the electrical signal, and obtain the corresponding gear information of the gear switch 1, so as to determine the position of the gear of the gear switch 1. And accordingly, corresponding control actions are made to send corresponding control signals to the actuator. Preferably, in order to make the gear position of the gear switch 1 visible, the control unit 6 in the embodiment of the present application is further connected to a display unit, and the display unit is preferably a display screen. After the control unit 6 determines the gear position of the gear switch 1, it will display the function corresponding to the gear position of the gear switch 1 on the display screen to facilitate understanding of the currently controlled function, such as the first gear heating function corresponding to the gear position of the gear switch 1.

[0044] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution is prior or subsequent. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0045] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A gear switch control circuit, characterized in that: It includes: A gear circuit, a gear switch, an analog-to-digital conversion circuit and a control unit are connected in sequence, the gear switch is provided with N gears, the gear circuit can output N voltage signals with a voltage difference between each other through the gear switch, each gear corresponds to a voltage signal, the control unit receives the voltage signal through the analog-to-digital conversion circuit, and determines the position of the gear switch according to the voltage signal, N>1 and is a natural number.

2. The gear switch control circuit according to claim 1, characterized in that: The gear circuit includes a common branch and N1 main selection branches. The common branch and each main selection branch are connected in series with a number of resistors and the total resistance of any two main selection branches is different. The gear switch is provided with a gear slider, one end of the gear slider is electrically connected to the common branch, and the other end of the gear slider is switched to be electrically connected to the main selection branch when shifting gears; the common branch forms a loop with one of the main selection branches through the gear slider, the output side of the gear switch is connected to an output line, and the output line is electrically connected to the gear slider; N1>1 and is a natural number.

3. The gear switch control circuit according to claim 2, characterized in that: The input side of the gear switch is provided with N1 common terminals and N1 main selection terminals, and the N1 common terminals are connected in common through wires; the main selection terminal and the common terminal are respectively located at the two ends of the input side of the gear switch; the gear slider is provided with two abutment terminals, and the two abutment terminals are respectively abutted with a main selection terminal and a corresponding common terminal; one end of the common branch is connected to one of the common terminals, and one end of the main selection branch is connected to a main selection terminal in a one-to-one correspondence.

4. The gear switch control circuit according to claim 3, characterized in that: The input side of the gear switch is also provided with N2 auxiliary selection terminals, and the gear circuit also includes N2 auxiliary selection branches, the auxiliary selection branches are connected in series with a number of resistors, the auxiliary selection branches and the main selection branches are both selection branches, the total resistance of any two selection branches is different, the auxiliary selection terminal and the main selection terminal are respectively located on both sides of the common terminal, and the common branch forms a loop with one of the selection branches through the gear slider; N2 is less than or equal to N1, and N2 is a natural number.

5. The gear switch control circuit according to claim 4, characterized in that: The output side of the gear switch is provided with a connecting end arranged opposite to the main selection end, the common end and the auxiliary selection end, and all the connecting ends are connected to the output line through a wire.

6. The gear switch control circuit according to claim 1, characterized in that: The gear switch includes a gear rotating block, a rotating shaft is provided in the middle of the gear rotating block, the rotating shaft is electrically connected to the output line of the gear switch, N selection terminals are provided on one side of the gear switch, and N common terminals are provided on the other side of the gear switch, the N common terminals are connected through wires, or an arc-shaped piece is provided on the other side of the gear switch, the gear circuit includes N selection branches and one common branch, one end of the N selection branches is connected to the N common terminals one by one, one end of the common branch is electrically connected to one of the common terminals or connected to the arc-shaped piece, the selection branch and the common branch are respectively connected in series with a number of resistors, and the total resistance of any two selection branches is different, and the selection branch is connected to the common branch through the gear rotating block to form a loop.

7. The gear switch control circuit according to claim 6, characterized in that: The other end of the selection branch is connected to the power supply VDD or is grounded, and the other end of the common branch is grounded or connected to the power supply VDD.

8. An electronic device, characterized in that: It comprises the gear switch control circuit and a circuit board as described in any one of claims 1 to 7, and the circuit board is provided with a gear circuit of the gear switch control circuit.

9. The electronic device according to claim 8, characterized in that: The control unit is connected with a storage unit.

10. The electronic device according to claim 9, characterized in that: The control unit is connected with a display unit.