State detection device of stylus and electronic device

By setting a magnetic field generating structure on the stylus and a magneto-extinction structure inside the electronic device, and using the change in the luminous intensity of the LED to detect the stylus status, the problems of appearance damage and detection accuracy of the infrared photocell solution are solved, achieving a hole-free design and high-accuracy status detection.

CN115903067BActive Publication Date: 2026-04-14GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Filing Date
2021-08-20
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Traditional infrared photodetector solutions require drilling holes in electronic devices, which disrupts the uniformity of appearance, and the detection accuracy is affected by opaque objects.

Method used

The stylus employs a magnetic field generating structure and a magneto-extinction structure. The magnetic field generating structure on the stylus acts on the LED light inside the electronic device, changing its luminous intensity. The signal processing unit detects the change in the luminous intensity of the LED light to determine the state of the stylus.

Benefits of technology

It eliminates the need for drilling holes in electronic devices, maintains a consistent appearance, improves the accuracy of condition detection, reduces costs, and enhances vibration resistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115903067B_ABST
    Figure CN115903067B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a state detection device of a stylus and electronic equipment, a magnetic field generating structure is arranged on the stylus, the device comprises: a magnetic extinction structure and a processing unit; the magnetic extinction structure is arranged on one side inside the electronic equipment; the adsorption position of the stylus is the side outside the electronic equipment, and the adsorption position of the stylus is opposite to the magnetic extinction structure; the magnetic extinction structure comprises an LED lamp; the LED lamp changes the light intensity thereof according to the change of the magnetic field intensity; the magnetic field intensity where the LED lamp is located is changed by the magnetic field of the magnetic field generating structure; the signal processing unit is used for detecting the change of the light intensity of the LED lamp, and determining the state of the stylus according to the change of the light intensity of the LED lamp; the state of the stylus is an adsorption state or a lifting state. The embodiment of the application does not need to make an opening processing on the appearance of the electronic equipment, the consistency and the appearance of the whole machine appearance can be maintained, and the accuracy of state detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of touch technology, and in particular to a stylus status detection device and an electronic device. Background Technology

[0002] Currently, electronic devices with styluses are widely used in many application areas, such as interactive smart whiteboards for education, smart display devices for corporate conference rooms, large-scale exhibition display platforms, and digital signage in the commercial display system field. When not in use, the stylus is typically magnetically attached to the electronic device; the user picks it up when needed, and the electronic device triggers corresponding functions based on the stylus's status.

[0003] Traditional technologies typically use infrared sensors to detect the status of styluses. Specifically, utilizing the principle of infrared photodiode ranging, when a stylus is attached, the stylus body blocks infrared light, causing reflection. The infrared receiver then receives the infrared signal, allowing the electronic device to determine that the stylus is attached. When the stylus is lifted, the infrared light is not reflected, and the infrared receiver cannot receive the signal, thus confirming that the stylus is attached.

[0004] In the process of realizing this invention, the inventors discovered that the above-mentioned technology has at least the following problems:

[0005] Using infrared photocells requires creating openings in the appearance of electronic devices, disrupting the overall aesthetics. Furthermore, infrared signal detection can be misjudged by opaque objects, affecting the accuracy of the detection. Summary of the Invention

[0006] To overcome the problems existing in related technologies, this application provides a stylus status detection device and an electronic device, which does not require openings in the appearance of the electronic device, can maintain the consistency and aesthetics of the overall appearance, and can improve the accuracy of status detection.

[0007] According to a first aspect of the present application, a stylus state detection device is provided, applied to an electronic device; the stylus is provided with a magnetic field generating structure, and the device includes: a magneto-extinction structure and a signal processing unit;

[0008] The magneto-extinction structure is disposed inside the electronic device; the stylus is attached to a position on the outside of the electronic device corresponding to the magneto-extinction structure.

[0009] The magnetostrictive extinction structure includes an LED light; when the stylus is attached to the attachment position or when the stylus is removed from the attachment position, the magnetic field of the stylus may or may not act on the LED light, thereby changing the magnetic field strength of the LED light. The LED light changes its luminous intensity according to the change in the magnetic field strength; wherein, the luminous intensity of the LED light decreases as the magnetic field strength increases.

[0010] The signal processing unit is used to detect changes in the luminous intensity of the LED light and determine the state of the stylus based on the changes in the luminous intensity of the LED light; the state of the stylus is either an adsorbed state or a lifted state.

[0011] According to a second aspect of the present application, an electronic device is provided, the electronic device including a stylus and a stylus state detection device; the stylus is provided with a magnetic field generating structure, and the stylus state detection device is the device described above.

[0012] This application embodiment includes a magnetic field generating structure on the stylus, and a stylus state detection device. The device includes a magnetostrictive extinction structure and a processing unit. The magnetic field generating structure is disposed on one side inside the electronic device; the stylus is attached to one side outside the electronic device, and the attachment position is opposite to the magnetostrictive extinction structure; the magnetostrictive extinction structure includes an LED; the LED changes its luminous intensity according to the strength of the surrounding magnetic field; wherein the strength of the surrounding magnetic field is changed by the magnetic field generated by the magnetic field generating structure; and the signal processing unit is used to detect the luminous intensity of the LED. The state of the stylus is determined by the change in the luminous intensity of the LED light; the state of the stylus is either in an adsorbed state or a lifted state, thus eliminating the need for openings in the appearance of the electronic device, maintaining the consistency and aesthetics of the overall appearance. Furthermore, it does not require a magnetic field path with the frame or back cover of the electronic device, placing no demands on the frame or back cover, and eliminating the need for complex magnetic flux guidance. The state change of the stylus can be easily measured by adjusting the position of the LED light, facilitating installation, debugging, and machine design, reducing costs. Moreover, it avoids affecting the detection of the magnetic field due to poor contact caused by vibrations of the frame or back cover of the electronic device, improving the device's vibration resistance and the accuracy of state detection.

[0013] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.

[0014] To better understand and implement this invention, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram illustrating the application environment of a stylus status detection device according to one embodiment of this application;

[0017] Figure 2 This is a schematic block diagram illustrating the structure of a stylus state detection device according to one embodiment of this application;

[0018] Figure 3 The graph shows the luminous intensity I of an LED lamp versus the magnetic field strength B according to one embodiment of this application.

[0019] Figure 4 This is a schematic block diagram illustrating a magnetic field generating structure and a magneto-extinction structure according to an embodiment of this application;

[0020] Figure 5 As shown in one embodiment of this application Figure 4 A schematic diagram of the magnetic field lines corresponding to the magnetic field generating structure in the middle.

[0021] Figure 6 As shown in another embodiment of this application Figure 4 A schematic diagram of the magnetic field lines corresponding to the magnetic field generating structure in the middle.

[0022] Figure 7 This is a schematic block diagram illustrating a magnetic field generating structure and a magneto-extinction structure according to another embodiment of this application;

[0023] Figure 8 As shown in one embodiment of this application Figure 7 A schematic diagram of the magnetic field lines corresponding to the magnetic field generating structure in the middle.

[0024] Figure 9 This is a schematic block diagram illustrating the magnetic field generating structure and the magneto-extinction structure in yet another embodiment of this application;

[0025] Figure 10 This is a schematic block diagram of a signal processing unit shown in one embodiment of this application;

[0026] Figure 11 This is a schematic block diagram illustrating the structure of an electronic device according to one embodiment of this application; Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0028] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.

[0029] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in the various drawings represent the same or similar elements. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," 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 this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0030] The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. The word “if” as used herein can be interpreted as “when,” “when,” or “in response to a determination.”

[0031] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0032] Please see Figure 1 This is a schematic diagram illustrating the application environment of a stylus state detection device according to an embodiment of this application. The application environment of the stylus state detection device in this embodiment includes a stylus 10, a stylus state detection device 20, and an electronic device 30.

[0033] The stylus 10 can be any structure that can be touched on the electronic device 30.

[0034] The electronic device 30 can be any terminal device with touch function. It can detect the touch operation of the stylus 10 and execute the corresponding touch function. For example, the electronic device 30 can be an educational interactive smart flat panel, an intelligent display device for corporate conference rooms, a large exhibition display platform, and digital signage.

[0035] The stylus state detection device 20 can be applied to the electronic device 30, and the stylus state detection device 20 can be part of the electronic device 30, forming an integral whole with the electronic device 30; the stylus state detection device 20 can also be detachably installed on the electronic device 30.

[0036] The stylus state detection device 20 of this application will be illustrated below with reference to specific embodiments.

[0037] Please see Figure 2 This is a schematic block diagram illustrating the structure of a stylus state detection device according to an embodiment of this application. The stylus state detection device 20 of this embodiment is applied to an electronic device 30; the stylus 10 is provided with a magnetic field generating structure 11, and the device 20 includes: a magneto-extinction structure 21 and a signal processing unit 22.

[0038] The magneto-extinction structure 21 is disposed inside the electronic device 30; the stylus 10 is attached to a position outside the electronic device 30 corresponding to the magneto-extinction structure 21.

[0039] The magneto-extinction structure 21 includes an LED lamp 211; the LED lamp 211 changes its luminous intensity according to the change of the magnetic field strength in which it is located; wherein, the magnetic field strength in which the LED lamp 211 is located is changed by the magnetic field of the magnetic field generating structure 11.

[0040] The signal processing unit 22 is used to detect changes in the luminous intensity of the LED 211 and determine the state of the stylus 10 based on the changes in the luminous intensity of the LED 211; the state of the stylus 10 is either an adsorbed state or a lifted state.

[0041] The stylus 10 described in this application embodiment can have a metal body or a plastic body; this application does not impose any restrictions.

[0042] The electronic device 30 in this embodiment is an interactive tablet, which includes a frame and a touch screen; the touch screen is fixed in the frame; a magneto-moistening structure 21 is provided inside the frame on the side facing the user, and the position corresponding to the magneto-moistening structure 21 on the outside of the frame on the side facing the user is the adsorption position of the stylus 10.

[0043] The magneto-extinction structure 21 in this embodiment can produce a magneto-extinction effect; the magneto-extinction effect is that the luminous intensity I of the LED lamp 211 operating in a magnetic field decreases as the magnetic field strength B increases. Please refer to... Figure 3 It is a curve showing the luminous intensity I of an LED light versus the magnetic field strength B. Figure 3 It can be seen that the luminous intensity I of the LED light and the magnetic field strength B have the following relationship:

[0044] I = I0 - αB

[0045] In the above formula, I is the luminous intensity of LED lamp 211; B is the magnetic field strength of LED lamp 211; I0 is the luminous intensity of LED lamp 211 when B = 0; α is the magnetostriction coefficient of LED lamp 211 in the magnetic field region, which represents the change in luminous intensity of LED under the action of unit magnetic field strength.

[0046] In this embodiment, when the stylus 10 is not in use, it can be fixedly attached to the outside of the electronic device 30 at the position corresponding to the magneto-extinction structure 21. At this time, the stylus 10 is in an attached state. When the stylus 10 needs to be used, the user picks it up, that is, when the stylus 10 leaves the attached position, it is in a lifted state.

[0047] In this embodiment, when the stylus 10 is removed from the adsorption position or placed back at the adsorption position from another position, as the stylus 10 moves away from or towards the magneto-extinction structure 21, the magnetic field generating structure 11 also moves away from or towards the LED 211 accordingly. This causes a change in the magnetic field strength of the LED 211, which in turn causes a change in the luminous intensity of the LED 211. The signal processing unit 22 detects the change in the luminous intensity of the LED 211 and determines the state of the stylus based on this change.

[0048] In this embodiment, a magnetic field generating structure 11 is provided on the stylus 10, and the magnetostrictive extinction structure 21 is disposed on one side inside the electronic device 30; the adsorption position of the stylus 10 is on one side outside the electronic device 30, and the adsorption position of the stylus 10 is opposite to the magnetostrictive extinction structure 21; the magnetostrictive extinction structure 21 includes an LED lamp 211; the LED lamp 211 changes its luminous intensity according to the change in the magnetic field strength; wherein, the magnetic field strength of the LED lamp is changed by the magnetic field of the magnetic field generating structure 11; the signal processing unit 22 is used to detect the change in the luminous intensity of the LED lamp 211, and according to The change in the luminous intensity of the LED light 211 determines whether the stylus is in an attracted or lifted state. This eliminates the need for openings in the appearance of the electronic device 30, maintaining the consistency and aesthetics of the overall appearance. Furthermore, it avoids the need to form a magnetic field path with the electronic device's frame and back cover, placing no requirements on the frame or back cover, and eliminating the need for complex magnetic flux guidance. The stylus's state change can be easily measured by adjusting the position of the LED light, facilitating installation, debugging, and machine design, reducing costs. Moreover, it prevents poor contact caused by vibrations of the electronic device's frame or back cover from affecting the detection of the magnet quantity, improving the device's vibration resistance and the accuracy of state detection.

[0049] Please see Figure 4 In one embodiment, the magnetic field generating structure 11 includes an iron core 111; the magneto-extinction structure 21 further includes at least one first magnetic element 212; when the iron core 111 approaches the first magnetic element 212, the iron core 111 is magnetized by the first magnetic element 212 to generate a magnetic field, and the magnetic field of the iron core 111 acts on the LED lamp 211 to change the magnetic field strength of the LED lamp 211. When the stylus 10 is placed at the adsorption position from another location, the iron core 111 on the stylus 10 is magnetized near the first magnetic element 212, thereby generating a magnetic field. The magnetic field generated by the iron core 111 acts on the LED 211, causing the magnetic field strength of the LED 211 to increase sharply, thus reducing the luminous intensity of the LED 211. When the stylus 10 is removed from the adsorption position, the magnetic field generated by the iron core 111 on the stylus 10 no longer acts on the LED 211, and the magnetic field of the LED 211 decreases sharply, thus increasing the luminous intensity of the LED, thereby enabling quick detection of the stylus 10's status.

[0050] Based on the above embodiments, the LED light 211 is located at a position opposite to the center of the adsorption position of the stylus 10, and the LED light 211 and the adsorption position of the stylus 10 are at a preset distance; the first magnetic element 212 is close to the adsorption position of the stylus 10; the first magnetic element 212 is disposed between the iron core 111 and the LED light 212, and the first magnetic element 212 is located on one side of the LED light 211, without obstructing the action of the iron core 111 on the LED light 211, thereby both magnetizing the iron core 111 with the first magnetic element 212 and allowing the iron core 111 to directly act on the LED light 211, causing a significant change in the LED light 211 and improving the accuracy of state detection. The preset distance can be adjusted according to actual detection results. Specifically, the positions of the LED light 211 and the first magnetic element 212 can be adjusted by comparing the cases with and without the stylus, placing the LED light 211 at the position with the greatest change.

[0051] Please see Figures 4 to 6 ,in, Figure 5 and Figure 6 The arrows in the diagram indicate the magnetic field lines of the stylus 10. In one embodiment, when there is one first magnetic element 212, the LED 211 is located on one side of the first magnetic element 212. Figure 5 As shown, the first magnetic element 212 is located below the adsorption position; after the stylus 10 is placed at the adsorption position, the stylus 10 is magnetized by the first magnetic element 212 below, generating a magnetic field, and the magnetic force of the first magnetic element 212 changes the magnetic field strength of the LED light 211. Figure 6 As shown, the first magnetic element 212 can also be located above the adsorption position to change the magnetic field strength of the LED lamp 211.

[0052] In another embodiment, please refer to Figure 7 and Figure 8 ,in, Figure 8 The arrows in the diagram represent the magnetic field lines of the stylus 10. When there are two or more first magnetic elements 212, the LED light 211 is located in the middle of the two or more first magnetic elements 212, and the magnetic poles of the first magnetic elements 212 facing the iron core 111 have the same polarity. When there are two first magnetic elements 212, the two first magnetic elements 212 are located on opposite sides of the adsorption position, such as... Figure 8 As shown, the two first magnetic elements 212 are located on the upper and lower sides of the adsorption position, so that the iron core 111 on the stylus 10 is quickly magnetized.

[0053] In the above embodiments, the first magnetic component 212 can be any component that can generate a magnetic field. In this embodiment, the first magnetic component 212 is a magnet to facilitate installation and save costs.

[0054] Please see Figure 9 In another embodiment, the magnetic field generating structure 11 includes a second magnetic element 112. When the second magnetic element 112 approaches the LED 211, the magnetic field of the second magnetic element 112 acts on the LED 211, changing the magnetic field strength of the LED 211. When the stylus 10 is placed at the adsorption position from another location, the magnetic field generated by the magnetic element on the stylus 10 directly acts on the LED 211, causing the magnetic field strength of the LED 211 to increase sharply, thereby reducing the luminous intensity of the LED 211. When the stylus 10 is removed from the adsorption position, the magnetic field generated by the magnetic element on the stylus 10 no longer acts on the LED 211, and the magnetic field of the LED 211 decreases sharply, thereby increasing the luminous intensity of the LED. This eliminates the need to install a magnet inside the electronic device 30, simplifying installation and saving costs.

[0055] In the above embodiments, the second magnetic component 112 can be any component that can generate a magnetic field. In this embodiment, the second magnetic component 112 is a magnet to facilitate installation and save costs.

[0056] Please see Figure 10 In one embodiment, the signal processing unit 22 includes a light signal detection element 221, an amplification unit 222, and a controller 223; the light signal detection element 221 is connected to the amplification unit 222; the amplification unit 222 is connected to the controller 223; the light signal detection element 221 is used to detect changes in the luminous intensity of the LED lamp 211 and convert the detected luminous intensity changes into electrical signals; the signal processing unit 22 is used to amplify the electrical signals and output them to the controller; the controller is used to determine the state of the stylus based on the amplified electrical signals.

[0057] The optical signal detection element 221 can be any component capable of detecting the luminous intensity of the LED lamp 211, and this application does not impose any limitations on it. In this embodiment, the optical signal detection element 221 is a phototube to reduce costs and achieve rapid and convenient detection of the luminous intensity of the LED lamp 211.

[0058] In this embodiment, the light signal detection device 221 detects the change in the light intensity of the LED lamp 211, converts the detected change in light intensity into an electrical signal, amplifies the electrical signal by the amplification unit 222, and then collects the electrical signal by the controller 223. The controller 223 determines the state of the stylus 10 based on the amplified voltage change, thereby achieving effective detection of the state of the stylus 10.

[0059] Based on the above embodiments, the amplification unit 222 may include a first amplifier (not shown) and a second amplifier (not shown); the input terminal of the first amplifier is connected to the optical signal detection device 221; the input terminal of the second amplifier is connected to the output terminal of the first amplifier; and the output terminal of the second amplifier is connected to the controller 223. Since the electrical signal detected by the optical signal detection device 221 is relatively weak, the first operational amplifier amplifies the electrical signal to obtain a signal with usable intensity; then, the second amplifier further amplifies it and converts it into a voltage signal, suitable for acquisition by the controller 223, so that the controller 223 determines the state of the stylus 10 based on the amplified voltage change.

[0060] In one embodiment, when the stylus 10 is in an adsorbed state, the LED 211 is in a stable magnetic field, that is, the magnetic field strength of the LED 211 is almost unchanged. At this time, the luminous intensity of the LED 211 is also almost unchanged, and the amplified electrical signal obtained by the controller 223 does not change or changes within a small range. When the stylus 10 is lifted, the magnetic field of the LED 211 changes, that is, the magnetic field strength of the LED 211 changes drastically. At this time, the luminous intensity of the LED 211 also changes accordingly, which causes a large change in the amplified electrical signal obtained by the controller 223. The controller 223 can determine whether the stylus 10 is in a lifted state or an adsorbed state based on the range of change of the electrical signal.

[0061] Please see Figure 11 This application also provides an electronic device 40, which may specifically be a computer, mobile phone, tablet computer, interactive flat panel, etc. In an exemplary embodiment of this application, the electronic device 40 is an interactive flat panel, and the electronic device 40 may include a stylus 41 and a stylus state detection device 42; the stylus 41 is provided with a magnetic field generating structure, and the stylus state detection device 20 is any of the devices described above.

[0062] Optionally, the electronic device 40 also includes a personal computer (PC) module 43, which is connected to the stylus status detection device 42 via a Universal Serial Bus (USB) communication interface. The PC module 43 executes corresponding functions based on the status of the stylus 41 detected by the stylus status detection device 42. For example, the electronic device 40 may be configured with functions associated with the stylus 41, such as notepads or a whiteboard. Users can configure functions associated with picking up the stylus 41, allowing the PC module to execute corresponding functions based on the stylus 41's status. For instance, when the stylus 41 is detected being picked up, the PC module 43 automatically activates the whiteboard and receives the user's writing on it, thus avoiding the tedious operation of repeatedly clicking menus when writing or annotating, improving the user experience.

[0063] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0064] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A stylus status detection device, applied to electronic devices; characterized in that, The stylus is provided with a magnetic field generating structure, and the device includes: a magneto-extinction structure and a signal processing unit; The magneto-extinction structure is disposed inside the electronic device; the stylus is attached to a position on the outside of the electronic device corresponding to the magneto-extinction structure. The magnetostrictive extinction structure includes an LED and at least one first magnetic element. The LED is located at a position opposite to the center of the stylus's adsorption location, and the LED and the stylus's adsorption location are at a predetermined distance. The magnetic field generating structure includes an iron core. The first magnetic element is located near the stylus's adsorption location. The first magnetic element is disposed between the iron core and the LED, and is located on one side of the LED, so that the iron core directly acts on the LED. When the stylus is adsorbed at the adsorption location or when the stylus is removed from the adsorption location, the magnetic field generating structure of the stylus may or may not act on the LED, thereby changing the magnetic field strength of the LED. The LED changes its luminous intensity according to the change in the magnetic field strength; wherein, the luminous intensity of the LED decreases as the magnetic field strength increases. The signal processing unit is used to detect changes in the luminous intensity of the LED light and determine the state of the stylus based on the changes in the luminous intensity of the LED light; the state of the stylus is either an adsorbed state or a lifted state.

2. The stylus state detection device according to claim 1, characterized in that: The luminous intensity of the LED lamp and the magnetic field strength satisfy the following relationship: In the above formula, I is the luminous intensity of the LED light; B is the magnetic field strength of the LED light. I0 is the luminous intensity of the LED lamp when B=0; α is the magnetostriction coefficient of the LED lamp in the magnetic field region, which represents the change in luminous intensity of the LED lamp under the action of a unit magnetic field strength.

3. The stylus state detection device according to claim 1, characterized in that: When the iron core approaches the first magnetic component, the iron core is magnetized by the first magnetic component to generate a magnetic field, and the magnetic field of the iron core acts on the LED lamp to change the magnetic field strength of the LED lamp, thereby changing the luminous intensity of the LED lamp.

4. The stylus state detection device according to claim 1, characterized in that: When there are two or more first magnetic elements, the LED light is located in the middle of the two or more first magnetic elements, and the magnetic poles of the first magnetic elements facing the outside of the electronic device have the same polarity.

5. The stylus state detection device according to claim 1, characterized in that: The magnetic field generating structure includes a second magnetic component; when the second magnetic component is close to the LED, the magnetic field of the second magnetic component acts on the LED and changes the magnetic field strength of the LED, thereby changing the luminous intensity of the LED.

6. The stylus state detection device according to any one of claims 1 to 5, characterized in that: The signal processing unit includes an optical signal detection device, an amplification unit, and a controller; the optical signal detection device is connected to the amplification unit; the amplification unit is connected to the controller; The optical signal detection device is used to detect changes in the luminous intensity of the LED and convert the detected changes in luminous intensity into electrical signals; The signal processing unit is used to amplify the electrical signal and output it to the controller; The controller is used to determine the state of the stylus based on the amplified electrical signal.

7. The stylus state detection device according to claim 6, characterized in that: The optical signal detection device is a phototube.

8. An electronic device, comprising a stylus and a stylus status detection device; characterized in that, The stylus is provided with a magnetic field generating structure, and the stylus state detection device is the device according to any one of claims 1-7.

9. The electronic device according to claim 8, characterized in that, Also includes: The PC module is connected to the stylus status detection device via a Universal Serial Bus (USB) communication interface. The PC module is used to execute corresponding functions based on the state of the stylus detected by the stylus state detection device.

Citation Information

Patent Citations

  • Method and device for detecting intensity of magnetic field

    CN103558567A

  • State detection device of stylus and terminal equipment

    CN210377399U

  • Organic light emitting element

    JP2007227509A