A rotation number and angle calculation device
Patent Information
- Application Number
- CN202522082643.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-26
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2035-09-26
AI Technical Summary
[0004]有鉴于此,本实用新型的目的在于提供一种旋转圈数和角度计算装置,可以解决现有的旋转测量方法存在易受磁场干扰、或无法有效计量并呈现设备自身累计旋转圈数的技术问题
本实用新型提出的一种旋转圈数和角度计算装置,包括启动单元、惯性测量单元、处理单元以及输出单元;所述处理单元分别电连接所述启动单元、所述惯性测量单元和所述输出单元;所述惯性测量单元内置于目标装置,用于实时监测所述目标装置的旋转运动以生成运动信息;所述启动单元用于触发所述处理单元获取所述运动信息并执行针对所述目标装置的旋转圈数和角度计算;所述处理单元用于根据所述运动信息,基于内置算法计算出所述目标装置的累积旋转圈数和相对于所述目标装置开始旋转时的初始状态的旋转角度,并将所述累积旋转圈数和所述旋转角度发送至所述输出单元;所述输出单元用于将呈现所述累积旋转圈数和所述旋转角度。本申请的技术方案,通过一键触发针对目标装置的累积转动圈数和转动角度的精准计算,并对计算结果进行直观显示,满足了多种应用场景下对旋转过程的完整量化需求。
Smart Images

Figure CN224861926U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of electronic measurement technology, specifically to a device for calculating the number of rotations and angles. Background Technology
[0002] In various scenarios such as industrial production, equipment debugging, and sports training, it is often necessary to accurately measure the number of rotations and angles of an object. Existing measurement methods mainly include schemes based on the principle of magnetic induction and schemes based on inertial sensors.
[0003] Solutions based on the principle of magnetic induction include electronic compasses or magnetic encoders. Electronic compasses determine orientation by sensing the direction of the Earth's magnetic field, but their measurement accuracy drops significantly in environments with strong magnetic field interference sources such as motors and metal structures. While magnetic encoders offer higher accuracy, they typically require a fixed reading head and a magnetic ring that rotates with the object. They measure the angle of the rotating component relative to the fixed component and cannot calculate the total cumulative rotations of an independent device without relying on external references. Utility Model Content
[0004] In view of this, the purpose of this utility model is to provide a device for calculating the number of rotations and angles, which can solve the technical problems of existing rotation measurement methods being susceptible to magnetic field interference or unable to effectively measure and present the cumulative number of rotations of the device itself.
[0005] To achieve the above objectives, the present invention adopts the following technical solution:
[0006] According to a first aspect of the present invention, a device for calculating the number of rotations and angles is provided, comprising a starting unit, an inertial measurement unit, a processing unit, and an output unit; The processing unit is electrically connected to the startup unit, the inertial measurement unit, and the output unit, respectively. The inertial measurement unit is built into the target device and is used to monitor the rotational motion of the target device in real time to generate motion information; The activation unit is used to trigger the processing unit to acquire the motion information and perform calculations of the number of rotations and angles for the target device. The processing unit is used to calculate the cumulative number of rotations of the target device and the rotation angle relative to the initial state when the target device starts to rotate, based on the motion information and a built-in algorithm, and send the cumulative number of rotations and the rotation angle to the output unit. The output unit is used to display the cumulative number of rotations and the rotation angle.
[0007] Furthermore, the starting unit includes a starting circuit with a start button; The start circuit is used to output a low level to the processing unit when the start button is pressed, so as to trigger the processing unit to perform rotation number and angle calculation.
[0008] Furthermore, the start button is a physical button S1; the start circuit also includes a field-effect transistor Q1, a bipolar transistor Q2, diodes D1~D3, resistors R1~R4, and a capacitor C1; The first end of the physical button S1 is grounded, and the second end is connected to the negative terminals of diode D2 and diode D3 respectively. The positive terminal of diode D3 is connected to the processing unit, the second terminal of capacitor C1, and the first terminal of resistor R2; the second terminal of resistor R2 is connected to the VDD working voltage pin; the first terminal of capacitor C1 is grounded. The positive terminal of diode D2 is connected to the gate of field-effect transistor Q1, the collector of bipolar transistor Q2, and the first terminal of resistor R1; the second terminal of resistor R1 is connected to the source of field-effect transistor Q1 and the VB node voltage pin; the drain of field-effect transistor Q1 is connected to the power supply voltage pin. The base of the bipolar transistor Q2 is connected to the second end of resistor R3 and the first end of resistor R4, respectively, and the emitter is connected to the second end of resistor R4 and grounded. The first end of the resistor R3 is connected to the negative terminal of the diode D1 and then connected to the processing unit; the positive terminal of the diode is connected to the power-on signal input terminal.
[0009] Furthermore, the inertial measurement unit includes a motion meter (IMU) integrating an accelerometer and a gyroscope sensor; the processing unit includes a microprocessor (MCU). The serial data line SDA pin of the motion meter IMU is connected to the SDA pin of the microprocessor MCU, and the serial clock line SCL pin is connected to the SCL pin of the microprocessor MCU, for sending the motion information to the processing unit.
[0010] Furthermore, the microprocessor (MCU) is used to perform time integration based on the acceleration and angular velocity information contained in the motion information to calculate the rotation angle of the target device relative to the initial posture, and to calculate the cumulative number of rotations based on the cumulative number of times the rotation angle crosses 360 degrees.
[0011] Furthermore, the device also includes a power supply unit; The power supply unit is used to supply power to the inertial measurement unit, the processing unit, and / or the output unit; The power supply unit includes a voltage regulator circuit, a battery, and a charging management circuit for charging the battery.
[0012] Furthermore, the charging management circuit includes a charging management chip; The input terminal of the charging management chip is connected to a standard USB interface to obtain charging power; the output terminal of the charging management chip is connected to the battery to charge the battery.
[0013] Furthermore, the input terminal of the voltage regulator circuit is connected to the battery, and the output terminal is connected to the processing unit and the inertial measurement unit respectively, for providing an appropriate operating voltage for the processing unit and the inertial measurement unit.
[0014] Furthermore, the voltage regulator circuit includes a low-dropout linear regulator; The input terminal of the low-dropout linear regulator is connected to the battery, and the output terminal is connected to the processing unit and the inertial measurement unit respectively. It is used to convert the unstable voltage output by the battery into a stable and low-noise DC voltage as the operating voltage of the processing unit and the inertial measurement unit.
[0015] Furthermore, the output unit includes a display screen; The display screen is used to display the cumulative number of rotations and the rotation angle.
[0016] The above-mentioned one or more technical solutions provided by this utility model can have the following advantages or at least achieve the following technical effects: This invention proposes a device for calculating the number of rotations and angles, comprising a startup unit, an inertial measurement unit, a processing unit, and an output unit. The processing unit is electrically connected to the startup unit, the inertial measurement unit, and the output unit. The inertial measurement unit is built into the target device and is used to monitor the rotational motion of the target device in real time to generate motion information. The startup unit triggers the processing unit to acquire the motion information and perform calculations of the number of rotations and angles for the target device. The processing unit calculates the cumulative number of rotations and the rotation angle relative to the initial state when the target device starts rotating, based on the motion information and a built-in algorithm, and sends the cumulative number of rotations and the rotation angle to the output unit. The output unit displays the cumulative number of rotations and the rotation angle. This technical solution, through one-click triggering of accurate calculations of the cumulative number of rotations and the rotation angle for the target device, and intuitively displays the calculation results, meets the complete quantitative requirements of the rotation process in various application scenarios. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this utility model 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 utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the structure of the rotation number and angle calculation device proposed in this utility model; Figure 2 This is a circuit diagram of the starting unit proposed in this utility model; Figure 3 This is a circuit diagram showing the connection between the inertial measurement unit and the processing unit proposed in this utility model. Figure 4 This is a circuit diagram showing the connection between the processing unit and the output unit proposed in this utility model. Figure 5 This is a schematic diagram of the structure of a rotation number and angle calculation device according to another embodiment of the present invention; Figure 6 This is a schematic diagram of the voltage regulator circuit proposed in one embodiment of the present invention.
[0019] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this utility model, and not all of them. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.
[0021] It should be noted that in this utility model, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an apparatus or system comprising a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an apparatus or system. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the apparatus or system including that element. In this utility model, unless otherwise expressly specified and limited, the terms "connected," "fixed," etc., should be interpreted broadly. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two elements or an interaction between two elements. Those skilled in the art can understand the specific meaning of the above terms in this utility model according to the specific circumstances. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this utility model.
[0022] This embodiment provides a device for calculating the number of rotations and the angle. As an optional implementation, this device can be implemented as a portable device applied to a target device undergoing rotational motion to be measured, used to accurately measure and visually display the cumulative number of rotations and the final relative rotation angle of the target device. Specific embodiments and implementation methods are as follows: Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of the rotation count and angle calculation device proposed in this utility model. The rotation count and angle calculation device may include: a start-up unit 01, an inertial measurement unit 02, a processing unit 03, and an output unit 04; the processing unit 03 is electrically connected to the start-up unit 01, the inertial measurement unit 02, and the output unit 04 respectively.
[0023] Specifically, the inertial measurement unit 02 is built into the target device and can be used to monitor the rotational motion of the target device in real time to generate motion information; the activation unit 01 can be used to trigger the processing unit 03 to acquire motion information and perform calculations of the number of rotations and angles for the target device; the processing unit 03 can be used to calculate the cumulative number of rotations of the target device and the rotation angle relative to the initial state when the target device starts to rotate based on the motion information and the built-in algorithm, and send the cumulative number of rotations and rotation angles to the output unit 04; the output unit 04 can be used to present the cumulative number of rotations and rotation angles.
[0024] In an optional embodiment, the start unit 01, as a functional module for triggering the start and stop of the measurement process, can be configured as a start circuit containing a start button. This start circuit can be used to output a low-level signal to the processing unit 03 when the start button is pressed, thereby triggering the processing unit 03 to perform rotation count and angle calculations.
[0025] Specifically, such as Figure 2 As shown, the start button can be a physical button S1; the start circuit can also include a field-effect transistor Q1, a bipolar transistor Q2, diodes D1~D3, resistors R1~R4, and a capacitor C1; the first end of the physical button S1 is grounded, and the second end is connected to the negative terminals of diodes D2 and D3 respectively; the positive terminal of diode D3 is connected to the processing unit, the second end of capacitor C1, and the first end of resistor R2 respectively; the second end of resistor R2 is connected to the VDD working voltage pin; the first end of capacitor C1 is grounded; the positive terminal of diode D2 is connected to the gate of field-effect transistor Q1, the collector of bipolar transistor Q2, and the first end of resistor R1 respectively; the second end of resistor R1 is connected to the source of field-effect transistor Q1 and the VB node voltage pin respectively; the drain of field-effect transistor Q1 is connected to the power supply voltage pin; the base of bipolar transistor Q2 is connected to the second end of resistor R3 and the first end of resistor R4 respectively, and the emitter is connected to the second end of resistor R4 and grounded; the first end of resistor R3 is connected to the negative terminal of diode D1 and connected to the processing unit O3; the positive terminal of diode is connected to the power-on signal input terminal.
[0026] In standby mode, processing unit 03 is in a low-power sleep state. When it is necessary to measure the rotation state of the target device, the user can press the physical button S1 for a preset duration (e.g., 3 seconds). The circuit state changes accordingly, thereby activating the circuit and causing the field-effect transistor Q1 to conduct. This action causes diode D3 to generate a valid level change, which is output to processing unit 03 through an output pin (pin 19 in the figure). This level change signal serves as an external wake-up signal, waking processing unit 03 from the sleep state and initiating the execution of the preset measurement process.
[0027] In another optional embodiment, the inertial measurement unit 02 can be specifically implemented as a motion measurement unit (IMU) integrating an accelerometer and a gyroscope sensor, used to detect the angular velocity and acceleration information of the target device during rotational motion, i.e., raw data and updated data after a certain time interval regarding the three axes (x, y, z) of the target device. The processing unit 03 can be specifically implemented as a microprocessor (MCU).
[0028] like Figure 3The diagram illustrates the connection circuit between the inertial measurement unit 02 and the processing unit 03. They can communicate via an integrated circuit interconnect bus. Specifically, the serial data line SDA pin (pin 14 shown in the diagram) of the motion meter IMU (U2) is connected to the SDA pin (pin 12 shown in the diagram) of the microprocessor MCU (U1), while its serial clock line SCL pin (pin 13 shown in the diagram) is connected to the SCL pin (pin 11 shown in the diagram) of the microprocessor MCU (U1). The microprocessor MCU (U1), acting as the master device on the bus, can actively initiate communication, generating a clock signal via the SCL line and exchanging bidirectional data with the motion meter IMU (U2), which acts as a slave device, on the SDA line. This two-wire communication method allows the microprocessor MCU (U1) to efficiently configure the operating parameters of the motion meter IMU (U2) and read the generated motion information when the target device rotates.
[0029] Furthermore, the microprocessor MCU (U1) can perform time integration based on the acceleration and angular velocity information contained in the motion information to calculate the rotation angle of the target device relative to the initial attitude, and calculate the cumulative number of rotations based on the cumulative number of times the rotation angle crosses 360 degrees. Specifically, the currently acquired angular velocity value can be multiplied by the time interval to obtain the angle increment within the current sampling period, and then this angle increment is accumulated into the total angle variable. By repeating this process in each sampling period, the total angle rotated by the target device since the start of the measurement can be tracked in real time. Regarding the cumulative number of rotations, it can be determined whether the cumulative angle crosses 360 degrees, that is, after each update of the rotation attitude, it is determined whether the attitude parameters have reached or exceeded a complete circle, and the cumulative number of rotations is accumulated based on the determination data.
[0030] In another alternative embodiment, the output unit 04 includes a display screen for displaying the cumulative number of rotations and rotation angle from the microprocessor MCU (U1). Figure 4 The diagram illustrates the connection circuit between processing unit 03 and output unit 04. Multiple data output pins of the microprocessor MCU (U1) (schematically represented as pins P1 to P6) are connected to the data and control pins of the display screen (J2). These pins can form a serial peripheral interface or parallel port for sending instructions and data to be displayed to the display screen (J2). After formatting the calculated final result, the microprocessor MCU (U1) drives the display screen (J2) through these pins, thereby visually presenting the cumulative number of rotations and the relative rotation angle to the user in numerical or textual form.
[0031] Based on the above embodiments, in order to ensure that the device can work independently, it can also be integrated with a complete power supply unit. Please refer to the relevant documentation. Figure 5This is a schematic diagram of a device for calculating the number of rotations and angles, including a power supply unit. The power supply unit 05 supplies power to the inertial measurement unit 02, the processing unit 03, and / or the output unit 04. The power supply unit 05 may include a voltage regulator circuit 051, a battery 052, and a charging management circuit 053 for charging the battery. Specifically, the charging management circuit 053 may be configured as a charging management chip (U3). The input terminal of the charging management chip (U3) is connected to a standard USB interface (e.g., the Type-C interface J3 shown in the diagram) to obtain charging power; the output terminal of the charging management chip (U3) is connected to the battery 052 (e.g., Battery J1 shown in the diagram) to charge the battery 052. The input terminal of the voltage regulator circuit 051 is connected to the battery 052, and its output terminals are connected to the processing unit 03 and the inertial measurement unit 02, respectively, and can be used to provide an appropriate operating voltage for the processing unit 03 and the inertial measurement unit 02.
[0032] Specifically, battery 052 (e.g., a lithium-ion polymer battery) supplies energy to the entire device. The charging management chip U3 is responsible for the safe charging management of battery 052, and its functions include switching between constant current and constant voltage charging modes, and providing overcharge, over-discharge and overcurrent protection.
[0033] like Figure 6 As shown, the voltage regulator circuit 051 may include a low dropout linear regulator LDO (U4); the input terminal of the low dropout linear regulator LDO (U4) is connected to the battery 052, and the output terminal is connected to the processing unit 03 and the inertial measurement unit 02 respectively. It can be used to convert the unstable voltage output by the battery into a stable and low-noise DC voltage (e.g., 3.3V), thereby providing a high-quality operating power supply for core electronic components such as the microprocessor MCU (U1) and the motion meter IMU (U2) to ensure the stability of their measurement and calculation.
[0034] The rotation count and angle calculation device provided by this utility model includes a start-up unit, an inertial measurement unit, a processing unit, and an output unit. The processing unit is electrically connected to the start-up unit, the inertial measurement unit, and the output unit. The inertial measurement unit is built into the target device and is used to monitor the rotational motion of the target device in real time to generate motion information. The start-up unit is used to trigger the processing unit to acquire the motion information and perform rotation count and angle calculation for the target device. The processing unit is used to calculate the cumulative rotation count and rotation angle of the target device relative to the initial state when the target device starts rotating, based on the motion information and a built-in algorithm, and send the cumulative rotation count and rotation angle to the output unit. The output unit is used to display the cumulative rotation count and rotation angle. This utility model has at least the following beneficial effects: First, since the inertial measurement unit (IMU) is used as the core sensor, its operation is independent of external magnetic fields. Therefore, the device is completely unaffected by electromagnetic interference and can operate stably in complex environments such as motors and metal structures, making it widely applicable. Second, by implementing specific accumulation and counting algorithms in the processing unit, the technical challenge of accurately measuring the cumulative number of rotations of the device itself is solved, requiring no external reference and achieving true self-contained measurement. Finally, the output unit directly presents the two key results—the cumulative number of rotations and the final angle—to the user, providing clear information and ease of use, meeting the complete quantitative requirements of the rotation process in various application scenarios.
[0035] The above are merely specific embodiments of this utility model, but the protection scope of this utility model is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this utility model should be included within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.
[0036] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0037] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0038] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A device for calculating the number of rotations and angles, characterized in that, It includes a startup unit, an inertial measurement unit, a processing unit, and an output unit; The processing unit is electrically connected to the startup unit, the inertial measurement unit, and the output unit, respectively. The inertial measurement unit is built into the target device and is used to monitor the rotational motion of the target device in real time to generate motion information; The activation unit is used to trigger the processing unit to acquire the motion information and perform calculations of the number of rotations and angles for the target device. The processing unit is used to calculate the cumulative number of rotations of the target device and the rotation angle relative to the initial state when the target device starts to rotate, based on the motion information and a built-in algorithm, and send the cumulative number of rotations and the rotation angle to the output unit. The output unit is used to display the cumulative number of rotations and the rotation angle; The starting unit includes a starting circuit with a start button; The start circuit is used to output a low level to the processing unit when the start button is pressed, so as to trigger the processing unit to perform the calculation of the number of rotations and angle; The start button is a physical button S1; the start circuit also includes a field-effect transistor Q1, a bipolar transistor Q2, diodes D1~D3, resistors R1~R4, and a capacitor C1; The first end of the physical button S1 is grounded, and the second end is connected to the negative terminals of diode D2 and diode D3 respectively. The positive terminal of diode D3 is connected to the processing unit, the second terminal of capacitor C1, and the first terminal of resistor R2; the second terminal of resistor R2 is connected to the VDD working voltage pin; the first terminal of capacitor C1 is grounded. The positive terminal of diode D2 is connected to the gate of field-effect transistor Q1, the collector of bipolar transistor Q2, and the first terminal of resistor R1; the second terminal of resistor R1 is connected to the source of field-effect transistor Q1 and the VB node voltage pin; the drain of field-effect transistor Q1 is connected to the power supply voltage pin. The base of the bipolar transistor Q2 is connected to the second end of resistor R3 and the first end of resistor R4, respectively, and the emitter is connected to the second end of resistor R4 and grounded. The first end of the resistor R3 is connected to the negative terminal of the diode D1 and then connected to the processing unit; the positive terminal of the diode is connected to the power-on signal input terminal.
2. The apparatus according to claim 1, characterized in that, The inertial measurement unit includes a motion meter (IMU) integrating an accelerometer and a gyroscope sensor; the processing unit includes a microprocessor (MCU). The serial data line SDA pin of the motion meter IMU is connected to the SDA pin of the microprocessor MCU, and the serial clock line SCL pin is connected to the SCL pin of the microprocessor MCU, for sending the motion information to the processing unit.
3. The apparatus according to claim 2, characterized in that, The microprocessor (MCU) is used to perform time integration based on the acceleration and angular velocity information contained in the motion information to calculate the rotation angle of the target device relative to the initial posture, and to calculate the cumulative number of rotations based on the cumulative number of times the rotation angle crosses 360 degrees.
4. The apparatus according to claim 1, characterized in that, The device also includes a power supply unit; The power supply unit is used to supply power to the inertial measurement unit, the processing unit, and / or the output unit; The power supply unit includes a voltage regulator circuit, a battery, and a charging management circuit for charging the battery.
5. The apparatus according to claim 4, characterized in that, The charging management circuit includes a charging management chip; The input terminal of the charging management chip is connected to a standard USB interface to obtain charging power; the output terminal of the charging management chip is connected to the battery to charge the battery.
6. The apparatus according to claim 4, characterized in that, The input terminal of the voltage regulator circuit is connected to the battery, and the output terminal is connected to the processing unit and the inertial measurement unit respectively, for providing an appropriate operating voltage for the processing unit and the inertial measurement unit.
7. The apparatus according to claim 6, characterized in that, The voltage regulator circuit includes a low-dropout linear regulator; The input terminal of the low-dropout linear regulator is connected to the battery, and the output terminal is connected to the processing unit and the inertial measurement unit, respectively. It is used to convert the unstable voltage output by the battery into a stable and low-noise DC voltage, which serves as the operating voltage of the processing unit and the inertial measurement unit.
8. The apparatus according to any one of claims 1 to 7, characterized in that, The output unit includes a display screen; The display screen is used to display the cumulative number of rotations and the rotation angle.