A magnetic roller device and a method for calculating rotation information thereof
By using multi-pole magnets and Hall components in handwriting devices with the MCU's magnetic roller device and rotation information calculation method, the problems of large mechanical rollers and easy interference of touch rollers in handwriting devices are solved, achieving a small size, easy to interfere with, and Low false-touch rate and good production consistency.
Patent Information
- Application Number
- CN201810062126.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-01-23
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2038-01-23
AI Technical Summary
The mechanical rollers in existing handwriting devices are large and take up a lot of space. The touch rollers are easily disturbed and have poor production consistency.
Using multi-pole magnets and Hall components with MCU, through the magnetic roller device and rotation information calculation method, the data adjustment and rotation information acquisition of handwriting equipment are realized. It is small in size, not easy to be interfered, has a low false touch rate and has good production consistency.
It overcomes the shortcomings of the large size of the mechanical roller and the problem that the touch roller is easy to be interfered and accidentally touched, and achieves the effects of the magnetic roller device being small in size, difficult to interfere, low in accidental touches and good in production consistency.
Smart Images

Figure CN108152525B
Abstract
Description
Technical Field
[0001] The invention relates to the field of handwriting equipment, in particular to a magnetic roller device and a rotation information calculation method thereof. Background Art
[0002] In the tablet market, scroll wheels are widely used. Scroll wheels are generally used for continuous data adjustment, which is very convenient and intuitive to use. Currently, commonly used scroll wheels mainly include mechanical scroll wheels and touch scroll wheels. Although mechanical scroll wheels have stable characteristics, they are large in size and occupy a lot of circuit board space; while touch scroll wheels are relatively thin, they are easily interfered with and accidentally touched, and there are problems such as poor production consistency. Summary of the invention
[0003] In order to solve the above technical problems, the purpose of the present invention is to provide a magnetic roller device and a rotation information calculation method thereof which is small in size, not easily interfered with, has a low false touch rate and good production consistency.
[0004] The first technical solution adopted by the present invention is:
[0005] A magnetic roller device comprises a multi-pole magnet, an MCU, a plurality of Hall components and a roller arranged on a handwriting device, wherein the multi-pole magnet is arranged on the roller and comprises at least one pair of magnetic poles with opposite polarities, and the output ends of the plurality of Hall components are all connected to the input end of the MCU.
[0006] Furthermore, the multiple Hall components are all located on the same plane of the magnetic field sensing space of the multi-pole magnet, and the distances between the multiple Hall components and the multi-pole magnet are equal.
[0007] Furthermore, the distance between two adjacent Hall components in the plurality of Hall components is smaller than half the width of each magnetic pole in the multi-pole magnet.
[0008] Furthermore, the rotation direction of the multi-pole magnet is perpendicular or parallel to the position of each Hall component.
[0009] Furthermore, the multi-pole magnet is a radial magnet or an axial magnet.
[0010] Furthermore, the plurality of Hall components each include a Hall sensor capable of outputting analog quantities or digital quantities.
[0011] Furthermore, the multiple Hall components are all packaged in the same IC chip or are respectively packaged in different IC chips.
[0012] The second technical solution adopted by the present invention is:
[0013] A method for calculating rotation information of a magnetic roller device comprises the following steps:
[0014] Multiple Hall components acquire electrical signals corresponding to the rotation of a multi-pole magnet and send them to the MCU, wherein the multi-pole magnet includes at least one pair of magnetic poles with opposite polarities, and the multiple Hall components are equidistant from the multi-pole magnet and are all located on the same plane in the magnetic field sensing space of the multi-pole magnet;
[0015] The MCU makes judgments and calculations based on the electrical signals obtained by the multiple Hall components to obtain the rotation information of the multi-pole magnet, wherein the rotation information includes position information and rotation speed information.
[0016] Furthermore, the MCU performs judgment and calculation based on the electrical signals obtained by the multiple Hall components to obtain the rotation information of the multi-pole magnet, which specifically includes:
[0017] The MCU selects any two adjacent Hall components from multiple Hall components;
[0018] The MCU determines the rotation direction and current position of the multi-pole magnet based on the size of the electrical signal of the selected Hall component;
[0019] The MCU calculates the rotation speed of the multi-pole magnet based on the change in the electrical signal of the selected Hall element.
[0020] Further, the MCU makes a judgment based on the size of the electrical signal of the selected Hall component to determine the rotation direction and current position of the multi-pole magnet, specifically:
[0021] It is determined whether the electrical signals of the two Hall components in the selected Hall components are equal. If so, it is determined that the center of the current magnetic pole of the multi-pole magnet is located in the middle of the two Hall components; otherwise, it is determined that the multi-pole magnet rotates toward the Hall component with the larger electrical signal among the two Hall components, wherein the distance between the two Hall components in the selected Hall components is less than half the width of each magnetic pole in the multi-pole magnet.
[0022] Further, the step of the MCU calculating the rotation speed of the multi-pole magnet according to the change amount of the electrical signal of the selected Hall component specifically includes:
[0023] The MCU obtains the amount of change of the electrical signal of any Hall component in the selected Hall components within a preset time;
[0024] The MCU calculates the rotation speed of the multi-pole magnet based on the acquired electrical signal change and the preset time.
[0025] The beneficial effects of the present invention are as follows: the magnetic roller device and the rotation information calculation method thereof of the present invention adopt a magnetic roller device composed of a multi-pole magnet and a roller to replace a mechanical roller and a touch roller to adjust the data of a handwriting device, and cooperate with a plurality of Hall components and an MCU to realize the calculation and acquisition of the rotation information of the magnetic roller device, which not only overcomes the defect of a large size of a mechanical roller, but also solves the problem that a touch roller is easily interfered with and accidentally touched and has poor production consistency. It has a small size, is not easily interfered with, has a low false touch rate and has good production consistency. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is an overall structural block diagram of a magnetic roller device of the present invention;
[0027] Figure 2 This is a simplified diagram of the first structure when the rotation direction of the multi-pole magnet is perpendicular to the position of the Hall component;
[0028] Figure 3 It is a schematic diagram of the spatial structure when the rotation direction of the multi-pole magnet is perpendicular to the position of the Hall component;
[0029] Figure 4 The second structural diagram is when the rotation direction of the multi-pole magnet is perpendicular to the position of the Hall component;
[0030] Figure 5 This is a simplified diagram of the first structure when the rotation direction of the multi-pole magnet is parallel to the position of the Hall component;
[0031] Figure 6 The second structural diagram is a schematic diagram of the case where the rotation direction of the multi-pole magnet is parallel to the position of the Hall component;
[0032] Figure 7 It is a schematic diagram of the spatial structure when the rotation direction of the multi-pole magnet is parallel to the position of the Hall component;
[0033] Figure 8 A schematic diagram of the structure of a radial magnet;
[0034] Fig. 9 A schematic diagram of the structure of an axial magnet;
[0035] Fig.10 A schematic diagram of a specific implementation structure of the present invention for calculating the rotation information of a magnetic roller device;
[0036] Fig.11 for Fig.10 The relationship between the rotation direction of the multi-pole magnet and the signal waveform output by the Hall component;
[0037] Fig.12 It is a schematic diagram of the structure of a handwriting tablet / drawing tablet. DETAILED DESCRIPTION
[0038] The present invention discloses a magnetic roller technology used in a handwriting device, which uses multiple Hall components, an MCU, and a multi-pole magnet fixed on the roller to realize continuous data reading and writing of the handwriting device. When the roller rotates, it drives the multi-pole magnet to rotate and generate a changing magnetic field. The changing magnetic field interacts with multiple Hall components at fixed positions to produce a Hall effect. Because the position of each Hall component is different, the Hall voltage (phase, current, etc.) induced by each Hall component is different at the same time. The MCU judges and obtains the signal difference output by each Hall component based on this phenomenon, and then judges and calculates the information of the rotation of the multi-pole magnet (i.e., the roller).
[0039] The present invention will be further explained and illustrated below in conjunction with the accompanying drawings and specific embodiments.
[0040] Reference Figure 1 , this embodiment provides a magnetic roller device, including a multi-pole magnet, an MCU, a plurality of Hall components and a roller arranged on a handwriting device, wherein the multi-pole magnet is arranged on the roller, the multi-pole magnet includes at least one pair of magnetic poles with opposite polarities, and the output ends of the plurality of Hall components are connected to the input ends of the MCU. Among them, the plurality of Hall components include Hall component 1, Hall component 2, ... Hall component n, where n is an integer greater than or equal to 2. The number of poles in the multi-pole magnet can be 1, 2, 3 ...
[0041] As a further preferred embodiment, the multiple Hall components are all located on the same plane of the magnetic field sensing space of the multi-pole magnet, and the distances between the multiple Hall components and the multi-pole magnet are equal.
[0042] As a further preferred embodiment, the distance between two adjacent Hall components among the plurality of Hall components is less than half the width of each magnetic pole in the multi-pole magnet.
[0043] In this embodiment, multiple Hall components are arranged on the same plane in the magnetic field sensing space of the multi-pole magnet, and the distance between the Hall component and the multi-pole magnet is equal and less than half the width of each magnetic pole in the multi-pole magnet. The purpose is to make the multiple Hall components have signal differences and facilitate the subsequent rotation information to be calculated using a unified standard.
[0044] Reference Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 and Figure 7 As a further preferred embodiment, the rotation direction of the multi-pole magnet 1 is perpendicular or parallel to the position of each Hall component 2.
[0045] Figure 2-Figure 7In the embodiment, the Hall components 2 include two Hall components, the Hall component 21 and the Hall component 22. It can be understood by those skilled in the art that the number of the Hall components 2 of the present invention can also be 3 or more. Figure 2 , Figure 3 and Figure 4 The rotation direction of the multi-pole magnet 1 is perpendicular to the position of the Hall component 2; Figure 5 , Figure 6 and Figure 7 The rotation direction of the multi-pole magnet 1 is horizontal to the position of the Hall component 2.
[0046] Reference Figure 8 and Fig. 9 As a further preferred embodiment, the multi-pole magnet 1 is a radial magnet or an axial magnet. Figure 8 For radial magnets, Fig. 9 It is an axial magnet, which can be flexibly selected by users.
[0047] As a further preferred embodiment, the plurality of Hall components each include a Hall sensor capable of outputting analog quantities or digital quantities.
[0048] In this embodiment, the Hall sensor can be a linear Hall sensor, which is composed of a Hall element, a linear amplifier and an emitter follower, and outputs analog quantities. The Hall sensor can also be a switch Hall sensor, which is composed of a voltage regulator, a Hall element, a differential amplifier, a Schmitt trigger and an output stage, and outputs digital quantities.
[0049] As a further preferred embodiment, the multiple Hall components are all packaged in the same IC chip or in different IC chips. The multiple Hall components of this embodiment can be packaged in a centralized or separate manner according to actual needs, which is very flexible and convenient.
[0050] In addition, the multiple Hall components of this embodiment can be placed directly below the multi-pole magnet, or can be placed not directly below the multi-pole magnet, as long as the multiple Hall components can sense the change in the magnetic field.
[0051] The outputs of the multiple Hall components in this embodiment are connected to the MCU, and after judgment and calculation by the program in the MCU, the information of the roller rotation (including the rotation speed, rotation direction, etc.) can be sent out.
[0052] and Figure 1 Corresponding to the magnetic roller device, this embodiment further provides a method for calculating the rotation information of the magnetic roller device, comprising the following steps:
[0053] Multiple Hall components acquire electrical signals corresponding to the rotation of a multi-pole magnet and send them to the MCU, wherein the multi-pole magnet includes at least one pair of magnetic poles with opposite polarities, and the multiple Hall components are equidistant from the multi-pole magnet and are all located on the same plane in the magnetic field sensing space of the multi-pole magnet;
[0054] The MCU makes judgments and calculations based on the electrical signals obtained by the multiple Hall components to obtain the rotation information of the multi-pole magnet, wherein the rotation information includes position information and rotation speed information.
[0055] The electrical signals acquired by the multiple Hall components may be digital voltage signals or analog voltage signals, which are related to the type of Hall sensors selected by the Hall components.
[0056] As a further preferred embodiment, the MCU judges and calculates the electrical signals obtained by the multiple Hall components to obtain the rotation information of the multi-pole magnet, which specifically includes:
[0057] The MCU selects any two adjacent Hall components from multiple Hall components;
[0058] The MCU determines the rotation direction and current position of the multi-pole magnet based on the size of the electrical signal of the selected Hall component;
[0059] The MCU calculates the rotation speed of the multi-pole magnet based on the change in the electrical signal of the selected Hall element.
[0060] As a further preferred embodiment, the MCU makes a judgment based on the size of the electrical signal of the selected Hall component to determine the rotation direction and current position of the multi-pole magnet, specifically:
[0061] It is determined whether the electrical signals of the two Hall components in the selected Hall components are equal. If so, it is determined that the center of the current magnetic pole of the multi-pole magnet is located in the middle of the two Hall components; otherwise, it is determined that the multi-pole magnet rotates toward the Hall component with the larger electrical signal among the two Hall components, wherein the distance between the two Hall components in the selected Hall components is less than half the width of each magnetic pole in the multi-pole magnet.
[0062] In this embodiment, multiple Hall components are arranged on the same plane in the magnetic field sensing space of the multi-pole magnet, and the distance between the Hall components and the multi-pole magnet is equal and less than half the width of each magnetic pole in the multi-pole magnet. The purpose is to make the multiple Hall components have signal differences and facilitate the subsequent rotation information to be calculated using a unified standard. When the magnetic roller rotates, there will always be signal differences because the Hall components are placed in different positions.
[0063] The multi-pole magnet is constantly rotating while the positions of multiple Hall components are fixed, so the magnetic poles that act on each Hall component are different at different times. Therefore, it is necessary to determine the position of the current magnetic pole in the multi-pole magnet.
[0064] As a further preferred embodiment, the step of calculating the rotation speed of the multi-pole magnet according to the change in the electrical signal of the selected Hall component by the MCU specifically includes:
[0065] The MCU obtains the amount of change of the electrical signal of any Hall component in the selected Hall components within a preset time;
[0066] The MCU calculates the rotation speed of the multi-pole magnet based on the acquired electrical signal change and the preset time.
[0067] The present invention has a plurality of Hall components, so the current position of a magnet in the multi-pole magnet can be known simply based on the signal difference relationship obtained from two adjacent Hall components.
[0068] Specifically, Fig.10 Taking the multi-pole magnet, Hall component 21 and Hall component 22 as examples, the relationship between the output electrical signal waveform and the rotation direction is as follows: Fig.11 As shown. When the electrical signals output by the two Hall components, Hall component 21 and Hall component 22, are equal in magnitude, it means that the center of the current magnet in the multi-pole magnet is located in the middle of the two Hall components; when the electrical signal output by Hall component 21 is larger than the electrical signal value of Hall component 22, it can be known that the magnetic roller is rotating in the direction of Hall component 21; when the electrical signal output by Hall component 22 is larger than the electrical signal value of Hall component 21, it can be known that the magnetic roller is rotating in the direction of Hall component 22. Under the premise that the rotation direction remains unchanged, when the electrical signals of Hall component 21 and Hall component 22 are equal again, the magnitude relationship of the electrical signals of Hall component 21 and Hall component 22 will be reversed. When the electrical signals of the two Hall components, Hall component 21 and Hall component 22, keep changing, it also means that the magnetic roller keeps rotating. The change in the electrical signal of the same Hall component in unit time is the rotation speed of the magnetic roller. According to the above-mentioned logical judgment principle and the statistics of the change in the electrical signal in unit time, the MCU can know the rotation direction and relative rotation speed of the magnetic roller.
[0069] In order to better illustrate the effect of the magnetic roller device of the present invention, the following is introduced: Fig.12As shown in FIG12 , a writing tablet / drawing tablet generally needs to be suitable for both left-handed and right-handed people, so its USB outlet (i.e., USB interface) 3 is generally located in the middle of the writing tablet / drawing tablet, so that no matter whether the writing tablet / drawing tablet is turned 180 degrees to the left or 180 degrees to the right, the USB outlet remains in the middle. A traditional mechanical scroll wheel takes up a lot of space on the circuit board, so the USB interface 3 cannot be placed. In this case, the distance between the scroll wheel and the edge of the board can only be increased, or the scroll wheel can be placed in a non-center position (i.e., the USB interface is placed in a non-center position). Fig.12 The position shown in the figure), but increasing the distance from the roller to the edge of the board increases the total cost accordingly, and placing the roller in a non-center position is not convenient to use. Although the touch roller does not take up too much space on the motherboard, its touch panel is another PCB. During assembly, it needs to be connected to the motherboard through a soft flat cable, which is more complicated in production. In addition, the touch technology is easily interfered with and accidentally touched, and there is also a consistency problem. Unlike the touch roller and the mechanical roller, the magnetic roller device of the present invention only needs to place a Hall component on the board, so there is enough space to place the USB interface 3, and the Hall effect is utilized. No additional PCB board is required, which is simple to implement, small in size, not easily interfered with, low in false touch rate and good in production consistency.
[0070] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A magnetic roller device, characterized in that: It comprises a multi-pole magnet, an MCU, a plurality of Hall components and a roller arranged on a handwriting device, wherein the multi-pole magnet is arranged on the roller, the multi-pole magnet comprises at least one pair of magnetic poles with opposite polarities, and the output ends of the plurality of Hall components are all connected to the input end of the MCU; The multiple Hall components are all located on the same plane of the magnetic field sensing space of the multi-pole magnet, and the distances between the multiple Hall components and the multi-pole magnet are equal; Among them, the MCU judges and calculates according to the electrical signals obtained by multiple Hall components to obtain the rotation information of the multi-pole magnet, and the rotation information includes position information and rotation speed information. The position information includes that the center of the current magnetic pole of the multi-pole magnet is located in the middle of two adjacent Hall components or the multi-pole magnet rotates toward the Hall component with a larger electrical signal among the two adjacent Hall components; the distance between two adjacent Hall components among the multiple Hall components is less than half the width of each magnetic pole in the multi-pole magnet.
2. A magnetic roller device according to claim 1, characterized in that: The rotation direction of the multi-pole magnet is perpendicular or parallel to the position of each Hall component.
3. A magnetic roller device according to claim 1, characterized in that: The multi-pole magnet is a radial magnet or an axial magnet.
4. A magnetic roller device according to claim 1, characterized in that: The multiple Hall components are all packaged in the same IC chip or are respectively packaged in different IC chips.
5. A method for calculating rotation information of a magnetic roller device, characterized in that: The following steps are involved: Multiple Hall components acquire electrical signals corresponding to the rotation of a multi-pole magnet and send them to an MCU, wherein the multi-pole magnet includes at least one pair of magnetic poles with opposite polarities, and the distances between the multiple Hall components and the multi-pole magnet are equal and all are located on the same plane in the magnetic field sensing space of the multi-pole magnet; the distance between two adjacent Hall components in the multiple Hall components is less than half the width of each magnetic pole in the multi-pole magnet; The MCU makes judgments and calculations based on the electrical signals obtained by the multiple Hall components to obtain the rotation information of the multi-pole magnet, wherein the rotation information includes position information and rotation speed information; the position information includes that the center of the current magnetic pole of the multi-pole magnet is located in the middle of two adjacent Hall components or the multi-pole magnet rotates toward the Hall component with the larger electrical signal among the two adjacent Hall components; The step of the MCU judging and calculating based on the electrical signals obtained by the multiple Hall components to obtain the rotation information of the multi-pole magnet specifically includes: The MCU selects any two adjacent Hall components from multiple Hall components; The MCU determines the rotation direction and current position of the multi-pole magnet based on the size of the electrical signal of the selected Hall component; The MCU calculates the rotation speed of the multi-pole magnet based on the change in the electrical signal of the selected Hall component; The MCU determines the rotation direction and current position of the multi-pole magnet based on the size of the electrical signal of the selected Hall component. Specifically, It is determined whether the electrical signals of the two Hall components in the selected Hall components are equal. If so, it is determined that the center of the current magnetic pole of the multi-pole magnet is located in the middle of the two Hall components; otherwise, it is determined that the multi-pole magnet rotates toward the Hall component with the larger electrical signal among the two Hall components.
6. The method for calculating the rotation information of a magnetic roller device according to claim 5, characterized in that: The step of the MCU calculating the rotation speed of the multi-pole magnet according to the change amount of the electrical signal of the selected Hall component specifically includes: The MCU obtains the amount of change of the electrical signal of any Hall component in the selected Hall components within a preset time; The MCU calculates the rotation speed of the multi-pole magnet based on the acquired electrical signal change and the preset time.
Citation Information
Patent Citations
Information inputting device and inputting method therefor
CN101110000A
Information input set-up method and device
CN1402112A
Roller device
CN201535896U
Magnetic encoder device
JP2001004405A
Rotation angle detection device and rotation angle detection method
JP2003166854A
