Encoder and input device

By setting three-part conductive and empty connections in the wireless mouse encoder, we ensure that the wireless mouse does not have three pins on at the same time in any conduction state, solving the leakage problem of wireless mouse in sleep state and improving battery life and sensitivity.

CN223092735UActive Publication Date: 2025-07-11张永业
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422300312.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-07-11
Estimated Expiration
2034-09-19

AI Technical Summary

Technical Problem

When the existing wireless mouse enters sleep, it leaks due to the encoder's external interruption and wakes up, which affects the battery life.

Method used

An encoder is designed, with three contact terminals on the switch element, and the three pins of the electrical code disk alternately set up the conductive part and the empty connection part to form a three-part on-break chain area. When the switch element rotates around the ring area, six continuous conduction states are generated to avoid the three pins being turned on at the same time, and ensure that the wireless mouse can be awakened by external interrupts in any conduction state.

Benefits of technology

It effectively avoids the risk of leakage in the sleep state of wireless mouse, improves battery life, and improves the sensitivity of the encoder and the accuracy of the wheel rotation judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223092735U_ABST
    Figure CN223092735U_ABST
Patent Text Reader

Abstract

The utility model provides an encoder and input equipment, and relates to the technical field of encoders. The encoder comprises an electric code disc provided with a circular ring area, a first pin, a second pin and a third pin, and a switching piece used for rotating relative to the electric code disc along the circular ring area. The three contact ends of the switching piece are trisected in the circular ring area, the first pin is alternately provided with a first conductive part and a first empty connecting part to form a first on-off chain area, and the second pin is alternately provided with a second conductive part and a second empty connecting part to form a second on-off chain area; the third pin is alternately provided with a third conductive part and a third empty connection part to form a third on-off chain area, and the three on-off chain areas are trisected in the circular ring area. According to the encoder provided by the invention, the situation that the three pins are switched on at the same time when the wireless mouse enters sleep in any switching-on state is avoided, so that the wireless mouse can be awakened from sleep by external interruption, and the risk of electric leakage during sleep is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of encoders, and particularly to an encoder and an input device. Background Art

[0002] A wireless mouse is an input device that automatically enters a sleep state when not in use to save power. When the scroll wheel is scrolled, an external interrupt needs to be detected to wake up in order to respond in a timely manner to the scrolling operation of the mechanical encoder.

[0003] In the prior art, the electrical code disk of the encoder is provided with three pins. Conductive parts and non-connected parts are alternately arranged on the first pin and the second pin. The conductive parts are used to contact the contact ends provided on the switching member of the encoder, and the non-connected parts are used to avoid the contact ends of the switching member. The third pin serves as a common terminal and is in contact with the switching member throughout the process. When the switching member rotates by a signal phase cycle angle, four consecutive conduction states will be generated: the third pin is conducting; the third pin and the first pin are conducting; the first pin, the second pin, and the third pin are conducting simultaneously; the third pin and the second pin are conducting. However, in the case where the first pin, the second pin, and the third pin are conducting simultaneously, if the wake-up effect needs to be achieved, the first pin and the second pin must be set to the input state and maintain a level opposite to that of the third pin before the wireless mouse enters the sleep state. In this way, after the scroll wheel is scrolled, a high-low level change can be generated to trigger an external interrupt to wake up. At this time, since the first pin and the second pin are respectively at a level opposite to that of the third pin and are conducting simultaneously, even if a resistor with a relatively large resistance is connected in series in the middle, a leakage phenomenon will inevitably occur. If the wireless mouse enters the sleep state in this state, it will leak electricity for a long time, thus affecting the battery life of the wireless mouse. Summary of the Utility Model

[0004] In view of this, the purpose of this application is to provide an encoder and an input device, aiming to solve the technical problem of leakage caused by the need for external interrupt wake-up of the encoder when the wireless mouse enters the sleep state.

[0005] To achieve the above purpose, the technical solution adopted in this application is as follows:

[0006] In a first aspect, an embodiment of this application provides an encoder, including:

[0007] A switching member provided with three contact ends;

[0008] An electrical code disk has an annular region, and the three contact ends are equally spaced in the annular region. The electrical code disk includes a first pin, a second pin, and a third pin. The first pin is alternately provided with a first conductive portion and a first non-connected portion to form a first on-off chain region. The second pin is alternately provided with a second conductive portion and a second non-connected portion to form a second on-off chain region. The third pin is alternately provided with a third conductive portion and a third non-connected portion to form a third on-off chain region. The first on-off chain region, the second on-off chain region, and the third on-off chain region are equally spaced in the annular region. The switching member is used to rotate relative to the electrical code disk along the annular region;

[0009] When the switching member rotates relative to the electrical code disk along the annular region by a signal phase cycle angle around a preset direction, the following six consecutive conduction states are generated: the second pin and the third pin are conducted; the second pin is conducted or no pin is conducted; the first pin and the second pin are conducted; the first pin is conducted or no pin is conducted; the first pin and the third pin are conducted; the third pin is conducted or no pin is conducted.

[0010] In one embodiment of the first aspect, the number of the second conductive portions and the number of the second non-connected portions are each four, and the sum of the angle occupied by one second conductive portion in the annular region and the angle occupied by one second non-connected portion in the annular region is 30°.

[0011] In one embodiment of the first aspect, the angle occupied by each second conductive portion in the annular region is 17°, and the angle occupied by each second non-connected portion in the annular region is 13°.

[0012] In one embodiment of the first aspect, the angle occupied by each contact end in the annular region is less than or equal to 2°.

[0013] In one embodiment of the first aspect, the number of the first conductive portions is four, the number of the first non-connected portions is five, the number of the third conductive portions is five, and the number of the third non-connected portions is four.

[0014] In a second aspect, an embodiment of the present application further provides an input device, including the encoder in any of the above embodiments.

[0015] The beneficial effects of the present application are:

[0016] The encoder provided by the present application includes a switching member and an electrical code disk. Since there are three contact terminals provided on the switching member, and the three contact terminals are equally spaced in the circular ring area position of the electrical code disk. At the same time, a first conductive part and a first non-connected part are alternately arranged on the first lead of the electrical code disk to form a first on-off chain area, a second conductive part and a second non-connected part are alternately arranged on the second lead to form a second on-off chain area, and a third conductive part and a third non-connected part are alternately arranged on the third lead to form a third on-off chain area. The positions of the first on-off chain area, the second on-off chain area, and the third on-off chain area in the circular ring area are equally spaced. In this way, when the switching member rotates relative to the electrical code disk by a signal phase cycle angle along the circular ring area in a preset direction, six consecutive conduction states can be generated: the second lead and the third lead are conductive; the second lead is conductive or no lead is conductive; the first lead and the second lead are conductive; the first lead is conductive or no lead is conductive; the first lead and the third lead are conductive; the third lead is conductive or no lead is conductive. The wireless mouse configured with this encoder will not have the situation where all three leads are conductive when entering the sleep state in any conduction state. Therefore, not only can the wireless mouse be awakened from the sleep state by an external interrupt, but also the risk of leakage current generated by the wireless mouse in the sleep state is reduced, and the battery life of the wireless mouse is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation of the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0018] Figure 1 Shows an exploded structural schematic diagram of the encoder in some embodiments of the present application;

[0019] Figure 2 Shows a structural schematic diagram of the switching member in some embodiments of the present application;

[0020] Figure 3 Shows a perspective structural schematic diagram of the electrical code disk in some embodiments of the present application;

[0021] Figure 4 Shows another perspective structural schematic diagram of the electrical code disk in some embodiments of the present application;

[0022] Figure 5 Shows an equivalent unfolded conduction schematic diagram of the electrical code disk and the switching member in some embodiments of the present application;

[0023] Figure 6Shows the equivalent process of the switching member and the electrical code disk when the switching member rotates by a signal phase cycle angle around a preset direction in some embodiments of the present application Figure 1 ;

[0024] Figure 7 Shows the equivalent process of the switching member and the electrical code disk when the switching member rotates by a signal phase cycle angle around a preset direction in some embodiments of the present application Figure 2 ;

[0025] Figure 8 Shows the equivalent process of the switching member and the electrical code disk when the switching member rotates by a signal phase cycle angle around a preset direction in some embodiments of the present application Figure 3 ;

[0026] Figure 9 Shows the equivalent process of the switching member and the electrical code disk when the switching member rotates by a signal phase cycle angle around a preset direction in some embodiments of the present application Figure 4 ;

[0027] Figure 10 Shows the equivalent process of the switching member and the electrical code disk when the switching member rotates by a signal phase cycle angle around a preset direction in some embodiments of the present application Figure 5 ;

[0028] Figure 11 Shows the equivalent process of the switching member and the electrical code disk when the switching member rotates by a signal phase cycle angle around a preset direction in some embodiments of the present application Figure 6 ;

[0029] Figure 12 Shows the structural schematic diagram of the electrical code disk in the prior art.

[0030] Main component symbol description:

[0031] Main component symbol description in the present application:

[0032] 1000 - Encoder; 100 - Electrical code disk; 101 - Ring area; 110 - First pin; 111 - First conductive part; 112 - First non - conductive part; 120 - Second pin; 121 - Second conductive part; 122 - Second non - conductive part; 130 - Third pin; 131 - Third conductive part; 132 - Third non - conductive part; 200 - Switching member; 210 - Ring - shaped rotating body; 220 - Elastic arm; 221 - Contact end; 300 - Rotating member; 310 - Rotating part; 320 - Limiting part; 321 - Gear slot; 400 - Gear member; 410 - Clamping part; 500 - First housing; 600 - Second housing; x - Preset direction;

[0033] Description of the main component symbols in the prior art: 700 - First pin; 800 - Second pin; 900 - Third pin. Detailed implementation manners

[0034] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and should not be construed as a limitation to the present application.

[0035] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying 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 construed as a limitation to the present application.

[0036] In addition, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality" means two or more unless otherwise specifically defined.

[0037] In the present application, unless otherwise clearly specified and defined, the terms "mounted", "connected", "connected to", "fixed", etc. should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.

[0038] In this application, unless otherwise clearly specified and defined, the first feature being "on" or "under" the second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "below" and "beneath" the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply indicates that the first feature has a lower horizontal height than the second feature.

[0039] As Figure 12 shown, in the prior art, the electrical code disk of the encoder is provided with three pins. Conductive parts and non-connected parts are alternately arranged on both the first pin 700 and the second pin 800. The conductive parts are used to contact the contact ends arranged on the switching parts of the encoder to achieve the conduction of the corresponding pins, and the non-connected parts are used to avoid the contact ends of the switching parts to achieve the disconnection of the corresponding pins. The third pin 900 serves as a common terminal and is in contact with the switching part throughout. When the switching part rotates by an angle of a signal phase cycle, four consecutive conduction states will be generated: the third pin 900 is conductive; the third pin 900 and the first pin 700 are conductive; the first pin 700, the second pin 800 and the third pin 900 are conductive simultaneously; the third pin 900 and the second pin 800 are conductive. The wireless mouse processes and obtains the rolling direction and the number of rolling times of the roller by detecting the above four conduction states. Because of the characteristic that the third pin 900 of the existing encoder is in conductive contact throughout, among the above four conduction states, there is a situation where three pins are conductive simultaneously, that is, the first pin 700, the second pin 800 and the third pin 900 are conductive simultaneously. However, in the case where the first pin 700, the second pin 800 and the third pin 900 are conductive simultaneously, if the wake-up effect needs to be achieved, the first pin 700 and the second pin 800 must be set to the input state and maintain a level opposite to that of the third pin 900 before the wireless mouse enters the sleep state. In this way, after the roller is scrolled, a high-low level change can be generated to trigger an external interrupt to wake up. At this time, since the first pin 700 and the second pin 800 are respectively at opposite levels to the third pin 900 and are conductive simultaneously, even if a resistor with a relatively large resistance is connected in series in the middle, the leakage phenomenon is inevitable. If the wireless mouse enters the sleep state in this state, it will leak electricity for a long time, thus affecting the battery life of the wireless mouse.

[0040] Meanwhile, since there is a possibility of poor contact when the contact end of the switching member makes sliding contact with the electrical code disk. For example, when the switching member rotates, in the state where the third pin 900 and the first pin 700 are conducting, due to poor contact, only the third pin 900 may conduct. Another example is that in the state where the third pin 900 and the second pin 800 are conducting, due to poor contact, only the third pin 900 may conduct. Therefore, the wireless mouse cannot determine a roll every time a change in the conducting state is captured. To avoid misjudgment caused by poor contact, the wireless mouse determines a roll for changes in the two conducting states of all three pins conducting simultaneously and the third pin 900 conducting, and uses the changes in the two conducting states of the third pin 900 and the first pin 700 conducting and the third pin 900 and the second pin 800 conducting as a reference for judging the rolling direction. Taking 30° of rotation as a signal phase cycle angle as an example, when the switching member rotates 30°, the wireless mouse determines that it has scrolled two grids; when the switching member rotates 120°, the wireless mouse determines that it has scrolled eight grids; when the switching member rotates 360°, the wireless mouse determines that it has scrolled twenty-four grids. The number of rotatable grids that can be determined is relatively small, and the sensitivity is poor.

[0041] As Figures 1 to 4 shown, to solve the above technical problems, an embodiment of the present application provides an encoder 1000, including an electrical code disk 100 and a switching member 200.

[0042] Among them, three contact ends 221 are provided on the switching member 200. The electrical code disk 100 has an annular region 101. The positions of the three contact ends 221 in the annular region 101 are arranged in a trisected manner. The electrical code disk 100 includes a first pin 110, a second pin 120, and a third pin 130. First conductive portions 111 and first non-conductive portions 112 are alternately arranged on the first pin 110 to form a first on-off chain region. Second conductive portions 121 and second non-conductive portions 122 are alternately arranged on the second pin 120 to form a second on-off chain region. Third conductive portions 131 and third non-conductive portions 132 are alternately arranged on the third pin 130 to form a third on-off chain region. The first on-off chain region, the second on-off chain region, and the third on-off chain region are arranged in a trisected manner in the annular region 101. The switching member 200 is used to rotate relative to the electrical code disk 100 along the annular region 101. When the switching member 200 rotates relative to the electrical code disk 100 by a signal phase cycle angle along the annular region 101 around a preset direction x, the following six consecutive conducting states are generated: the second pin 120 and the third pin 130 are conducting; the second pin 120 is conducting or no pins are conducting; the first pin 110 and the second pin 120 are conducting; the first pin 110 is conducting or no pins are conducting; the first pin 110 and the third pin 130 are conducting; the third pin 130 is conducting or no pins are conducting.

[0043] It should be noted that each of the above conductive parts is used to contact the contact end 221 of the switching member 200 to achieve the conduction between the corresponding pin and the switching member 200. Each of the above non-contact parts is used to avoid the contact end 221 to achieve the disconnection between the corresponding pin and the switching member 200. Exemplarily, the non-contact part can be a through hole, a groove, etc., and no specific limitation is made here. The sum of the angle occupied by one conductive part in the circular ring area 101 and the angle occupied by one non-contact part in the circular ring area 101 is a signal phase cycle angle. The statement that "the three contact ends 221 are arranged in a trisected manner in the circular ring area 101" means that the angle formed between two adjacent contact ends 221 is 120°; the statement that "the first on-off chain area, the second on-off chain area, and the third on-off chain area are arranged in a trisected manner in the circular ring area 101" means that the angle occupied by each on-off chain area in the circular ring area 101 is 120°. For the convenience of description, the angles mentioned below are all described in terms of the angles occupied in the circular ring area 101. In addition, the function of the above switching member 200 can be regarded as the connecting wire of the above three pins.

[0044] It can be understood that for the encoder 1000 provided in this embodiment, since there are three contact ends 221 provided on the switching member 200, and the three contact ends 221 are arranged in a trisected manner at the position of the circular ring area 101 of the electrical code disk 100. At the same time, the first conductive part 111 and the first non-contact part 112 are alternately arranged on the first pin 110 of the electrical code disk 100 to form the first on-off chain area, the second conductive part 121 and the second non-contact part 122 are alternately arranged on the second pin 120 to form the second on-off chain area, and the third conductive part 131 and the third non-contact part 132 are alternately arranged on the third pin 130 to form the third on-off chain area. The first on-off chain area, the second on-off chain area, and the third on-off chain area are arranged in a trisected manner at the position of the circular ring area 101. In this way, combined with Figure 5 and Figure 6 shown, when the switching member 200 rotates relative to the electrical code disk 100 by a signal phase cycle angle along the circular ring area 101 around the preset direction x, six continuous conduction states can be generated: as Figure 6 shown, the second pin 120 and the third pin 130 are conducted; as Figure 7 shown, the second pin 120 is conducted or no pin is conducted; as Figure 8 shown, the first pin 110 and the second pin 120 are conducted; as Figure 9 shown, the first pin 110 is conducted or no pin is conducted; as Figure 10 shown, the first pin 110 and the third pin 130 are conducted; as Figure 11The third pin 130 shown is conducting or no pins are conducting. Among them, the three states of two-by-two conduction are the main states, and the three states of only one pin conducting or no pins conducting are the transition states. It can be seen that the three transition states are interspersed among the three main states. For a wireless mouse configured with this encoder 1000, when entering sleep in any conducting state, the situation where all three pins conduct simultaneously will not occur. Thus, not only can the wireless mouse be awakened from sleep by an external interrupt, but also the risk of leakage current generated in the sleep state of the wireless mouse is reduced, improving the battery life of the wireless mouse.

[0045] The following provides an exemplary embodiment for further illustration:

[0046] There is no phase difference in the second on-off chain region of the second pin 120. A total of four second conductive parts 121 and four second non-conductive parts 122 are provided, that is, the number of second conductive parts 121 and the number of second non-conductive parts 122 are each four. One signal phase cycle includes one conductive part and one non-conductive part. Therefore, the second on-off chain region has four signal phase cycles. The angle of each signal phase cycle occupying the circular ring region 101 is 30°. The angle of one second conductive part 121 occupying the circular ring region 101 is 17°, and the angle of one second non-conductive part 122 occupying the circular ring region 101 is 13°. The sum of the angle of one second conductive part 121 occupying the circular ring region 101 and the angle of one second non-conductive part 122 occupying the circular ring region 101 is 30°. Similarly, the first on-off chain region and the third on-off chain region also have four conductive parts and four non-conductive parts, that is, the original number of first conductive parts 111, the number of first non-conductive parts 112, the number of third conductive parts 131, and the number of third non-conductive parts 132 are also each four. Only due to the phase difference, the starting ends of the first pin 110 and the second pin 120 will move forward and backward. Specifically, as Figure 5 shown, the overall phase of the first on-off chain region of the first pin 110 moves backward by 10°, and the 10° of the first non-conductive end that moves backward is filled in front of the foremost first conductive part 111. The overall phase of the third on-off chain region of the third pin 130 moves forward by 10°, and the 10° of the third conductive part 131 that moves forward is filled behind the last third non-conductive part 132. Therefore, continue to refer to Figure 5, after being split by moving the phase forward and backward, the number of the first conductive parts 111 is four, the number of the first open-circuit parts 112 is five (one for the first 10°, three in the middle, and one for the last 3°), the number of the third conductive parts 131 is five (one for the first 7°, three in the middle, and one for the last 10°), and the number of the third open-circuit parts 132 is four. The switching part 200 is a bridge that simultaneously conducts the first pin 110, the second pin 120, and the third pin 130. Its contact end 221 has a certain processing width. When the processing accuracy permits, the angle occupied by each contact end 221 in the circular ring area 101 is less than or equal to 2°. Taking the preset direction x and a signal phase cycle angle of 30° as an example, the following further illustrates six conduction states.

[0047] As Figure 6 shown, it should be noted that in this embodiment, the first state is that the switching part 200 rotates to the area of 0° to 7° of the circular ring area 101, and at this time, the second pin 120 and the third pin 130 are conducted. As Figure 7 shown, the second state is that the switching part 200 rotates to the area of 7° to 10° of the circular ring area 101. This area is 3° in total, which is larger than the angle of 2° occupied by the contact end 221 in the circular ring area 101. Therefore, when the contact end 221 of the switching part 200 just enters this area, the second pin 120 and the third pin 130 are still conducted. As the switching part 200 continues to rotate around the preset direction x until the contact end 221 of the switching part 200 completely enters this 3° area, only the second pin 120 is conducted. Since the angle occupied by the contact end 221 of the switching part 200 in the circular ring area 101 is related to the processing accuracy and is a variable value not greater than 2°, for the sake of simplified description, this 3° area is considered to be in the state where only the second pin 120 is conducted. In this area, the switching part 200 is conducted with the second pin 120 but is disconnected from the first pin 110 and the third pin 130. Therefore, whether there is a conductive part of the second pin 120 in this 3° area does not affect the result that the three pins are not conducted with each other. Considering that the contact end 221 of the second pin 120 exists in the two pairwise conduction states before and after, for the sake of simplifying the processing of the electrical code disk 100, the second conductive part 121 of the second pin 120 is retained in this area.

[0048] As Figure 8 shown, the third state is that the switching part 200 rotates to the area of 10° to 17° of the circular ring area 101, and at this time, the first pin 110 and the second pin 120 are conducted. As Figure 9 shown, the fourth state is that the switching part 200 rotates to the area of 17° to 20° of the circular ring area 101, and at this time, only the first pin 110 is conducted. As Figure 10As shown, the fifth state is that the switching member 200 rotates to the area of 20° to 27° in the circular ring area 101, and at this time, the first pin 110 and the third pin 130 are conducted. As Figure 11 shown, the sixth state is that the switching member 200 rotates to the area of 27° to 30° in the circular ring area 101, and at this time, only the third pin 130 is conducted.

[0049] It should be understood that for the second state (only the second pin 120 is conducted), the fourth state (only the first pin 110 is conducted), and the sixth state (only the third pin 130 is conducted) in the above exemplary embodiments, it may also be the case where no pin is conducted. In another exemplary embodiment, three transition states where no pin is conducted are interspersed between the main states where two pins are conducted pairwise, and the effect of avoiding leakage during sleep can also be achieved. For example, in the second state, the switching member 200 rotates to the area of 7° to 10° in the circular ring area 101, and a second non-conductive portion 122 can be inserted in this 3° area. Then, in the second state, no pin is conducted. Another example is that in the fourth state, the switching member 200 rotates to the area of 17° to 20° in the circular ring area 101, and a first non-conductive portion 112 can be inserted in this 3° area. Then, in the fourth state, no pin is conducted. Another example is that in the sixth state, the switching member 200 rotates to the area of 27° to 30° in the circular ring area 101, and a third non-conductive portion 132 can be inserted in this 3° area. Then, in the sixth state, no pin is conducted.

[0050] It can be understood that in this embodiment, if it is necessary to achieve a state where no pin is conducted, the number of non-conductive portions and conductive portions of each pin needs to be increased. Four more non-conductive portions and four more conductive portions need to be added to each non-conductive portion and each conductive portion of each pin. That is, the number of the first conductive portions 111 is eight, the number of the first non-conductive portions 112 is nine, the number of the second conductive portions 121 is eight, the number of the second non-conductive portions 122 is eight, the number of the third conductive portions 131 is nine, and the number of the third non-conductive portions 132 is eight.

[0051] It should be noted that the encoder 1000 provided in this embodiment, in addition to not having the situation where three pins are conducted simultaneously and improving the battery life of the wireless mouse, also has the following beneficial effects:

[0052] When the roller rotates to one of the three main states of two-by-two conduction, only an external interrupt wake-up is needed. After triggering once, the direction of rotation of the roller and the operation of one grid rotation of the roller can be determined according to the pin that triggers the interrupt wake-up. When the roller rotates to one of the three transition states, because the transition state is a state where all three pins are disconnected, in this state, the levels of the three pins do not change, and the external interrupt wake-up will not be triggered, so the wireless mouse will not respond to these three transition states. In the three main states of two-by-two conduction, due to the poor contact between the contact end 221 of the switching element 200 and the electrical code disk 100, the state of two-by-two conduction will also produce a situation similar to the transition state where all three pins are disconnected. In this case, the wireless mouse will not trigger an external interrupt wake-up, thereby reducing the possibility of misjudgment caused by increased noise in the encoder after long-term use of the wireless mouse, and effectively extending the service life of the wireless mouse. It should be noted that when the encoder 1000 is applied to a wired mouse, the above effect can also be achieved.

[0053] When the roller rotates to the next two-by-two conductive state area, because only one level change needs to be triggered, and multiple detections or multiple triggers are not required to obtain the result of one grid rotation, the conductive part corresponding to this two-by-two conductive state area can be designed to be relatively narrow in width. Therefore, each conductive part and each empty connection can be designed to occupy a smaller angle range of the annular area 101. In addition, the rotation amplitude of the switching member 200 is the angle range of a conductive part and an empty connection, that is, a signal phase cycle angle, which can determine that the roller rotates three grids. This increases the number of rotation grids that can be determined when the roller rotates one circle (360°), which effectively improves the sensitivity of the encoder 1000.

[0054] It should be noted that, in the description of this specification, terms such as the first pin 110, the second pin 120, and the third pin 130 are only used to distinguish one of the pins from the other pins, and do not necessarily require or imply any order between these pins. It should be understood that the disclosed on-off chain area of ​​each pin includes four signal phase cycles, and each phase cycle occupies an angle of 30° in the annular area 101, which is merely exemplary and is not intended to limit the present application. The number of signal phase cycles contained in the on-off chain area of ​​each pin and the angle occupied by each phase cycle in the annular area 101 are determined by the number of rotation grids required for the roller to rotate one circle and the processing accuracy. The contact on-off chain area of ​​a pin may include one or more signal phase cycles, and the angle occupied by each signal phase cycle in the annular area 101 is equal to 120° divided by the number of signal phase cycles.

[0055] It should be understood that there is no phase difference in the second on-off chain area of the second pin 120 disclosed in this specification. In one signal phase cycle, the second conductive part 121 of the second pin 120 is designed to occupy an angle of 17° in the circular ring area 101, and the second non-connected part 122 is designed to occupy an angle of 13° in the circular ring area 101. The phase of the first on-off chain area of the first pin 110 is shifted backward by 10°, and the phase of the third on-off chain area of the third pin 130 is shifted forward by 10°. This is only exemplary and does not limit this application. In one signal phase cycle, the phase difference of the on-off chain areas of the three pins respectively, and the design of the angles occupied by the conductive part and the non-connected part in the circular ring area 101 are determined according to whether the angles occupied by the six consecutive conduction states generated when the switching member 200 rotates one signal phase cycle angle along the circular ring area 101 of the electrical code disk 100 are reasonable. For those skilled in the art, adjusting the angles occupied by the six conduction states in one signal phase cycle angle in the circular ring area 101 all fall within the protection scope of this application.

[0056] As Figure 2 shown, in one embodiment, the switching member 200 includes an annular rotating body 210 and three elastic arms 220. The three elastic arms 220 are arranged at intervals along the outer peripheral side of the annular rotating body 210, and each elastic arm 220 is provided with a contact end 221.

[0057] In this embodiment, by providing the elastic arms 220, an elastic force can be provided for the contact between the contact end 221 and the conductive part, so that the contact end 221 can contact the conductive part more stably to achieve the conduction of the corresponding pin, reducing the possibility of misjudgment of the wireless mouse.

[0058] As Figure 1 、 Figure 2 and Figure 4 shown, in one embodiment, the encoder 1000 further includes a rotating member 300. The switching member 200 is connected to the rotating member 300, and the rotating member 300 is used to drive the switching member 200 to rotate relative to the electrical code disk 100 along the circular ring area 101.

[0059] In this embodiment, by setting the rotating member 300 to be connected to the roller of the wireless mouse, when the user scrolls the roller, the rotating member 300 can drive the switching member 200 to rotate relative to the electrical code disk 100 along the circular ring area 101.

[0060] As Figure 1 shown, further, the encoder 1000 further includes a gear member 400. A clamping portion 410 is provided on one side of the gear member 400 facing the switching member 200, and a plurality of gear slots 321 are formed on the rotating member 300 and arranged away from the switching member 200. Each gear slot 321 can be engaged with the clamping portion 410.

[0061] In this embodiment, since the encoder 1000 also includes a shift member 400, a snap-fitting portion 410 is provided on the side of the shift member 400 facing the switching member 200, and a plurality of shift slots 321 arranged away from the switching member 200 are provided on the rotating member 300, and each shift slot 321 can be snapped with the snap-fitting portion 410. In this way, when the rotating member 300 rotates by a preset angle relative to the electrical code disk 100, the snap-fitting portion 410 slides out from one shift slot 321 and snaps into another adjacent shift slot 321, so that a sense of paragraph can be generated when the user scrolls the roller.

[0062] like Figure 1 As shown, further, the encoder 1000 also includes a first shell 500 and a second shell 600 connected to each other, and the first shell 500 and the second shell 600 jointly define a accommodating cavity, and the gear member 400, the rotating member 300, the switching member 200 and the electrical code disk 100 are respectively accommodated in the accommodating cavity, the electrical code disk 100 is connected to the second shell 600, the gear member 400 is connected to the first shell 500, the rotating member 300 includes a rotating part 310 and a limiting part 320, the rotating part 310 is rotatably arranged on the gear member 400, the switching member 200 and the electrical code disk 100, and the rotating part 310 is rotatably connected to the first shell 500 and the second shell 600, respectively, the limiting part 320 is arranged along the outer peripheral side of the rotating part 310, and a plurality of gear slots 321 are opened, and the switching member 200 is connected to the limiting part 320.

[0063] In this embodiment, the first housing 500 and the second housing 600 are provided to facilitate the installation of the shift member 400, the rotating member 300, the switching member 200 and the electrical code disk 100, and to protect the above-mentioned components. The rotating portion 310 of the rotating member 300 is used to connect the roller. When the user rolls the roller, the rotating member 300 can drive the switching member 200 to rotate relative to the electrical code disk 100 along the annular area 101 through the limiting portion 320.

[0064] In a second aspect, an embodiment of the present application provides an input device, comprising the encoder 1000 in any embodiment of the first aspect described above.

[0065] It can be understood that since the input device provided in this embodiment has the encoder 1000 in any of the above embodiments, it has all the beneficial effects of the encoder 1000, which will not be described in detail here.

[0066] It should be understood that for the convenience of description, this specification mainly takes the encoder 1000 applied in a wireless mouse as an example for illustration. The above embodiments related to the wireless mouse are only exemplary applications and should not be construed as limitations on this application. The application of the encoder 1000 in this application is not limited to wireless mice and can also be applied to other input devices, such as wired mice and game pads. Of course, it can also be applied to other devices that may use the encoder 1000, which will not be elaborated here one by one.

[0067] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0068] Although the embodiments of this application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on this application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. An encoder, characterized in that, Comprising: A switching member provided with three contact terminals; An electrical code disk having a circular ring region, the positions of the three contact terminals in the circular ring region being equally divided, the electrical code disk including a first pin, a second pin and a third pin, a first conductive portion and a first non-connected portion being alternately arranged on the first pin to form a first on-off chain region, a second conductive portion and a second non-connected portion being alternately arranged on the second pin to form a second on-off chain region, a third conductive portion and a third non-connected portion being alternately arranged on the third pin to form a third on-off chain region, the positions of the first on-off chain region, the second on-off chain region and the third on-off chain region in the circular ring region being equally divided, the switching member being used to rotate relative to the electrical code disk along the circular ring region; When the switching member rotates relative to the electrical code disk along the circular ring region by a signal phase cycle angle around a preset direction, the following six consecutive conduction states are generated: the second pin and the third pin are conducted; the second pin is conducted or no pin is conducted; the first pin and the second pin are conducted; the first pin is conducted or no pin is conducted; the first pin and the third pin are conducted; the third pin is conducted or no pin is conducted.

2. The encoder according to claim 1, characterized in that, The number of the second conductive portions and the number of the second non-connected portions are each four, and the sum of the angle occupied by one second conductive portion in the circular ring region and the angle occupied by one second non-connected portion in the circular ring region is 30°.

3. The encoder according to claim 2, characterized in that The angle occupied by each second conductive portion in the circular ring region is 17°, and the angle occupied by each second non-connected portion in the circular ring region is 13°.

4. The encoder according to claim 1, characterized in that, The angle occupied by each contact terminal in the circular ring region is less than or equal to 2°.

5. The encoder according to claim 1, wherein The number of the first conductive portions is four, the number of the first non-connected portions is five, the number of the third conductive portions is five, and the number of the third non-connected portions is four.

6. An input device, characterized in that, An encoder according to any one of claims 1 to 5.