Rotational detection components, electronic equipment and detection methods
Patent Information
- Application Number
- CN202211738663.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2042-12-30
AI Technical Summary
[0003]但是,在使用过程中,电子设备壳体与操作检测组件之间可能渗入一些灰尘颗粒,若污染物堆积在码盘上,会影响光电编码器的可靠性
[0012]在本申请实施例中,所述旋转检测组件包括包括可相对转动的第一部分和第二部分,所述第一部分与所述第二部分的端面相对;所述第一部分靠近所述第二部分的一端设有涡流感应件,所述第二部分靠近所述第一部分的一端设有用于加载交变电流的第一线圈和第二线圈,所述第一线圈、所述第二线圈绕旋转轴沿逆时针方向分布;绕轴向旋转所述第一部分或所述第二部分,使所述第二部分相对于所述第一部分绕旋转轴沿顺时针方向或逆时针方向旋转;所述第一线圈在垂直于所述轴向的平面上的正投影与所述涡流感应件在垂直于所述轴向的平面上的正投影具有第一重叠面积,所述第二线圈在垂直于所述轴向的平面上的正投影与所述涡流感应件在垂直于所述轴向的平面上的正投影具有第二重叠面积,在所述第二部分相对于所述第一部分绕所述旋转轴沿顺时针方向或逆时针方向旋转的过程中,所述第一重叠面积、所述第二重叠面积中至少一项发生变化。通过该方案,能够利用涡流检测原理实现旋转检测,避免灰尘对旋转检测的干扰,提高检测系统的抗干扰能力。
Smart Images

Figure CN116202412B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to a rotation detection component, electronic device, and detection method. Background Technology
[0002] Currently, electronic devices typically incorporate physical operation detection components such as buttons and knobs. In related technologies, photoelectric encoders are commonly used to detect the rotation of these components. The operation detection component employs a code disk structure, divided into light-transmitting and light-blocking areas. When the operation detection component rotates, it outputs pulse waveforms corresponding to the light-transmitting and light-blocking patterns on the code disk segment, which are ultimately converted into a rotation signal.
[0003] However, during use, some dust particles may seep into the space between the electronic device housing and the operation detection components. If contaminants accumulate on the code disk, they will affect the reliability of the photoelectric encoder. Summary of the Invention
[0004] The purpose of this application is to provide a rotation detection component, electronic device, and detection method that can realize rotation detection using the eddy current detection principle and improve the anti-interference capability of the detection system.
[0005] In a first aspect, embodiments of this application provide a rotation detection component, the rotation detection component including a first part and a second part that are rotatable relative to each other, the end faces of the first part and the second part being opposite to each other; an eddy current sensor is provided at one end of the first part near the second part, and a first coil and a second coil for loading alternating current are provided at one end of the second part near the first part, the first coil and the second coil being distributed in a counterclockwise direction around a rotation axis; rotating the first part or the second part around the axial direction causes the second part to rotate relative to the first part in a clockwise or counterclockwise direction around the rotation axis; the orthographic projection of the first coil on a plane perpendicular to the axial direction and the orthographic projection of the eddy current sensor on a plane perpendicular to the axial direction have a first overlapping area, and the orthographic projection of the second coil on a plane perpendicular to the axial direction and the orthographic projection of the eddy current sensor on a plane perpendicular to the axial direction have a second overlapping area, and during the process of the second part rotating relative to the first part around the rotation axis in a clockwise or counterclockwise direction, at least one of the first overlapping area and the second overlapping area changes.
[0006] Secondly, embodiments of this application provide an electronic device including the rotation detection component as described in the first aspect.
[0007] Thirdly, embodiments of this application provide a detection method applied to the rotation detection assembly as described in the first aspect. The method includes: controlling the first coil and the second coil to carry alternating current; monitoring the first induced voltage of the first coil and the second induced voltage of the second coil; and determining the rotation direction of the second part relative to the first part based on the magnitude and changing trend of the first induced voltage and the second induced voltage.
[0008] Fourthly, embodiments of this application provide a detection device, comprising: a control module for controlling the first coil and the second coil to carry alternating current; a monitoring module for monitoring a first induced voltage of the first coil and a second induced voltage of the second coil; and a determination module for determining the rotation direction of the second part relative to the first part based on the magnitude and changing trend of the first induced voltage and the second induced voltage.
[0009] Fifthly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the method described in the third aspect.
[0010] In a sixth aspect, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the third aspect.
[0011] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method described in the third aspect.
[0012] In this embodiment, the rotation detection component includes a first part and a second part that are rotatable relative to each other, with the end faces of the first part and the second part facing each other. An eddy current sensor is provided at one end of the first part near the second part, and a first coil and a second coil for loading alternating current are provided at one end of the second part near the first part. The first coil and the second coil are distributed counterclockwise around a rotation axis. Rotating the first part or the second part around the axial direction causes the second part to rotate clockwise or counterclockwise relative to the first part around the rotation axis. The orthographic projection of the first coil on a plane perpendicular to the axial direction has a first overlapping area with the orthographic projection of the eddy current sensor on the same plane. The orthographic projection of the second coil on the same plane has a second overlapping area with the orthographic projection of the eddy current sensor on the same plane. During the rotation of the second part relative to the first part around the rotation axis clockwise or counterclockwise, at least one of the first overlapping area and the second overlapping area changes. This scheme enables rotation detection using the eddy current detection principle, avoids interference from dust, and improves the anti-interference capability of the detection system. Attached Figure Description
[0013] Figure 1 This is one of the schematic diagrams of a rotation detection component according to an embodiment of this application;
[0014] Figure 2 This is a second schematic diagram of a rotation detection component according to an embodiment of this application;
[0015] Figure 3 This is a third schematic diagram of a rotation detection component according to an embodiment of this application;
[0016] Figure 4 This is a fourth schematic diagram of a rotation detection component according to an embodiment of this application;
[0017] Figure 5 This is one of the schematic diagrams of a rotation detection component in an electronic device according to an embodiment of this application;
[0018] Figure 6 This is one of the flowcharts of the detection method according to the embodiments of this application;
[0019] Figure 7 This is one of the structural schematic diagrams of the control device according to an embodiment of this application;
[0020] Figure 8 This is one of the structural schematic diagrams of an electronic device according to an embodiment of this application;
[0021] Figure 9This is one of the hardware structure diagrams of an electronic device according to an embodiment of this application. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only 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 are within the scope of protection of this application.
[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0024] The rotation detection component, electronic device, and detection method provided in this application will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0025] like Figure 1 The diagram shown is a schematic diagram of a rotation detection component according to an embodiment of this application.
[0026] The rotation detection assembly includes a first part and a second part that are rotatable relative to each other, with the end faces of the first part and the second part facing each other. The rotation detection assembly also includes an eddy current sensor and a coil for loading alternating current, the eddy current sensor and the coil for loading alternating current being respectively disposed on the first part and the second part. The eddy current sensor can be a metal conductor. It is understood that the first part and the second part are not... Figure 1 As shown in the image.
[0027] In one implementation, the eddy current sensor and the coil are respectively disposed on the opposite end faces of the first portion and the second portion. Specifically, the eddy current sensor is disposed on the end face of the first portion opposite to the second portion, and the first coil and the second coil are disposed on the end face of the second portion opposite to the first portion.
[0028] In one implementation, the first part is provided with an eddy current inductor 100 at one end near the second part, and the second part is provided with a first coil 210 and a second coil 220 for loading alternating current at one end near the first part. The first coil 210 and the second coil 220 are distributed in a counterclockwise direction around the rotation axis 300.
[0029] In this embodiment of the application, rotating the first part or the second part about the axis can cause the second part to rotate relative to the first part about the rotation axis in a clockwise or counterclockwise direction.
[0030] The first coil's orthographic projection on a plane perpendicular to the axial direction has a first overlapping area with the eddy current sensor's orthographic projection on a plane perpendicular to the axial direction. The second coil's orthographic projection on a plane perpendicular to the axial direction has a second overlapping area with the eddy current sensor's orthographic projection on a plane perpendicular to the axial direction. During the rotation of the second part relative to the first part around the rotation axis in a clockwise or counterclockwise direction, at least one of the first overlapping area and the second overlapping area changes.
[0031] In this embodiment, the eddy current inductor is used to sense the alternating current on the first coil and generate a first induced voltage on the first coil. The eddy current inductor is also used to sense the alternating current on the second coil and generate a second induced voltage on the second coil. Furthermore, the magnitude of the induced voltage on the coil is related to the positional relationship between the coil and the eddy current inductor. The induced voltage on the coil is at its maximum when the coil carrying the alternating current is directly opposite the eddy current inductor. The induced voltage on the coil also changes when the overlapping area of the orthographic projection of the coil onto a plane perpendicular to the axial direction and the orthographic projection of the eddy current inductor onto a plane perpendicular to the axial direction changes. Therefore, during the rotation of the second part relative to the first part around the rotation axis in a clockwise or counterclockwise direction, at least one of the first induced voltage and the second induced voltage changes.
[0032] Combination Figure 1 and Figure 2As can be seen, during the process of the second part rotating counterclockwise around the rotation axis 300 relative to the first part by a certain angle, the first overlap area between the orthographic projection of the first coil 210 on the plane perpendicular to the axial direction and the orthographic projection of the eddy current sensor 100 on the plane perpendicular to the axial direction remains unchanged at its maximum overlap area. The first overlap area between the orthographic projection of the second coil 220 on the plane perpendicular to the axial direction and the orthographic projection of the eddy current sensor 100 on the plane perpendicular to the axial direction decreases. If the induced voltages of the first coil 210 and the second coil 220 are detected during this process, the first induced voltage on the first coil 210 remains unchanged, while the second induced voltage on the second coil 220 decreases.
[0033] Therefore, the rotation of the second part relative to the first part around the rotation axis can be determined by detecting the induced voltage on the coil and based on the magnitude and changes of the first induced voltage on the first coil and the second induced voltage on the second coil. For example, if the second induced voltage on the second coil decreases while the first induced voltage on the first coil remains at its maximum value, it can be determined that the second part rotates counterclockwise relative to the first part around the rotation axis. The rotation angle can be determined based on the correspondence between the change in induced voltage and the rotation angle.
[0034] In one implementation, the first coil includes a first excitation coil and a first induction coil, the first excitation coil being used to apply alternating current and the first induction coil being used to generate the first induced voltage; the second coil includes a second excitation coil and a second induction coil, the second excitation coil being used to apply alternating current and the second induction coil being used to generate the second induced voltage.
[0035] Therefore, the excitation coil is used to apply alternating current, and the induction coil is used to generate induced voltage. The induced voltage can be obtained by detecting the voltage on the induction coil, which facilitates the detection of the induced voltage.
[0036] Therefore, this application provides a rotation detection component, which includes a first part and a second part that are rotatable relative to each other, with the end faces of the first part and the second part facing each other. An eddy current sensor is provided at one end of the first part near the second part, and a first coil and a second coil for loading alternating current are provided at one end of the second part near the first part. The first coil and the second coil are distributed counterclockwise around a rotation axis. Rotating the first part or the second part around the axial direction causes the second part to rotate clockwise or counterclockwise relative to the first part around the rotation axis. The orthographic projection of the first coil on a plane perpendicular to the axial direction has a first overlapping area with the orthographic projection of the eddy current sensor on the same plane. The orthographic projection of the second coil on the same plane has a second overlapping area with the orthographic projection of the eddy current sensor on the same plane. During the rotation of the second part relative to the first part around the rotation axis clockwise or counterclockwise, at least one of the first overlapping area and the second overlapping area changes. This solution utilizes the eddy current detection principle to achieve rotation detection, avoiding interference from dust and improving the anti-interference capability of the detection system.
[0037] Taking the second part rotating counterclockwise relative to the first part about the rotation axis as an example, the second part can sequentially pass through four rotational positions:
[0038] When the second part is in the first rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0039] When the second part is in the second rotation position, the portion of the first coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the second coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0040] When the second part is in the third rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0041] When the second part is in the fourth rotational position, the portion of the orthographic projection of the first coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the orthographic projection of the second coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0042] Therefore, when the second part is located in any of the above positions, a portion of the orthogonal projection of the coil on the plane perpendicular to the axial direction is located outside the orthogonal projection of the eddy current sensor on the plane perpendicular to the axial direction. When rotation occurs, the overlapping area of the orthogonal projection of the coil on the plane perpendicular to the axial direction and the orthogonal projection of the eddy current sensor on the plane perpendicular to the axial direction changes, and the induced voltage on the coil changes. Thus, rotation detection can be achieved using the eddy current detection principle.
[0043] like Figure 3 The diagram shown is a schematic diagram of a rotation detection component according to an embodiment of this application.
[0044] In this embodiment of the application, the second part is further provided with a third coil 230 for loading alternating current at one end near the first part, and the first coil 210, the second coil 220 and the third coil 230 are distributed in a counterclockwise direction around the rotation axis.
[0045] In one implementation, the first coil, the second coil, and the third coil are arranged adjacent to each other.
[0046] During the rotation of the second part relative to the first part around the rotation axis, at least one of the induced voltages on the first coil, the second coil, and the third coil changes. In one implementation, a correspondence between the induced voltages on the first coil, the second coil, and the third coil and the rotational position of the second part relative to the first part can be preset. Therefore, the rotation of the second part relative to the first part can be determined based on the induced voltages on the first coil, the second coil, and the third coil.
[0047] like Figure 4 The diagram shown is a schematic diagram of a rotation detection component according to an embodiment of this application.
[0048] In this embodiment of the application, the second part is further provided with a third coil 230 and a fourth coil 240 for loading alternating current at one end near the first part. The first coil 210, the second coil 220, the third coil 230 and the fourth coil 240 are distributed in a counterclockwise direction around the rotation axis.
[0049] Taking the second part rotating counterclockwise relative to the first part about the rotation axis as an example, the second part can sequentially pass through four rotational positions:
[0050] With the second part in the first rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the orthographic projection of the third coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; and the portion of the orthographic projection of the fourth coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0051] With the second part in the second rotational position, the portion of the first coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the second coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the third coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; and the portion of the fourth coil's orthographic projection on the plane perpendicular to the axial direction is located within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0052] With the second part in the third rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the orthographic projection of the third coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; and the portion of the orthographic projection of the fourth coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0053] With the second part in the fourth rotational position, the portion of the orthographic projection of the first coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, the orthographic projection of the second coil on the plane perpendicular to the axial direction is located within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, the portion of the orthographic projection of the third coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the orthographic projection of the fourth coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
[0054] Therefore, when the second part is located in any of the above positions, there is at least one portion of the coil's orthogonal projection on the plane perpendicular to the axial direction located outside the orthogonal projection of the eddy current sensor on the plane perpendicular to the axial direction. When rotation occurs, the overlapping area of the coil's orthogonal projection on the plane perpendicular to the axial direction and the eddy current sensor's orthogonal projection on the plane perpendicular to the axial direction changes, and the induced voltage on the coil changes. Thus, rotation detection can be achieved using the eddy current detection principle.
[0055] In one implementation, the induced voltages of the nth coil and the (n+1)th coil can be monitored, and the rotation direction of the second part relative to the first part can be determined based on the induced voltages of the nth coil and the (n+1)th coil, where n is one of 1, 2, or 3.
[0056] If the induced voltage of the (n+1)th coil increases and the induced voltage of the nth coil is at a preset maximum value, then the second part rotates clockwise relative to the first part around the rotation axis.
[0057] If the induced voltage of the (n+1)th coil increases and the induced voltage of the nth coil is at a preset minimum value, then the second part rotates counterclockwise relative to the first part around the rotation axis.
[0058] If the induced voltage of the (n+1)th coil decreases and the induced voltage of the nth coil is at a preset minimum value, then the second part rotates clockwise relative to the first part around the rotation axis.
[0059] If the induced voltage of the (n+1)th coil decreases and the induced voltage of the nth coil is at a preset maximum value, then the second part rotates counterclockwise relative to the first part around the rotation axis.
[0060] In one implementation, the first portion or the second portion may be movable along the axial direction, bringing the first portion closer to the second portion. When the first portion and the second portion are close together, the induced voltage of the first target coil is greater than a preset maximum value, wherein the orthographic projection of the first target coil on a plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on a plane perpendicular to the axial direction.
[0061] The induced voltage of the first target coil when the first part and the second part are far apart is preset to a maximum value. When the first part and the second part are close together, the induced voltage of the first target coil will be greater than the preset maximum value, thereby determining whether the first part and the second part are close together.
[0062] This application embodiment also provides an electronic device, which includes any of the above-mentioned rotation detection components. The electronic device also includes a housing, wherein the first part is fixedly disposed within the housing, the second part is rotatably disposed within the housing, and one end of the second part extends out of the housing; or the second part is fixedly disposed within the housing, the first part is rotatably disposed within the housing, and one end of the first part extends out of the housing.
[0063] like Figure 5 The diagram shown is a schematic representation of an electronic device according to an embodiment of this application. The electronic device includes any of the aforementioned rotation detection components, and further includes a housing 400. The second portion is fixedly disposed within the housing 400, and the first portion is rotatably disposed within the housing 400, with one end of the first portion extending out of the housing.
[0064] In one implementation, the electronic device is a watch, with the first part disposed inside the watch and the second part being the watch crown; or the second part disposed inside the watch and the first part being the watch crown.
[0065] like Figure 6 As shown, this application provides a detection method applicable to any of the rotation detection components provided in the above embodiments. The method includes the following steps:
[0066] Step 610: Control the first coil and the second coil to carry alternating current.
[0067] When alternating current is passed through the first coil and the second coil, a magnetic field is generated near the coil. When this magnetic field passes through the eddy current inductor, the eddy current inductor generates a vortex-shaped current, thereby radiating the eddy current magnetic field outward, thus generating an induced voltage in the coil.
[0068] Step 620: Monitor the first induced voltage of the first coil and the second induced voltage of the second coil.
[0069] Step 630: Determine the rotation direction of the second part relative to the first part based on the magnitude and trend of the first induced voltage and the second induced voltage.
[0070] For example, by monitoring the induced voltages of the first and second coils, and based on these induced voltages, the rotation direction of the second part relative to the first part can be determined.
[0071] If the induced voltage of the second coil increases and the induced voltage of the first coil is at a preset maximum value, then the second part rotates clockwise relative to the first part around the rotation axis.
[0072] If the induced voltage of the second coil increases and the induced voltage of the first coil is at a preset minimum value, then the second part rotates counterclockwise relative to the first part around the rotation axis.
[0073] If the induced voltage of the second coil decreases and the induced voltage of the first coil is at a preset minimum value, then the second part rotates clockwise relative to the first part around the rotation axis.
[0074] If the induced voltage of the second coil decreases and the induced voltage of the first coil is at a preset maximum value, then the second part rotates counterclockwise relative to the first part around the rotation axis.
[0075] Therefore, the detection method provided in this application embodiment controls the alternating current to flow through the first coil and the second coil; monitors the first induced voltage of the first coil and the second induced voltage of the second coil; and determines the rotation direction of the second part relative to the first part based on the magnitude and trend of the first induced voltage and the second induced voltage. This method can realize rotation detection using the eddy current detection principle, thereby avoiding the interference of dust on rotation detection and improving the anti-interference capability of the detection system.
[0076] In one implementation, after determining the rotation direction, the rotation angle can also be determined through the following steps.
[0077] Step 640: If it is determined that the second part rotates relative to the first part, determine the amount of change in the induced voltage of the second target coil.
[0078] The induced voltage of the second target coil is between a preset maximum value and a preset minimum value.
[0079] Step 650: Determine the rotation angle of the second part relative to the first part around the rotation axis based on the change in the induced voltage of the second target coil and a preset correspondence, wherein the preset correspondence is the correspondence between the change in induced voltage and the rotation angle.
[0080] Therefore, by pre-setting the correspondence between the change in induced voltage and the rotation angle, and by combining the monitored change in induced voltage, the rotation angle of the second part relative to the first part around the rotation axis can be determined.
[0081] In one implementation, the first part or the second part can be moved along the axial direction to bring the first part closer to the second part. Then, the following steps can be used to determine whether the first part is close to the second part.
[0082] Step 660: If the induced voltage of the first target coil is detected to be greater than the preset maximum value, then it is determined that the first part and the second part are close.
[0083] Wherein, the orthographic projection of the first target coil on a plane perpendicular to the axial direction is located within the range of the orthographic projection of the eddy current inductor on a plane perpendicular to the axial direction.
[0084] Therefore, by pre-setting the induced voltage of the first target coil when the first part is far from the second part to the preset maximum value, and when the first part is close to the second part, the induced voltage of the first target coil will be greater than the preset maximum value. Thus, it can be determined whether the first part is close to the second part based on whether the induced voltage of the first target coil is greater than the preset maximum value.
[0085] The detection method provided in this application can be executed by a detection device. This application uses an example of a detection device executing the detection method to illustrate the detection device provided in this application.
[0086] Figure 7 This is a schematic diagram of the detection device according to an embodiment of this application. Figure 7 As shown, the detection device 700 includes: a control module 710, a monitoring module 720, and a determination module 730.
[0087] The control module 710 is used to control the alternating current to flow through the first coil and the second coil; the monitoring module 720 is used to monitor the first induced voltage of the first coil and the second induced voltage of the second coil; and the determination module 730 is used to determine the rotation direction of the second part relative to the first part based on the magnitude and trend of the first induced voltage and the second induced voltage.
[0088] In one implementation, the determining module 730 is further configured to, when determining that the second part rotates relative to the first part, determine the change in the induced voltage of the second target coil, wherein the induced voltage of the second target coil is between a preset maximum value and a preset minimum value; and determine the rotation angle of the second part about the rotation axis relative to the first part based on the change in the induced voltage of the second target coil and a preset correspondence, wherein the preset correspondence is the correspondence between the change in induced voltage and the rotation angle.
[0089] In one implementation, the determining module 730 is further configured to determine that the first part is close to the second part if the induced voltage of the first target coil is detected to be greater than a preset maximum value.
[0090] Therefore, the detection device provided in this application embodiment controls the alternating current to flow through the first coil and the second coil; monitors the first induced voltage of the first coil and the second induced voltage of the second coil; and determines the rotation direction of the second part relative to the first part based on the magnitude and changing trend of the first induced voltage and the second induced voltage. This device can realize rotation detection using the eddy current detection principle, thereby avoiding the interference of dust on rotation detection and improving the anti-interference capability of the detection system.
[0091] The detection device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, a mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.
[0092] The detection device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0093] The detection device provided in this application embodiment can achieve... Figure 6 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0094] Optionally, such as Figure 8 As shown, this application embodiment also provides an electronic device 800, including a processor 801 and a memory 802. The memory 802 stores a program or instructions that can run on the processor 801. When the program or instructions are executed by the processor 801, they implement the various steps of the above-described detection method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0095] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0096] Figure 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0097] The electronic device 900 includes, but is not limited to, components such as: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, and processor 910.
[0098] The electronic device 900 also includes any of the aforementioned rotation detection components, which will not be described in detail here.
[0099] Those skilled in the art will understand that the electronic device 900 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 910 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 9 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0100] The processor 910 is configured to control the alternating current flowing through the first coil and the second coil; monitor the first induced voltage of the first coil and the second induced voltage of the second coil; and determine the rotation direction of the second part relative to the first part based on the magnitude and trend of the first induced voltage and the second induced voltage.
[0101] In one implementation, the processor 910 is further configured to, upon determining that the second part rotates relative to the first part, determine the amount of change in the induced voltage of the second target coil, wherein the induced voltage of the second target coil is between a preset maximum value and a preset minimum value; and, based on the amount of change in the induced voltage of the second target coil and a preset correspondence, determine the rotation angle of the second part about the rotation axis relative to the first part, wherein the preset correspondence is the correspondence between the amount of change in the induced voltage and the rotation angle.
[0102] In one implementation, the processor 910 is further configured to determine that the first part is close to the second part if the induced voltage of the first target coil is detected to be greater than a preset maximum value.
[0103] It should be understood that, in this embodiment, the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042. The GPU 9041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 906 may include a display panel 9061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0104] The memory 909 can be used to store software programs and various data. The memory 909 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 909 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 909 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0105] Processor 910 may include one or more processing units; optionally, processor 910 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 910.
[0106] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described detection method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0107] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0108] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above detection method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0109] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0110] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the detection method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0111] It should be noted that, in this document, 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 a process, method, article, or apparatus. Without further limitations, 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. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0112] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0113] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A rotation detection component, characterized in that, It includes a first part and a second part that can rotate relative to each other, with the end faces of the first part and the second part facing each other; an eddy current inductor is provided at one end of the first part near the second part, and a first coil and a second coil for loading alternating current are provided at one end of the second part near the first part, with the first coil and the second coil distributed in a counterclockwise direction around the rotation axis; The eddy current sensor includes a metal conductor. The eddy current sensor is used to sense the alternating current on the first coil and generate a first induced voltage on the first coil. The eddy current sensor is also used to sense the alternating current on the second coil and generate a second induced voltage on the second coil. Rotate the first part or the second part about the axis so that the second part rotates relative to the first part about the axis of rotation in a clockwise or counterclockwise direction; The orthographic projection of the first coil onto a plane perpendicular to the axial direction has a first overlapping area with the orthographic projection of the eddy current sensor onto a plane perpendicular to the axial direction. The orthographic projection of the second coil onto a plane perpendicular to the axial direction has a second overlapping area with the orthographic projection of the eddy current sensor onto a plane perpendicular to the axial direction. During the rotation of the second part relative to the first part around the rotation axis in a clockwise or counterclockwise direction, at least one of the first overlapping area and the second overlapping area changes, causing at least one of the first induced voltage and the second induced voltage to change. The magnitude and trend of the first induced voltage and the second induced voltage are used to determine the rotation direction of the second part relative to the first part. The first part or the second part can move along the axial direction to bring the first part closer to the second part; when the first part and the second part are close together, the induced voltage of the first target coil is greater than a preset maximum value, wherein the orthographic projection of the first target coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
2. The rotation detection assembly according to claim 1, characterized in that, The eddy current sensor is provided on the end face of the first part opposite to the second part, and the first coil and the second coil are provided on the end face of the second part opposite to the first part. When the second part is in the first rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction. When the second part is in the second rotation position, the portion of the first coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the second coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction. When the second part is in the third rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction. When the second part is in the fourth rotational position, the portion of the orthographic projection of the first coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the orthographic projection of the second coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
3. The rotation detection assembly according to claim 1, characterized in that, The first coil includes a first excitation coil and a first induction coil. The first excitation coil is used to apply alternating current, and the first induction coil is used to generate the first induced voltage. The second coil includes a second excitation coil and a second induction coil. The second excitation coil is used to apply alternating current, and the second induction coil is used to generate the second induced voltage.
4. The rotation detection assembly according to claim 1, characterized in that, The second part is further provided with a third coil for loading alternating current at one end near the first part. The first coil, the second coil and the third coil are distributed in a counterclockwise direction around the rotation axis. During the rotation of the second part relative to the first part around the rotation axis, at least one of the induced voltages on the first coil, the second coil and the third coil changes.
5. The rotation detection assembly according to claim 1, characterized in that, The second part is further provided with a third coil and a fourth coil for loading alternating current at one end near the first part. The first coil, the second coil, the third coil and the fourth coil are distributed in a counterclockwise direction around the rotation axis.
6. The rotation detection assembly according to claim 5, characterized in that, With the second part in the first rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the orthographic projection of the third coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; and the portion of the orthographic projection of the fourth coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction. With the second part in the second rotational position, the portion of the first coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the second coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the third coil's orthographic projection on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; and the portion of the fourth coil's orthographic projection on the plane perpendicular to the axial direction is located within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction. With the second part in the third rotational position, the orthographic projection of the first coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the portion of the orthographic projection of the second coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; the orthographic projection of the third coil on the plane perpendicular to the axial direction is within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction; and the portion of the orthographic projection of the fourth coil on the plane perpendicular to the axial direction is outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction. With the second part in the fourth rotational position, the portion of the orthographic projection of the first coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, the orthographic projection of the second coil on the plane perpendicular to the axial direction is located within the range of the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, the portion of the orthographic projection of the third coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction, and the orthographic projection of the fourth coil on the plane perpendicular to the axial direction is located outside the orthographic projection of the eddy current sensor on the plane perpendicular to the axial direction.
7. The rotation detection assembly according to claim 6, characterized in that, If the induced voltage of the (n+1)th coil increases and the induced voltage of the nth coil is at a preset maximum value, then the second part rotates clockwise relative to the first part around the rotation axis. If the induced voltage of the (n+1)th coil increases and the induced voltage of the nth coil is at a preset minimum value, then the second part rotates counterclockwise relative to the first part around the rotation axis. If the induced voltage of the (n+1)th coil decreases and the induced voltage of the nth coil is at a preset minimum value, then the second part rotates clockwise relative to the first part around the rotation axis. If the induced voltage of the (n+1)th coil decreases and the induced voltage of the nth coil is at a preset maximum value, then the second part rotates counterclockwise relative to the first part around the rotation axis. Where n is one of 1, 2, or 3.
8. An electronic device, characterized in that, Includes the rotation detection component as described in any one of claims 1 to 7.
9. The electronic device according to claim 8, characterized in that, It also includes a housing, wherein the first part is fixedly disposed within the housing, the second part is rotatably disposed within the housing, and one end of the second part extends out of the housing; or the second part is fixedly disposed within the housing, the first part is rotatably disposed within the housing, and one end of the first part extends out of the housing.
10. The electronic device according to claim 8, characterized in that, The electronic device is a watch, with the first part located inside the watch and the second part being the crown of the watch; or the second part located inside the watch and the first part being the crown of the watch.
11. A detection method, characterized in that, Applied to the rotation detection assembly as described in claim 1, the method includes: Control the first coil and the second coil to carry alternating current; Monitor the first induced voltage of the first coil and the second induced voltage of the second coil; The rotation direction of the second part relative to the first part is determined based on the magnitude and trend of the first and second induced voltages.
12. The detection method according to claim 11, characterized in that, The method further includes: When it is determined that the second part rotates relative to the first part, the change in the induced voltage of the second target coil is determined, and the induced voltage of the second target coil is between a preset maximum value and a preset minimum value. Based on the change in the induced voltage of the second target coil and a preset correspondence, the rotation angle of the second part relative to the first part around the rotation axis is determined, wherein the preset correspondence is the correspondence between the change in the induced voltage and the rotation angle.
13. The detection method according to claim 11, characterized in that, The first portion or the second portion may be moved along the axial direction to bring the first portion closer to the second portion, and the method further includes: If the induced voltage of the first target coil is detected to be greater than the preset maximum value, it is determined that the first part and the second part are close.
Citation Information
Patent Citations
Apparatus for sesnsing rotating device
CN109586702A
Displacement measuring device and method and textile measuring device
CN113776417A
Structure of sensor for detecting rotation angle
KR1020040056215A
Measuring device for contactless measurement of a rotational angle of a rotating shaft using eddy currents
US5027067A