Crown rotation detection device and power adjustment method
By setting a conical structure in the crown rotation detection device and adjusting the light source power, the problems of reduced calculation accuracy and large power consumption caused by uneven light energy distribution in the prior art are solved, and more efficient rotation angle detection is achieved.
Patent Information
- Application Number
- CN202410075910.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2025-07-22
AI Technical Summary
The existing crown optical detection device receives a small energy on one side of the photosensitive area position and a large energy on the other side, which leads to a reduced accuracy of the rotation angle calculation result and a large power consumption of the light source.
A conical structure is provided on the table axis so that the main energy of the reflected light is concentrated in the photosensitive area of the light receiving unit, and the light source power is optimized by adjusting the power supply current of the light emitting unit to ensure that the light intensity received by the photosensitive area is within the optimal range.
The uniformity of the light energy distribution in the photosensitive region is improved, the accuracy of rotation angle calculation is improved, and the power consumption of the light source is reduced.
Smart Images

Figure CN120353114A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart watches, and more particularly, to a crown rotation detection device and a power adjustment method. Background Art
[0002] There are two types of crown detection solutions for watches. One is the traditional mechanical detection solution, and the other is the optical detection solution. The core of the optical detection solution is an optical sensor, which collects the characteristic image of the light source reflected by the watch axis, and calculates the rotation angle of the watch axis through a series of matching algorithms. The quality of the image obtained by the optical sensor in this process directly affects the accuracy of the rotation angle detection.
[0003] Considering that the watch axis is mostly a smooth metal surface, a laser VCSEL is mostly used as the light source in the optical detection solution, using the principle of coherent light diffraction. The laser irradiates the surface of the watch axis with minute unevenness, forming a speckle pattern related to the surface.
[0004] During the rotation of the watch axis, the crown detection device collects the speckle pattern on the surface of the watch axis at a certain frequency. According to the moving direction and moving distance of the same feature in two consecutive collected images, the rotation direction and the rotation angle of the watch axis can be determined.
[0005] The design optical path of the existing crown optical detection device is as Figure 1 shown. The energy distribution of the laser beam is Gaussian, that is, the energy density is high in the central part and gradually decreases towards both sides. The laser VCSEL irradiates the watch axis vertically, and the main energy of the reflected light is concentrated near the light source, while the optical sensor can only receive very little energy. Moreover, at the position of the sensor photosensitive area, the energy received on the left side, which is closer to the VCSEL, is large, and the energy received on the right side is small, resulting in the following two defects:
[0006] First, a fixed image with a gradually changing brightness that is bright on the left and dark on the right will be superimposed on the speckle image. This fixed image will cause the left area of the optical sensor to be saturated, while the brightness of the right area is very low, weakening the speckle features related to the surface of the watch axis, thereby affecting the accuracy of the calculation result.
[0007] Second, the main energy of the reflected light is concentrated near the light source. In order to make the light intensity reach the detection range of the sensor, it is necessary to increase the power of the light source, which additionally increases the power consumption. Summary of the Invention
[0008] The purpose of the embodiments of this application is to provide a crown rotation detection device and a power adjustment method to solve the problems that in the photosensitive area position of the existing crown optical detection device, the energy received on one side is small and the energy received on the other side is large, resulting in a reduction in the accuracy of the rotation angle calculation result and a large power consumption of the light source.
[0009] A crown rotation detection device provided by an embodiment of the present application includes a light emitting unit, a light receiving unit, and a watch shaft;
[0010] The watch shaft is arranged above the light emitting unit, and the watch shaft is arranged in the horizontal direction;
[0011] The light receiving unit is arranged along the first horizontal direction by the light emitting unit;
[0012] A conical structure is arranged on the watch shaft, the central axis of the conical structure coincides with the central axis of the watch shaft, and the top of the conical structure faces the first horizontal direction;
[0013] The light emitting unit vertically emits detection light to the side surface of the watch shaft;
[0014] The conical surface of the conical structure is used to receive the detection light emitted by the light emitting unit and reflect the detection light to the light receiving unit;
[0015] The light receiving unit is used to receive the detection light reflected by the conical surface of the conical structure and obtain the rotation angle of the watch shaft according to the change in the light characteristic of the received detection light; wherein, the light characteristic of the detection light reflected by the conical surface is related to the rotation position of the watch shaft.
[0016] In the above technical solution, a conical structure is arranged at the position of the light reflection surface on the watch shaft, so that the main energy of the reflected light is concentrated in the photosensitive area of the light receiving unit, improving the defect of bright on the left and dark on the right in the photosensitive area, and the main energy of the reflected light is concentrated in the photosensitive area, reducing the power consumption of the light source.
[0017] In some optional embodiments, n conical structures are arranged on the watch shaft, the central axis of each conical structure coincides with the central axis of the watch shaft, the top of each conical structure faces the first horizontal direction, and the top and bottom of adjacent two conical structures are connected; wherein, n is a positive integer greater than or equal to 2.
[0018] In the above technical solution, n conical structures similar to a multi-step structure are arranged on the watch shaft. Through the combined action of the n conical structures, the light reflected by the conical surfaces of the n conical structures is concentrated in the photosensitive area of the light receiving unit, and the occupied space is smaller compared with a single conical structure.
[0019] In some optional embodiments, the cone angle of each conical structure is the same.
[0020] In the above technical solution, the cone angle of each conical structure in the multi-step structure is the same, and the light reflected by the conical surfaces of the n conical structures is evenly distributed in the photosensitive area of the light receiving unit.
[0021] In some optional embodiments, for the n conical structures, from left to right, the cone angle of the conical structure gradually decreases.
[0022] In the above technical solution, the cone angle of the conical structure gradually decreases from left to right, and n conical structures form a light-concentrating multi-step structure, so that the light reflected by different conical surfaces is more concentrated at the same position. A light-receiving unit is arranged at this position to further reduce the power consumption of the light source. The light-concentrating multi-step structure of this embodiment is applicable to a crown rotation detection device with a small photosensitive area of the light-receiving unit.
[0023] In some alternative embodiments, for the n conical structures, from left to right, the cone angle of the conical structure gradually increases.
[0024] In the above technical solution, the cone angle of the conical structure gradually increases from left to right, and n conical structures form a light-diffusing multi-step structure, so that the light reflected by different conical surfaces is evenly distributed over the entire photosensitive area. The light-diffusing multi-step structure of this embodiment is applicable to a crown rotation detection device with a large photosensitive area of the light-receiving unit.
[0025] In some alternative embodiments, the plane of the photosensitive area of the light-receiving unit is inclined at a set angle with respect to the horizontal first direction, and the set angle is greater than 0 degrees and less than 90 degrees.
[0026] In the above technical solution, when the reflected light irradiates different positions of the photosensitive area, there are differences in the incident angles. The position where the incident angle is closer to 0 degrees receives a greater light intensity, and the position where the incident angle is larger receives a smaller light intensity. In this embodiment, the plane of the photosensitive area of the light-receiving unit is inclined, so that the incident angles of the reflected light irradiating the photosensitive area are all around 0 degrees, which can further improve the energy utilization rate of the light source, reduce the power consumption of the light source, and make the light intensities received at different positions of the photosensitive area more uniform.
[0027] In some alternative embodiments, a hinge structure is arranged between the light-emitting unit and the light-receiving unit, and the hinge structure is used to adjust the inclination angle of the light-receiving unit.
[0028] In the above technical solution, a hinge structure is arranged between the light-emitting unit and the light-receiving unit, so that the inclination angle of the photosensitive area can be adjusted according to parameters such as the height of the watch axis and the distance between the light-emitting unit and the light-receiving unit, so that the incident angles of the reflected light irradiating the photosensitive area are all around 0 degrees.
[0029] The power adjustment method provided by the embodiment of the present application applied to the above crown rotation detection device includes:
[0030] Collect pixel data using the light-receiving unit and calculate the pixel sum value;
[0031] Adjust the supply current of the light-emitting unit according to the pixel sum value.
[0032] In the above technical solution, considering the influence of factors such as the height of the watch shaft and the material of the watch shaft, even with the same optical path structure, the light intensity received by the photosensitive area will be different. Excessive or too small light intensity will cause the characteristic image to be distorted and affect the calculation accuracy. In order to make the light intensity received by the photosensitive area within the optimal range, a mechanism for adjusting the light source power is added. Specifically, according to the pixel sum value collected by the light receiving unit, the light source power is adjusted by adjusting the supply current to the light emitting unit.
[0033] In some alternative embodiments, adjusting the supply current of the light emitting unit according to the pixel sum value includes:
[0034] Determine whether the pixel sum value is less than the minimum threshold value;
[0035] If so, increase the supply current of the light emitting unit.
[0036] In some alternative embodiments, adjusting the supply current of the light emitting unit according to the pixel sum value includes:
[0037] Determine whether the pixel sum value is greater than the maximum threshold value;
[0038] If so, decrease the supply current of the light emitting unit.
[0039] An electronic device provided by an embodiment of the present application includes: a processor and a memory. The memory stores machine-readable instructions executable by the processor. When the machine-readable instructions are executed by the processor, the method described in any one of the above is executed.
[0040] A computer-readable storage medium provided by an embodiment of the present application, on which a computer program is stored. When the computer program is run by a processor, the method described in any one of the above is executed. Description of the Drawings
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0042] Figure 1 Schematic diagram of an existing crown optical detection device;
[0043] Figure 2 Schematic diagram of a crown rotation detection device structure provided by the first embodiment of the present application;
[0044] Figure 3 Schematic diagram of a crown rotation detection device structure provided by the second embodiment of the present application;
[0045] Figure 4 Schematic structural diagram of a crown rotation detection device provided in the third embodiment of the present application;
[0046] Figure 5 Schematic structural diagram of a crown rotation detection device provided in the fourth embodiment of the present application;
[0047] Figure 6 Schematic structural diagram of a crown rotation detection device provided in the fifth embodiment of the present application;
[0048] Figure 7 Flowchart of the steps of a power adjustment method provided in an embodiment of the present application;
[0049] Figure 8 Schematic diagram of a possible structure of an electronic device provided in an embodiment of the present application.
[0050] Icons: 1 - Light emitting unit, 2 - Light receiving unit, 3 - Watch shaft, 31 - Conical structure, 32 - Multi-step structure, 33 - Condensing multi-step structure, 34 - Diffusing multi-step structure, 4 - Encapsulation housing, 51 - Processor, 52 - Memory, 53 - Communication interface, 54 - Communication bus. Detailed implementation manners
[0051] Next, the technical solutions in the embodiments of the present application will be described with reference to the accompanying drawings in the embodiments of the present application.
[0052] Please refer to Figure 2 , Figure 2 Schematic structural diagram of a crown rotation detection device provided in the first embodiment of the present application. The crown rotation detection device includes a light emitting unit 1, a light receiving unit 2, and a watch shaft 3.
[0053] Among them, the watch shaft 3 is arranged above the light emitting unit 1, and the watch shaft 3 is arranged horizontally; the light receiving unit 2 is arranged on the right side of the light emitting unit 1 in the horizontal direction; a conical structure 31 is arranged on the watch shaft 3, and the central axis of the conical structure 31 coincides with the central axis of the watch shaft 3, and the top of the conical structure 31 faces the right side in the horizontal direction. The light emitting unit 1 and the light receiving unit 2 are wrapped by an encapsulation housing, and this whole is an optical sensor. Specifically, the light emitting unit 1 uses a vertical cavity surface emitting laser (abbreviated as VCSEL, also translated as vertical resonance cavity surface emitting laser), which is a semiconductor, and its laser emits perpendicularly to the top surface. The top of the light receiving unit 2 has a photosensitive area with a certain area size.
[0054] The light-emitting unit 1 emits detection light vertically to the side of the watch axis 3; the conical surface of the conical structure 31 is used to receive the detection light emitted by the light-emitting unit 1 and reflect the detection light to the light-receiving unit 2; the light-receiving unit 2 is used to receive the detection light reflected by the conical surface of the conical structure 31 and obtain the rotation angle of the watch axis 3 according to the change in the light characteristics of the received detection light; wherein, the light characteristics of the detection light reflected by the conical surface are related to the rotation position of the watch axis 3.
[0055] Figure 2 On the right side of the watch axis 3 in the middle, there is a hand-held knob. The user rotates the knob manually to rotate the watch axis 3. The rotation angle of the watch axis 3 is detected by an optical sensor composed of the light-emitting unit 1 and the light-receiving unit 2. It should be clear that the hand-held knob can also be set on the left side of the watch axis 3. In the embodiment of the present application, a conical structure 31 is provided at the position of the light reflection surface on the watch axis 3, so that the main energy of the reflected light is concentrated in the photosensitive area of the light-receiving unit 2, improving the defect of the left side being bright and the right side being dark in the photosensitive area, and the main energy of the reflected light is concentrated in the photosensitive area, reducing the requirement for the light source power and reducing the power consumption of the light source.
[0056] In this embodiment, the light-emitting unit 1 and the light-receiving unit 2 are in the same plane. The distance from the center of the laser emission port of the light-emitting unit 1 to the center point of the photosensitive area of the light-receiving unit 2 is the center distance L, and the distance from the watch axis 3 to the optical sensor is the height H of the watch axis 3. The size and cone angle of the conical structure 31 are determined by parameters such as the center distance L and the height H of the watch axis 3, so that the light perpendicular to the top of the light-emitting unit 1 reaches the center point position of the photosensitive area after being reflected by the conical surface of the conical structure 31, and the light with a set divergence angle emitted by the light-emitting unit 1 can cover the entire photosensitive area after being reflected by the conical surface of the conical structure 31.
[0057] In some alternative embodiments, please refer to Figure 3 , Figure 3 is a schematic structural diagram of a crown rotation detection device provided by the second embodiment of the present application. The difference from the first embodiment is that: n conical structures 31 are provided on the watch axis 3. The central axis of each conical structure 31 coincides with the central axis of the watch axis 3, and the top of each conical structure 31 faces the right side in the horizontal direction. The tops and bottoms of adjacent two conical structures 31 are connected; wherein, n is a positive integer greater than or equal to 2. In this embodiment, n is equal to 6. As can be seen from the figure, the combination of 6 small conical structures 31 occupies less volume than a large conical structure 31, which is beneficial to the miniaturization of the device.
[0058] In the embodiment of the present application, n conical structures 31 similar to a multi-step structure are provided on the watch axis 3. Through the combined action of the n conical structures 31, the light reflected by the conical surfaces of the n conical structures 31 is concentrated in the photosensitive area of the light-receiving unit 2, occupying less space than a single conical structure 31.
[0059] In this embodiment, the cone angles of each conical structure 31 are the same. The light-emitting unit 1 and the light-receiving unit 2 are in the same plane. The distance from the center of the laser emission port of the light-emitting unit 1 to the center point of the photosensitive area of the light-receiving unit 2 is the center distance L, and the distance from the watch axis 3 to the optical sensor is the height H of the watch axis 3. The size and cone angle of the conical structure 31 are determined by parameters such as the number of conical structures 31, the center distance L, and the height H of the watch axis 3, so that the light perpendicular to the top of the light-emitting unit 1 reaches the center point position of the photosensitive area after being reflected by the conical surface of one of the conical structures 31, and the light with a set divergence angle emitted by the light-emitting unit 1 can cover the entire photosensitive area after being reflected by the conical surfaces of n conical structures 31.
[0060] In the embodiment of the present application, the cone angles of each conical structure 31 in the multi-step structure 32 are the same, and the light reflected by the conical surfaces of the n conical structures 31 is evenly distributed in the photosensitive area of the light-receiving unit 2.
[0061] In some optional embodiments, please refer to Figure 4 , Figure 4 FIG. is a schematic structural diagram of a crown rotation detection device provided in the third embodiment of the present application. The difference from the first embodiment is that: n conical structures 31 are provided on the watch axis 3. Among the n conical structures 31, from left to right, the cone angles of the conical structures 31 gradually decrease. The central axis of each conical structure 31 coincides with the central axis of the watch axis 3, the top of each conical structure 31 faces the right side in the horizontal direction, and the tops and bottoms of adjacent two conical structures 31 are connected; where n is a positive integer greater than or equal to 2. In this embodiment, n is equal to 6. As can be seen from the figure, the combination of 6 small conical structures 31 occupies less volume than a large conical structure 31, which is beneficial to the miniaturization of the device.
[0062] In the embodiment of the present application, n conical structures 31 similar to a multi-step structure are provided on the watch axis 3. Through the combined action of the n conical structures 31, the light reflected by the conical surfaces of the n conical structures 31 is concentrated in the photosensitive area of the light-receiving unit 2, occupying less space than a single conical structure 31. Moreover, the cone angles of the conical structures 31 gradually decrease from left to right, and the n conical structures 31 form a light-gathering multi-step structure 33, so that the light reflected by different conical surfaces is more concentrated at the same position. The light-receiving unit 2 is arranged at this position, further reducing the power consumption of the light source. The light-gathering multi-step structure 33 of this embodiment is applicable to a crown rotation detection device with a relatively small photosensitive area of the light-receiving unit 2.
[0063] In this embodiment, the cone angle of each conical structure 31 gradually decreases from left to right. The light-emitting unit 1 and the light-receiving unit 2 are in the same plane. The distance from the center of the laser emission port of the light-emitting unit 1 to the center point of the photosensitive area of the light-receiving unit 2 is the center distance L, and the distance from the watch shaft 3 to the optical sensor is the height H of the watch shaft 3. The size and cone angle of each conical structure 31 are determined by parameters such as the number of conical structures 31, the center distance L, and the height H of the watch shaft 3, so that the light perpendicular to the top of the light-emitting unit 1 reaches the center point position of the photosensitive area after being reflected by the conical surface of one or more conical structures 31, and the light with a set divergence angle emitted by the light-emitting unit 1 can cover a smaller photosensitive area after being reflected by the conical surfaces of n conical structures 31.
[0064] In some alternative embodiments, please refer to Figure 5 , Figure 5 FIG. is a schematic structural diagram of a crown rotation detection device provided in the fourth embodiment of the present application. The difference from the first embodiment is that: n conical structures 31 are provided on the watch shaft 3. Among the n conical structures 31, from left to right, the cone angle of the conical structure 31 gradually increases. The central axis of each conical structure 31 coincides with the central axis of the watch shaft 3. The top of each conical structure 31 faces the right in the horizontal direction, and the tops and bottoms of adjacent two conical structures 31 are connected; where n is a positive integer greater than or equal to 2. In this embodiment, n is equal to 6. It can be seen from the figure that the combination of 6 small conical structures 31 occupies a smaller volume compared with a large conical structure 31, which is beneficial to the miniaturization of the device.
[0065] In the embodiments of the present application, n conical structures 31 similar to a multi-step structure are provided on the watch shaft 3. Through the combined action of the n conical structures 31, the light reflected by the conical surfaces of the n conical structures 31 is concentrated in the photosensitive area of the light-receiving unit 2, occupying a smaller space compared with a single conical structure 31. Moreover, the cone angle of the conical structure 31 gradually increases from left to right, and the n conical structures 31 form a multi-step structure 34 with a light-scattering type, so that the light reflected by different conical surfaces is evenly distributed in the entire photosensitive area. The multi-step structure 34 with a light-scattering type in this embodiment is applicable to a crown rotation detection device with a relatively large photosensitive area of the light-receiving unit 2.
[0066] In this embodiment, the cone angle of each conical structure 31 gradually decreases from left to right. The light-emitting unit 1 and the light-receiving unit 2 are in the same plane. The distance from the center of the laser emission port of the light-emitting unit 1 to the center point of the photosensitive area of the light-receiving unit 2 is the center distance L, and the distance from the watch axis 3 to the optical sensor is the height H of the watch axis 3. The size and cone angle of each conical structure 31 are determined by parameters such as the number of conical structures 31, the center distance L, and the height H of the watch axis 3, so that the light perpendicular to the top of the light-emitting unit 1 reaches the center point position of the photosensitive area after being reflected by the conical surface of one of the conical structures 31, and the light with a set divergence angle emitted by the light-emitting unit 1 can cover a larger photosensitive area after being reflected by the conical surfaces of n conical structures 31.
[0067] In some alternative embodiments, please refer to Figure 6 , Figure 6 FIG. is a schematic structural diagram of a crown rotation detection device provided in the fifth embodiment of the present application. The difference from the second embodiment is that: the plane of the photosensitive area of the light-receiving unit 2 is inclined at a set angle to the right in the horizontal direction, and the set angle is greater than 0 degrees and less than 90 degrees. In the embodiments of the present application, when the reflected light irradiates different positions of the photosensitive area, the incident angles are different. The position where the incident angle is closer to 0 degrees receives stronger light intensity, and the position where the incident angle is larger receives weaker light intensity. In this embodiment, the plane of the photosensitive area of the light-receiving unit 2 is inclined, so that the incident angles of the reflected light irradiating the photosensitive area are all around 0 degrees, which can further improve the energy utilization rate of the light source, reduce the power consumption of the light source, and make the light intensities received by different positions of the photosensitive area more uniform.
[0068] In some alternative embodiments, a hinge structure is provided between the light-emitting unit 1 and the light-receiving unit 2, and the hinge structure is used to adjust the tilt angle of the light-receiving unit 2. In the embodiments of the present application, a hinge structure is provided between the light-emitting unit 1 and the light-receiving unit 2, so that the tilt angle of the photosensitive area can be adjusted according to parameters such as the height of the watch axis 3 and the distance between the light-emitting unit 1 and the light-receiving unit 2, so that the incident angles of the reflected light irradiating the photosensitive area are all around 0 degrees.
[0069] The power adjustment method applied to the above-mentioned crown rotation detection device provided by the embodiments of the present application includes: collecting pixel data by using the light-receiving unit 2 and calculating the pixel sum value; adjusting the supply current of the light-emitting unit 1 according to the pixel sum value.
[0070] In the embodiments of the present application, considering the influence of factors such as the height of the watch axis 3 and the material of the watch axis 3, even with the same optical path structure, the light intensities received by the photosensitive area are different. Excessive or too small light intensity will cause distortion of the characteristic image and affect the calculation accuracy. In order to make the light intensity received by the photosensitive area within the optimal range, a light source power adjustment mechanism is added. Specifically, according to the pixel sum value collected by the light-receiving unit 2, the light source power is adjusted by adjusting the supply current of the light-emitting unit 1.
[0071] In some alternative embodiments, adjusting the supply current of the light-emitting unit 1 according to the pixel sum value includes: determining whether the pixel sum value is less than the minimum threshold value; if so, increasing the supply current of the light-emitting unit 1.
[0072] In some alternative embodiments, adjusting the supply current of the light-emitting unit 1 according to the pixel sum value includes: determining whether the pixel sum value is greater than the maximum threshold value; if so, decreasing the supply current of the light-emitting unit 1.
[0073] Please refer to Figure 7 , Figure 7 which is the flowchart of the power adjustment method steps provided by the embodiment of the present application. First, set the thresholds of all pixel sum values of the sensor, where sum_max_th is the maximum threshold value of the pixel sum value, and sum_mix_th is the minimum threshold value of the pixel sum value. The light-receiving unit 2 uses the supply current of the initial light-emitting unit 1 to perform image acquisition. After acquiring a frame of image, calculate the pixel sum value of the entire frame of image. Next, determine whether the sum value is less than the minimum threshold value sum_mix_th. If so, increase the supply current of the light-emitting unit 1; if not, determine whether the sum value is greater than the maximum threshold value sum_max_th. If so, decrease the supply current of the light-emitting unit 1; otherwise, use the supply current of the light-emitting unit 1 in the previous time to perform the next frame of image acquisition. Using this method can ensure that the light intensity received by the light-receiving unit 2 is always within the optimal range during use.
[0074] Furthermore, to avoid the influence of the brightness change between adjacent two images on the matching calculation, feature extraction algorithms such as Laplace can be used to perform noise reduction processing on the original image, and then perform the matching calculation.
[0075] Figure 8 shows a possible structure of the electronic device provided by the embodiment of the present application. Refer to Figure 8 , the electronic device includes: a processor 51, a memory 52, and a communication interface 53, and these components are interconnected and communicate with each other through a communication bus 54 and / or other forms of connection mechanisms (not shown).
[0076] Among them, the memory 52 includes one or more (only one is shown in the figure), which can be, but is not limited to, random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc. The processor 51 and other possible components can access the memory 52, read and / or write data therein.
[0077] The processor 51 includes one or more (only one is shown in the figure), which can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 51 can be a general-purpose processor, including a central processing unit (CPU), a micro controller unit (MCU), a network processor (NP), or other conventional processors; it can also be a dedicated processor, including a neural-network processing unit (NPU), a graphics processing unit (GPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. And when there are multiple processors 51, a part of them can be general-purpose processors, and another part can be dedicated processors.
[0078] The communication interface 53 includes one or more (only one is shown in the figure), which can be used to communicate directly or indirectly with other devices for data interaction. The communication interface 53 can include interfaces for wired and / or wireless communication.
[0079] One or more computer program instructions may be stored in the memory 52, and the processor 51 may read and execute these computer program instructions to implement the method provided in the embodiments of the present application.
[0080] It can be understood that Figure 8 The structure shown is only schematic, and the electronic device may also include more or fewer components than those shown in Figure 8 , or have a different structure from that shown in Figure 8 . Figure 8 Each component shown in can be implemented by hardware, software, or a combination thereof. The electronic device may be a physical device, such as a PC, laptop, tablet, mobile phone, server, embedded device, etc., or a virtual device, such as a virtual machine, virtualization container, etc. Moreover, the electronic device is not limited to a single device, and may also be a combination of multiple devices or a cluster composed of a large number of devices.
[0081] The embodiments of the present application also provide a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are read and executed by a processor of the computer, the method provided in the embodiments of the present application is executed. For example, the computer-readable storage medium may be implemented as Figure 8 the memory 52 in the electronic device in.
[0082] In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces. The indirect coupling or communication connection of the apparatus or unit may be in an electrical, mechanical, or other form.
[0083] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0084] Furthermore, in each embodiment of the present application, the functional modules may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
[0085] In this document, relational terms such as first and second are used solely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0086] The above description is only for the embodiments of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A crown rotation detection device, characterized in that, It includes a light-emitting unit, a light-receiving unit and a watch axis; The watch axis is arranged above the light-emitting unit, and the watch axis is arranged in the horizontal direction; The light-emitting unit arranges the light-receiving unit along the first horizontal direction; A conical structure is arranged on the watch axis, the central axis of the conical structure coincides with the central axis of the watch axis, and the top of the conical structure faces the first horizontal direction; The light-emitting unit vertically emits detection light to the side of the watch axis; The conical surface of the conical structure is used to receive the detection light emitted by the light-emitting unit and reflect the detection light to the light-receiving unit; The light-receiving unit is used to receive the detection light reflected by the conical surface of the conical structure and obtain the rotation angle of the watch axis according to the change of the light characteristics of the received detection light; wherein, the light characteristics of the detection light reflected by the conical surface are related to the rotation position of the watch axis.
2. The device according to claim 1, characterized in that, n conical structures are arranged on the watch axis, the central axis of each conical structure coincides with the central axis of the watch axis, the top of each conical structure faces the first horizontal direction, and the tops and bottoms of adjacent two conical structures are connected; wherein, n is a positive integer greater than or equal to 2.
3. The device according to claim 2, characterized in that, The cone angle of each conical structure is the same.
4. The device according to claim 2, characterized in that For the n conical structures, from left to right, the cone angle of the conical structure gradually decreases.
5. The device according to claim 2, characterized in that, For the n conical structures, from left to right, the cone angle of the conical structure gradually increases.
6. The device according to claim 1, wherein The photosensitive area plane of the light-receiving unit is inclined at a set angle with respect to the first horizontal direction, and the set angle is greater than 0 degree and less than 90 degrees.
7. The device according to claim 6, characterized in that, A hinge structure is arranged between the light-emitting unit and the light-receiving unit, and the hinge structure is used to adjust the inclination angle of the light-receiving unit.
8. A power adjustment method for a crown rotation detection device according to any one of claims 1-6, characterized in that, It includes: Collect pixel data by using the light-receiving unit and calculate the pixel sum value; Adjust the supply current of the light-emitting unit according to the pixel sum value.
9. The method according to claim 8, wherein The adjusting the supply current of the light-emitting unit according to the pixel sum value includes: Judge whether the pixel sum value is less than the minimum threshold value; If so, increase the supply current of the light-emitting unit.
10. The method according to claim 8, wherein The adjusting the supply current of the light-emitting unit according to the pixel sum value includes: Judge whether the pixel sum value is greater than the maximum threshold value; If so, decrease the supply current of the light-emitting unit.