A writing posture detection module
Patent Information
- Application Number
- CN202610999594.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-07
- Publication Date
- 2026-10-13
AI Technical Summary
该方案使用局限性极大,必须配套专用定制笔体,无法适配常规铅笔、圆珠笔、中性笔、钢笔;强制限位握姿违背人体自然书写习惯,不同手型用户适配性差,产品通用化程度极低
[0016]本发明的有益效果:本发明采用加速度计与磁力计数据融合加倾斜补偿算法,同步消除横滚、俯仰双维度姿态干扰,能够实现在自然书写状态下即可精准识别笔尖指向,无需异形笔杆、机械限位结构,产品通用性极强;配置多模式姿态基准采集方案,贴合日常书写习惯;模块安装无周向角度限制,完全贴合人体自然书写习惯;独立模块化设计,支持外挂、内嵌双装配形式,覆盖全产品线开发,市场适配场景丰富。
Smart Images

Figure CN122900644A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of writing posture detection technology, and in particular to a writing posture detection module. Background Technology
[0002] Poor writing posture (such as hooking the wrist, tilting the hand outward, or holding the pen too tightly) is a significant cause of writing fatigue, decreased writing quality, and even poor hand development, especially prominent in the field of handwriting education for teenagers. Therefore, posture detection of writing instruments and real-time reminders to users to correct poor grip posture have important practical application needs.
[0003] Currently, all pen posture detection products on the market are integrated with dedicated pen bodies, lacking independent and universal modular solutions. Existing products suffer from the following significant technical deficiencies: Firstly, existing products have not solved the technical challenge of azimuth detection being affected by pen posture. Some products only have a three-axis accelerometer, which can only obtain the pitch and roll angles of the pen relative to the horizontal plane, but cannot determine the pointing azimuth angle of the pen tip on the horizontal plane, and is completely unable to detect abnormal azimuth postures such as wrist hooking or outward tilting of the hand. Some products add a magnetometer to obtain the absolute azimuth angle, but in actual writing, the pen barrel will rotate around its own axis as the fingers naturally rub, producing continuous changes in the roll angle; different pen barrel thicknesses and different user hand shapes will also cause different pen pitch angles. The azimuth angle detected by the magnetometer in a tilted state is inherently inaccurate, and the continuous fluctuations in the roll and pitch angles will further amplify the detection error, ultimately leading to seriously inaccurate azimuth angle detection results, making the product unable to be used stably in real writing scenarios.
[0004] Secondly, to circumvent the aforementioned testing interference, some existing products use irregularly shaped pen barrels combined with mechanical limiting structures to forcibly fix the user's pen grip position and restrict the natural rotation of the pen barrel, thereby stabilizing the roll and pitch angles. This solution has extremely limited applicability, requiring specially customized pen bodies and being unsuitable for regular pencils, ballpoint pens, gel pens, and fountain pens; the forced fixed grip posture violates the natural writing habits of the human body, resulting in poor adaptability for users with different hand shapes and extremely low product universality. Summary of the Invention
[0005] The purpose of this invention is to provide a writing posture detection module that can eliminate the interference of roll angle and pitch angle changes on magnetometer azimuth angle detection in the user's natural writing state, and accurately collect pen tip azimuth angle in the natural writing state.
[0006] To achieve the above objectives, the present invention provides the following technical solution: a writing posture detection module, comprising a posture sensing component, a main control processing component, and a power supply component; The attitude sensing component includes at least a three-axis accelerometer and a three-axis magnetometer; The triaxial accelerometer is used to collect the pitch and roll angles of the detection module, and the triaxial magnetometer is used to collect the original azimuth angle of the detection module. The main control processing component is electrically connected to the attitude sensing component, and the power supply component supplies power to the attitude sensing component and the main control processing component. The main control processing component uses the pitch angle and roll angle to perform tilt compensation on the original azimuth angle to obtain the compensated real-time azimuth angle and acquire the attitude reference; it compares the real-time azimuth angle with the attitude reference to obtain the azimuth angle deviation, and generates corresponding output information based on the azimuth angle deviation.
[0007] Furthermore, the detection module is detachably fixed to the outside of the writing pen.
[0008] Furthermore, the detection module is embedded inside the writing pen.
[0009] Furthermore, the attitude reference is obtained through at least one of the following methods: In response to the reference setting command, the current attitude data of the detection module is collected as the attitude reference; Alternatively, it can receive azimuth angle values sent by external devices via wired or wireless communication as an attitude reference. Alternatively, the factory-preset azimuth angle value stored in the internal memory of the detection module can be used as the attitude reference.
[0010] Furthermore, the method of collecting the current attitude data of the detection module as an attitude reference includes at least one of the following: Collect single attitude data as a single reference value; Alternatively, collect at least two sets of attitude data and set the interval between the two sets of data as the allowable range of the attitude reference.
[0011] Furthermore, the response reference setting command is triggered by at least one of the following signals: The detection module detects physical button press signals, wireless communication external commands, wired communication interface commands, touch sensing trigger signals, automatic trigger signals for static duration, and trigger signals for specific motion postures.
[0012] Furthermore, the corresponding output information generated based on the azimuth deviation includes at least one of the following: When the azimuth deviation exceeds a preset threshold, an attitude anomaly determination signal is generated; When the azimuth deviation exceeds a preset threshold, a control signal is generated to drive the external actuator. Record the attitude deviation angle data when the azimuth deviation exceeds a preset threshold; The number of events in which the azimuth deviation exceeds a preset threshold is counted, and a trigger signal is generated when the count reaches the preset threshold. The real-time azimuth angle, the attitude reference, and / or the azimuth angle deviation are transmitted to an external device via wireless communication. Different levels of alerts or control signals are generated based on the varying degrees of azimuth deviation.
[0013] Furthermore, it also includes a reminder component, which includes at least one of a vibration motor, a buzzer, and an LED indicator, and is used to receive the output information and output a reminder signal.
[0014] Furthermore, the detection module, which is detachably fixed to the outside of the writing pen body, is fixed to the outside of the pen barrel by any one of the following structures: elastic clamping structure, C-shaped retaining ring, or adhesive surface.
[0015] Furthermore, the detection module, which is embedded inside the writing pen body, is electrically connected to the telescopic mechanism and communication module inside the pen body.
[0016] The beneficial effects of this invention are as follows: This invention adopts accelerometer and magnetometer data fusion plus tilt compensation algorithm to simultaneously eliminate roll and pitch dual-dimensional posture interference, enabling accurate identification of pen tip direction in natural writing state, without the need for irregular pen barrels or mechanical limiting structures, making the product highly versatile; it is equipped with a multi-mode posture reference acquisition scheme that conforms to daily writing habits; the module installation has no circumferential angle restrictions, completely conforming to the human body's natural writing habits; the independent modular design supports both external and internal assembly forms, covering the development of the entire product line and adapting to a wide range of market scenarios. Attached Figure Description
[0017] Figure 1 This is a block diagram of the overall hardware structure of the module of the present invention; Figure 2 This is a schematic diagram of the external module assembly structure of the present invention; Figure 3 This is a schematic diagram of the embedded module assembly structure of the present invention; Figure 4 This is a flowchart illustrating the overall workflow of the present invention. Figure 5 This is a schematic diagram of the posture of the present invention.
[0018] The components include: 1. writing pen, and 2. detection module. Detailed Implementation
[0019] The invention will now be further described with reference to the accompanying drawings.
[0020] Please see Figures 1 to 5The present invention provides an embodiment: a writing posture detection module, including a posture sensing component, a main control processing component and a power supply component; The attitude sensing component includes at least a three-axis accelerometer and a three-axis magnetometer; The triaxial accelerometer is used to collect the pitch and roll angles of the detection module, and the triaxial magnetometer is used to collect the original azimuth angle of the detection module. The main control processing component is electrically connected to the attitude sensing component, and the power supply component supplies power to the attitude sensing component and the main control processing component. The main control processing component uses the pitch and roll angles to perform tilt compensation on the original azimuth angle to obtain the compensated real-time azimuth angle and acquire an attitude reference. The real-time azimuth angle is compared with the attitude reference to obtain the azimuth angle deviation, and corresponding output information is generated based on the azimuth angle deviation. Tilt compensation technology is a common technique in this field, such as magnetometer tilt compensation.
[0021] The tilt compensation effectively eliminates two types of core interference: first, it eliminates the interference from roll angle changes caused by natural finger rubbing of the pen barrel; second, it eliminates the interference from pitch angle changes caused by differences in pen barrel thickness and user hand shape. Regardless of the pen barrel's rotation around its axis to any angle or the pen body's pitch position, it can stably output a precise pen tip azimuth angle. This module requires no precise circumferential alignment during installation and can be assembled at any angle; there are no forced fixed grip restrictions during use, and the pen body rotation and pitch changes generated by the user's natural writing will not affect the posture detection accuracy. It is also compatible with various thicknesses and sizes of standard writing pens without any structural modifications or mechanical limitations to the writing pen. The magnetometer outputs an absolute geographic azimuth angle after tilt compensation; the user's writing posture judgment is not based on absolute geographic orientation. This invention obtains an attitude reference and completes the mapping and matching between absolute geographic orientation and the user's writing reference orientation.
[0022] Please continue reading. Figure 2 As shown, in one embodiment of the present invention, the detection module 2 is detachably fixed to the outside of the writing pen body.
[0023] Please continue reading. Figure 3 As shown, in one embodiment of the present invention, the detection module 2 is embedded inside the writing pen.
[0024] Please continue reading. Figures 1 to 5 As shown, in one embodiment of the present invention, the attitude reference is obtained through at least one of the following methods: In response to the reference setting command, the current attitude data of the detection module is collected as the attitude reference; Alternatively, it can receive azimuth angle values sent by external devices via wired or wireless communication as an attitude reference. Alternatively, the factory-preset azimuth angle value stored in the internal memory of the detection module can be used as the attitude reference.
[0025] Please continue reading. Figures 1 to 5 As shown, in one embodiment of the present invention, the method of collecting the current attitude data of the detection module as an attitude reference includes at least one of the following: Collect single attitude data as a single reference value; Alternatively, collect at least two sets of attitude data and set the interval between the two sets of data as the allowable range of the attitude reference. Collect a single set of attitude data as a single reference value. For example, if the azimuth angle of the door closing is 135 degrees, then the single reference value is 135 degrees. Collect at least two sets of attitude data. For example, if the door is closed at 135 degrees and then opened to the full 235 degrees, then the range is 135-235 degrees.
[0026] Please continue reading. Figures 1 to 5 As shown, in one embodiment of the present invention, the response reference setting command is triggered by at least one of the following signals: The detection module detects physical button press signals, wireless communication external commands, wired communication interface commands, touch sensing trigger signals, automatic trigger signals for static duration, and trigger signals for specific motion postures.
[0027] Please continue reading. Figures 1 to 5 As shown, in one embodiment of the present invention, generating corresponding output information based on the azimuth deviation includes at least one of the following: When the azimuth deviation exceeds a preset threshold, an attitude anomaly determination signal is generated; When the azimuth deviation exceeds a preset threshold, a control signal is generated to drive the external actuator. Record the attitude deviation angle data when the azimuth deviation exceeds a preset threshold; The number of events in which the azimuth deviation exceeds a preset threshold is counted, and a trigger signal is generated when the count reaches the preset threshold. The real-time azimuth angle, the attitude reference, and / or the azimuth angle deviation are transmitted to an external device via wireless communication. Different levels of alerts or control signals are generated based on the varying degrees of azimuth deviation.
[0028] Please continue reading. Figures 1 to 5 As shown, in one embodiment of the present invention, a reminder component is further included. The reminder component includes at least one of a vibration motor, a buzzer, and an LED indicator. The reminder component is used to receive the output information and output a reminder signal.
[0029] Please continue reading. Figure 2As shown, in one embodiment of the present invention, the detection module, which is detachably fixed to the outside of the writing pen body, is fixed to the outside of the pen barrel by any one of the following structures: elastic clamping structure, C-shaped retaining ring, and adhesive surface.
[0030] Please continue reading. Figures 1 to 5 As shown, in one embodiment of the present invention, the detection module, which is embedded inside the writing pen body, is electrically connected to the telescopic mechanism and communication module inside the pen body.
[0031] The aforementioned tilt compensation, attitude reference acquisition, azimuth deviation comparison, and output information generation processes can be completed independently by the main control processing component within the module; alternatively, some processing steps can be collaboratively completed by existing external devices connected to the module. The output information can be sent to a locally integrated reminder component within the module, or it can be output to an external device via wired or wireless communication, where the external device can perform reminders, recording, statistics, or further processing. The main control processing component itself can integrate wireless communication functionality or be configured with a separate communication component; the choice of communication method does not affect the core functionality of this invention.
[0032] Example 1: External Writing Posture Detection Module In this embodiment, the module is integrated into an independent sealed housing. The attitude sensing component integrates a three-axis accelerometer and a three-axis magnetometer. The main control adopts an MCU microcontroller, the power supply component is a miniature power supply battery, and the reminder component is equipped with a vibration motor and an LED indicator. An elastic C-shaped clip is set on the outside of the housing to form an external fixing structure.
[0033] During use, sensor calibration is selectively performed. The main controller calculates the pitch and roll angles, performs tilt compensation on the original azimuth angle of the magnetometer, and outputs a precise real-time azimuth angle. Reference settings can be completed via physical buttons, wireless Bluetooth, or factory presets. Azimuth angle deviations are compared in real-time. When the deviation exceeds a preset threshold, an attitude anomaly detection signal is generated, driving the vibration motor and / or LED indicator to provide an alert. This module can be installed at any angle and is unaffected by pen rotation or pitch changes. Sensor calibration is an optional optimization process, including accelerometer horizontal zeroing calibration and triaxial magnetometer ellipse fitting calibration. The module can complete detection normally without calibration, but calibration reduces hardware zero bias and environmental magnetic field interference errors, improving detection accuracy.
[0034] Example 2: Embedded Writing Posture Detection Module This embodiment has no external fixing clip structure. The shell adapts to the contour of the pen's internal cavity and is embedded and fixed inside the pen shell. The core hardware, compensation algorithm, benchmark calibration, and judgment logic are completely consistent with Embodiment 1. It can be electrically connected to the pen retracting mechanism and wireless communication module. When the deviation exceeds a preset threshold, in addition to outputting an alert signal, it can also generate a control signal to drive the retracting mechanism to retract the pen retractor. It is suitable for mass production of integrated smart pens.
[0035] Example 3: Data Statistics and Hierarchical Processing Based on Embodiment 1 or 2 above, this embodiment involves the main control processing component counting the number of events where the deviation exceeds a preset threshold and recording the deviation angle. When the statistical result reaches the preset threshold, a trigger signal is generated; or, depending on the degree of deviation, different levels of alert or control signals are generated. The posture data, deviation angle data, and statistical results can be uploaded to a mobile app or cloud server via wireless communication for remote viewing by parents and teachers.
[0036] Example 4: Personalized Thresholds and Multiple Types of Abnormal Pose Based on Embodiment 1 or 2 above, this embodiment supports multiple setting methods for abnormal posture judgment thresholds, including factory-fixed, automatic generation of user standard postures, external device distribution, and manual adjustment via device buttons. Based on a combination of pitch and azimuth angle data, it can identify all categories of undesirable writing postures, such as wrist hooking, outward tilting, holding the pen, drooping the wrist, and excessive pen tilt.
[0037] This invention operates on the following principle: The tilt compensation eliminates interference from dynamic changes in pen posture during writing on the magnetometer's azimuth data, enabling the module to accurately acquire the pen tip azimuth angle under any installation angle and holding posture. The posture reference establishment maps the absolute geographic azimuth angle to the user's writing reference azimuth angle. Both are indispensable—without tilt compensation, the azimuth data is unstable, and the posture reference loses its reference value; without a posture reference, the user cannot understand the actual meaning of the azimuth angle. It is precisely the synergistic effect of these two elements that allows this module to accurately detect abnormal writing postures without the need for mechanical limits, a special pen, or external user references.
[0038] The above description is only a preferred embodiment of the present invention and should not be construed as a limitation of this application. All equivalent changes and modifications made in accordance with the scope of the patent application of the present invention should be covered by the present invention.
Claims
1. A writing posture detection module, characterized in that: This includes attitude sensing components, main control processing components, and power supply components; The attitude sensing component includes at least a three-axis accelerometer and a three-axis magnetometer; The triaxial accelerometer is used to collect the pitch and roll angles of the detection module, and the triaxial magnetometer is used to collect the original azimuth angle of the detection module. The main control processing component is electrically connected to the attitude sensing component, and the power supply component supplies power to the attitude sensing component and the main control processing component. The main control processing component uses the pitch angle and roll angle to perform tilt compensation on the original azimuth angle to obtain the compensated real-time azimuth angle and acquire the attitude reference; it compares the real-time azimuth angle with the attitude reference to obtain the azimuth angle deviation, and generates corresponding output information based on the azimuth angle deviation.
2. The writing posture detection module according to claim 1, characterized in that: The detection module is detachably fixed to the outside of the writing pen.
3. The writing posture detection module according to claim 1, characterized in that: The detection module is embedded inside the writing pen.
4. The writing posture detection module according to claim 1, characterized in that: The attitude reference is obtained through at least one of the following methods: In response to the reference setting command, the current attitude data of the detection module is collected as the attitude reference; Alternatively, it can receive azimuth angle values sent by external devices via wired or wireless communication as an attitude reference. Alternatively, the factory-preset azimuth angle value stored in the internal memory of the detection module can be used as the attitude reference.
5. A writing posture detection module according to claim 4, characterized in that: The methods for collecting the current attitude data of the detection module as an attitude reference include at least one of the following: Collect single attitude data as a single reference value; Alternatively, collect at least two sets of attitude data and set the interval between the two sets of data as the allowable range of the attitude reference.
6. A writing posture detection module according to claim 4, characterized in that: The response baseline setting command is triggered by at least one of the following signals: The detection module detects physical button press signals, wireless communication external commands, wired communication interface commands, touch sensing trigger signals, automatic trigger signals for static duration, and trigger signals for specific motion postures.
7. The writing posture detection module according to claim 1, characterized in that: The output information generated based on the azimuth deviation includes at least one of the following: When the azimuth deviation exceeds a preset threshold, an attitude anomaly determination signal is generated; When the azimuth deviation exceeds a preset threshold, a control signal is generated to drive the external actuator. Record the attitude deviation angle data when the azimuth deviation exceeds a preset threshold; The number of events where the azimuth deviation exceeds a preset threshold is counted, and a trigger signal is generated when the count reaches the preset threshold. The real-time azimuth angle, the attitude reference, and / or the azimuth angle deviation are transmitted to an external device via wireless communication. Different levels of alerts or control signals are generated based on the varying degrees of azimuth deviation.
8. The writing posture detection module according to claim 1, characterized in that, It also includes a reminder component, which includes at least one of a vibration motor, a buzzer, and an LED indicator. The reminder component is used to receive the output information and output a reminder signal.
9. The writing posture detection module according to claim 2, characterized in that, The detection module, which is detachably fixed to the outside of the writing pen body, is fixed to the outside of the pen barrel by any one of the following structures: elastic clamping structure, C-shaped retaining ring, or adhesive surface.
10. The writing posture detection module according to claim 3, characterized in that, The detection module, which is embedded inside the writing pen, is electrically connected to the telescopic mechanism and communication module inside the pen.