Light sensation encoder and audio equipment
By designing a photosensitive encoder in an audio device, using the reflective and light-absorbing areas on the reflective optocoupler and rotating disc, the direct stress problem of the printed circuit board caused by the knob structure is solved, and the electrostatic interference is reduced and improved Effects of equipment stability.
Patent Information
- Application Number
- CN202411629626.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-02-25
AI Technical Summary
The knob structure in existing audio equipment will cause direct stress on the printed circuit board when rotated, increasing the risk of electrostatic interference.
Design a light-sensitive encoder, which adopts an external knob, an internal rotating disk, a printed circuit board and a plurality of reflective optocouplers. By setting the reflective area and the absorbing area on the inner rotating disk, different signals are outputted using the reflective optocoupler to realize the knob function, and interact through the propagation of light, avoiding direct stress on the printed circuit board by the structural parts.
It effectively reduces the stress of the printed circuit board during rotation, reduces static interference, and improves the stability and reliability of the equipment.
Smart Images

Figure CN119510808A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of encoders, and in particular to a light-sensing encoder and an audio device. Background Art
[0002] At present, the volume increase and decrease of audio products are generally achieved through buttons or knobs. For the knob structure, the signal is usually transmitted through the structural parts and triggered by the potentiometer or encoder to output the signal to the PCBA (Printed Circuit Board Assembly). This method makes the PCBA directly subjected to force and more electrostatic interference. Summary of the invention
[0003] The main purpose of the present invention is to provide a light-sensing encoder and an audio device, aiming to solve the problem in the prior art that the knob structure causes direct force on the PCBA when rotating.
[0004] To achieve the above object, the present invention provides a light-sensitive encoder, which includes an outer knob, an inner rotating disk, a printed circuit board, and a plurality of reflective optical couplers; wherein:
[0005] The outer knob is coaxially fixedly connected to the inner rotating disk, and the inner rotating disk is provided with a plurality of light reflecting areas and a plurality of light absorbing areas distributed along a first circle at intervals, wherein the first circle takes the rotation axis of the inner rotating disk as the center, and the plane where the first circle is located is perpendicular to the rotation axis of the inner rotating disk;
[0006] The printed circuit board is arranged parallel to the plane where the first circle is located, and a plurality of the reflective optical couplers are electrically connected to the printed circuit board relative to the inner rotating disk, wherein the projection of the reflective optical couplers on the plane where the first circle is located is located on the first circle, and at the same moment, the relative positions of different reflective optical couplers and the corresponding reflective area or the light absorbing area are different.
[0007] Optionally, the surface of the inner rotating disk is black, and white reflective paper is provided in the reflective area of the inner rotating disk.
[0008] Optionally, the inner rotating disk is provided with a groove in the light absorbing area.
[0009] Optionally, for any one of the reflective area or the light absorbing area, in the process of the projection of the reflective optical coupler on the plane where the first circle is located intersecting with the projection of the reflective area or the light absorbing area on the plane where the first circle is located, there is at least one moment when the projection of the reflective optical coupler on the plane where the first circle is located is included in the projection of the reflective area or the light absorbing area on the plane where the first circle is located.
[0010] Optionally, the arc length corresponding to the light-reflecting area and the light-absorbing area on the first circle is a first arc length;
[0011] The arc length between the projections of the centers of the two reflective optocouplers on the first circle is the second arc length, and the second arc length corresponding to any two reflective optocouplers is a non-even integer multiple of the first arc length.
[0012] Optionally, the arc lengths of the light-reflecting areas and the light-absorbing areas corresponding to each other on the first circle are first arc lengths, the number of the light-reflecting areas is an odd number, and the number of the light-absorbing areas is an odd number;
[0013] The number of the reflective optical couplers is 2, and the center line connecting the two reflective optical couplers intersects with the rotation axis of the inner rotating disk.
[0014] Optionally, the arc length corresponding to the light-reflecting area on the first circle is a third arc length, the arc length corresponding to the light-absorbing area on the first circle is a fourth arc length, and the sum of the third arc length and the fourth arc length is a fifth arc length;
[0015] The arc length between the projections of the centers of the two reflective optical couplers on the first circle is the second arc length, and the second arc length corresponding to any two reflective optical couplers is a non-integer multiple of the fifth arc length.
[0016] Optionally, the optical encoder further comprises a housing and a connecting shaft, a through hole is arranged on the first side of the housing, the outer knob is arranged on the outer side of the first side of the housing, the inner rotating disk is arranged on the inner side of the first side of the housing, and the connecting shaft passes through the through hole and is fixedly connected to the outer knob and the inner rotating disk respectively;
[0017] The printed circuit board is arranged on the inner side of the second side of the housing, wherein the first side of the housing is arranged opposite to the second side.
[0018] Optionally, a microcontroller unit and a plurality of signal acquisition circuits are arranged on the printed circuit board, the signal acquisition circuits are connected to the reflective optical couplers in a one-to-one correspondence, and the output end of the signal acquisition circuit is connected to the microcontroller unit; wherein:
[0019] The signal acquisition circuit is used to output a corresponding signal waveform according to the conduction state of the reflective optical coupler;
[0020] The micro control unit is used to determine the rotation state of the external knob according to the signal waveform output by each signal acquisition circuit, and output a control signal corresponding to the rotation state.
[0021] Optionally, the signal acquisition circuit includes an operational amplifier, a buck filter unit and a reference voltage unit; the emitter of the reflective optocoupler is connected to the inverting input terminal of the operational amplifier through the buck filter unit, the reference voltage unit is connected to the non-inverting input terminal of the operational amplifier, and the output terminal of the operational amplifier is connected to the micro control unit.
[0022] To achieve the above object, the present invention provides an audio device, the audio device comprising a control chip and the above-mentioned light-sensing encoder, the output end of the printed circuit board in the light-sensing encoder is connected to the control chip; wherein:
[0023] The control chip is used to receive the control signal output by the light sensor encoder and adjust the audio parameters of the audio device according to the control signal.
[0024] The present invention proposes a photosensitive encoder and audio device, wherein the photosensitive encoder includes an outer knob, an inner rotating disk, a printed circuit board and a plurality of reflective optical couplers; wherein: the outer knob is coaxially fixedly connected to the inner rotating disk, and the inner rotating disk is provided with a plurality of reflective areas and a plurality of light absorbing areas distributed along a first circle at intervals, wherein the first circle takes the rotation axis of the inner rotating disk as the center, and the plane where the first circle is located is perpendicular to the rotation axis of the inner rotating disk; the printed circuit board is arranged parallel to the plane where the first circle is located, and a plurality of the reflective optical couplers are electrically connected to the printed circuit board relative to the inner rotating disk, wherein the projection of the reflective optical couplers on the plane where the first circle is located is located on the first circle, and at the same time, the relative positions of different reflective optical couplers and the corresponding reflective areas or light absorbing areas are different. By setting a light-absorbing area and a light-reflecting area to reflect or absorb the light emitted by the reflective optocoupler, when the outer knob drives the inner rotating disk to rotate, the reflective optocoupler can output different signals based on the corresponding light-absorbing area or the light-reflecting area. Since the relative positions of different reflective optocouplers and the reflective area or the light-absorbing area are different, the waveforms output by different reflective optocouplers are different. Therefore, the rotation direction can be determined by different reflective optocouplers to realize the knob function. At the same time, the inner rotating disk and the reflective optocoupler interact through the propagation of light. Therefore, there is no need to set a structural part between the inner rotating disk and the reflective optocoupler, and the rotating part and the signal output part are separately set, which avoids the printed circuit board from being subjected to force during rotation and reduces the electrostatic interference on the printed circuit board. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0026] Figure 1 A schematic diagram of the structure of an embodiment of a light-sensitive encoder of the present invention;
[0027] Figure 2 A first circular schematic diagram of an embodiment of a light-sensitive encoder of the present invention;
[0028] Figure 3 A front view of an embodiment of a light-sensitive encoder of the present invention;
[0029] Figure 4 It is a schematic diagram of the overall structure of an embodiment of a light-sensitive encoder of the present invention;
[0030] Figure 5 A side view of an optical encoder including a housing according to an embodiment of the present invention;
[0031] Figure 6 A side view of an embodiment of the optical encoder of the present invention without the housing;
[0032] Figure 7 The figure is a schematic diagram of the circuit structure of a printed circuit board in one embodiment of the optical encoder of the present invention.
[0033] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
[0034] Description of Figure Numbers:
[0035] Label name Label name 1 External knob 4 Reflective Optocoupler 2 Inner rotating disc 5 shell 21 Reflective areas 6 Connecting shaft 22 Absorption area CI First round 3 Printed Circuit Board R1~R6 The first resistor to the sixth resistor 310 Signal acquisition circuit C1 First capacitor 311 Buck filter unit U1 Operational Amplifier 312 Reference voltage unit MCU Microcontroller unit DETAILED DESCRIPTION
[0036] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0039] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0040] The present invention provides a light-sensitive encoder, see Figure 1 , Figure 1 The schematic diagram of the structure of an embodiment of the optical encoder of the present invention is shown in FIG. In this embodiment, the optical encoder comprises an outer knob 1, an inner rotating disk 2, a printed circuit board 3 and a plurality of reflective optical couplers 4; wherein:
[0041] The outer knob 1 is coaxially fixedly connected to the inner rotating disk 2, and the inner rotating disk 2 is provided with a plurality of reflective areas 21 and a plurality of light absorbing areas 22 distributed along a first circular CI at intervals, wherein the first circular CI takes the rotation axis of the inner rotating disk 2 as the center, and the plane where the first circular CI is located is perpendicular to the rotation axis of the inner rotating disk 2;
[0042] The printed circuit board 3 is arranged parallel to the plane where the first circular CI is located, and a plurality of the reflective optical couplers 4 are electrically connected to the printed circuit board 3 relative to the inner rotating disk 2, wherein the projection of the reflective optical coupler 4 on the plane where the first circular CI is located is located on the first circular CI, and at the same moment, the relative positions of different reflective optical couplers 4 and the corresponding reflective area 21 or the light absorbing area 22 are different.
[0043] The outer knob 1 is fixedly connected to the inner rotating disk 2 , so when the outer knob 1 is rotated by a user, the inner rotating disk 2 will rotate synchronously.
[0044] The reflective area 21 and the light absorbing area 22 are arranged on the side of the inner rotating disk 2 facing the reflective optical coupler 4; it can be understood that the reflective optical coupler 4 is composed of a light output unit and a light detection unit, such as the reflective optical coupler 4 can include a light emitting diode and a photosensitive switch. When light is irradiated on the photosensitive switch, the photosensitive switch is turned on, and when no light is irradiated on the photosensitive switch, the photosensitive switch is turned off. The reflective area 21 can reflect light. If the light emitted by the reflective optical coupler 4 is emitted to the reflective area 21, the light is reflected by the reflective area 21 and reaches the photosensitive switch of the reflective optical coupler 4, and the photosensitive switch is turned on; the light absorbing area 22 can absorb light. If the light emitted by the reflective optical coupler 4 is emitted to the light absorbing area 22, the light is absorbed by the light absorbing area 22, and the photosensitive switch of the reflective optical coupler 4 is not irradiated with light, and the photosensitive switch is turned off.
[0045] See also Figure 2 , the first circular CI is arranged perpendicular to the rotation axis of the inner rotating disk 2 and takes the rotation axis as the center of the circle, therefore, when the inner rotating disk 2 rotates, the first circular CI also rotates based on the rotation axis; and the reflective area 21 and the light absorbing area 22 are arranged on the first circular CI, therefore, the reflective area 21 and the light absorbing area 22 also rotate around the rotation axis; the diameter of the first circular CI can be set based on actual needs; it should be noted that the reflective area 21 and the light absorbing area 22 have a certain area, and the edge of the first circular CI is in the form of a line, therefore, in the specific setting When the reflective area 21 and the light absorbing area 22 are arranged, the correspondence between the reflective area 21, the light absorbing area 22 and the edge of the first circular CI can be set based on actual needs. For example, the reflective area 21 and the light absorbing area 22 can be set to cover a part of the edge of the first circular CI, or the reflective area 21 and the light absorbing area 22 can be set with the edge of the first circular CI as the outer boundary or inner boundary; or the center point of the reflective area 21 and the light absorbing area 22 can be set on the edge of the first circular CI; the position setting of the subsequent reflective optical coupler 4 and the edge of the first circular CI is the same and will not be repeated.
[0046] The reflective optical coupler 4 is arranged on the printed circuit board 3, and the structure composed of the printed circuit board 3 and the reflective optical coupler 4 is isolated from the inner rotating disk 2. Therefore, when the inner rotating disk 2 rotates, the printed circuit board 3 and the reflective optical coupler 4 will not follow the action; the projection of the reflective optical coupler 4 on the plane where the first circular CI is located is located on the first circular CI, that is, the projections of the reflective optical coupler 4 and the reflective area 21 and the light absorbing area 22 on the plane where the first circular CI is located are all located on the first circular CI, specifically, on the edge of the first circular CI. Therefore, the light emitted by the reflective optical coupler 4 Light can reach the reflective area 21 or the light absorbing area 22; and as the inner rotating disk 2 rotates, the reflective area 21 and the light absorbing area 22 rotate around the rotation axis, while the position of the reflective optical coupler 4 remains unchanged. Therefore, the specific area where the light emitted by the reflective optical coupler 4 reaches changes, and the reflective area 21 and the light absorbing area 22 are distributed at intervals. Therefore, the position where the light emitted by the reflective optical coupler 4 reaches will switch between the reflective area 21 and the light absorbing area 22 as the inner rotating disk 2 rotates, and the conduction state of the reflective optical coupler 4 also switches as the inner rotating disk 2 rotates. It should be noted that the light emitted by the reflective optocoupler 4 has a certain exit angle, and the photosensitivity switch in the reflective optocoupler 4 also has certain requirements for the incident angle. Therefore, in order to ensure that when the reflective optocoupler 4 is relative to the reflective area 21, the reflective area 21 can reflect the light emitted by the reflective optocoupler 4 to the photosensitivity switch, it is necessary to set the distance between the reflective optocoupler 4 and the reflective area 21 based on the specific parameters of the reflective optocoupler 4, such as 1mm; at the same time, since the height of the reflective optocoupler 4 itself is relatively low, such as the total height from the reflective optocoupler 4 to the reflective area 21 is 2.5mm, the encoder can occupy less space.
[0047] From the above description, it can be seen that the reflective optical coupler 4 can detect whether the external knob 1 is rotated or not, but the knob often has different functions based on the different rotation directions. For example, for an audio device, the external knob 1 can be set as a volume adjustment knob. The volume adjustment knob rotates clockwise for volume + and counterclockwise for volume -; therefore, it is also necessary to detect the rotation direction of the knob.
[0048] In order to detect the rotation direction, multiple reflective optical couplers 4 are set in the present embodiment, and at the same time, different reflective optical couplers 4 have different relative positions with the relative reflective area 21 or the light absorbing area 22 at the same time; it can be understood that if at the same time, the relative positions between different reflective optical couplers 4 and the relative reflective area 21 or the light absorbing area 22 are the same, it means that the photosensitive switches of these reflective optical couplers 4 receive the light reflected by the light absorbing area 22, and stop receiving the light at the same time, then the signal waveforms output by these reflective optical couplers 4 are the same, and cannot provide effective information for the rotation direction; therefore, in the present embodiment, different reflective optical couplers 4 are set at different relative positions with the relative reflective area 21 or the light absorbing area 22 at the same time, so that the photosensitive switches of the reflective optical couplers 4 receive the light reflected by the light absorbing area 22, and stop receiving the light at different times, thereby making Different reflective optocouplers 4 output different waveforms, that is, they have a certain phase difference. In this case, based on the different rotation directions, the phase relationship between the waveforms output by the reflective optocouplers 4 is also different. For example, for two reflective optocouplers 4A and B, when the outer knob 1 rotates clockwise, the phase of the reflective optocoupler 4A outputting a high level is ahead of B. If the outer knob 1 rotates counterclockwise, the phase of the reflective optocoupler 4B outputting a high level is ahead of A. Therefore, the rotation direction of the outer knob 1 can be determined by the phase of the waveforms output by the two reflective optocouplers 4; and setting a larger number of reflective optocouplers 4 can improve the efficiency of rotation direction detection. It can be understood that the phases of the waveforms output by any two reflective optocouplers 4 have a certain phase difference. At the same time, the high levels of the waveforms output by any two reflective optocouplers 4 have overlapping parts, and / or the low levels of the waveforms output by any two reflective optocouplers 4 have overlapping parts.
[0049] In this embodiment, a light-absorbing area 22 and a light-reflecting area 21 are set to absorb or reflect the light emitted by the reflective optical coupler 4, so that when the outer knob 1 drives the inner rotating disk 2 to rotate, the reflective optical coupler 4 can output different signals based on the corresponding light-absorbing area 22 or the light-reflecting area 21. Since the relative positions of different reflective optical couplers 4 and the light-reflecting area 21 or the light-absorbing area 22 are different, the waveforms output by different reflective optical couplers 4 are different. Therefore, the rotation direction can be determined by different reflective optical couplers 4 to realize the knob function. At the same time, the inner rotating disk 2 and the reflective optical coupler 4 interact through the propagation of light. Therefore, there is no need to set a structural part between the inner rotating disk 2 and the reflective optical coupler 4. The rotating part and the signal output part are separately set, which avoids the printed circuit board 3 from being subjected to force during rotation and reduces the electrostatic interference to the printed circuit board 3.
[0050] Further, see Figure 2The surface of the inner rotating disk 2 is black, and white reflective paper is set in the reflective area 21 of the inner rotating disk 2.
[0051] The surface of the inner rotating disk 2 is set to black, so the light emitted to the surface of the inner rotating disk 2 will be absorbed, and the reflective area 21 on the surface of the inner rotating disk 2 is set with white reflective paper, so the light emitted to the white reflective paper will be reflected; and the light absorbing area 22 on the inner rotating disk 2 is not set with white reflective paper, and the black surface is directly exposed, so the light absorbing area 22 can absorb the light; the setting of the reflective area 21 and the light absorbing area 22 is realized.
[0052] It should be noted that, in this embodiment, the light absorbing area 22 is described by taking black as an example. In practical applications, when the specific material, color or structure can ensure the complete absorption of the light emitted by the reflective optical coupler 4, or the reflected light cannot reach the photosensor of the reflective optical coupler 4, or the brightness of the reflected light cannot trigger the photosensor of the reflective optical coupler 4 to turn on, the material, color and structure of the light absorbing area 22 can be set based on actual needs.
[0053] Similarly, when the specific material, color or structure can ensure that the light emitted by the reflective optical coupler 4 is reflected to its photosensor and the brightness of the light can turn on the photosensor, the material, color and structure of the reflective area 21 can be set based on actual needs.
[0054] Further, see Figure 3 The inner rotating disk 2 is provided with a groove in the light absorbing area 22 .
[0055] It is understandable that in actual applications, it is difficult to set the light absorbing area 22 to completely absorb the light emitted by the reflective optocoupler 4. Therefore, in order to further avoid reflecting the light to the photosensitivity switch of the reflective optocoupler 4, a groove is set in the light absorbing area 22 in this embodiment, and the light absorbing area 22 is set at the bottom of the groove; at this time, the light absorbing area 22 and the reflective area 21 are located on different planes, and the plane where the light absorbing area 22 is located is farther away from the reflective optocoupler 4 than the reflective area 21; it is understandable that the reflective area 21 can reflect the light emitted by the reflective optocoupler 4 to its photosensitivity switch, and because the light absorbing area 22 is farther away from the emission point of the light, under the same light emission angle, the reflection point of the light received by the light absorbing area 22 will be further away from the photosensitivity switch than the reflective area 21, so that even if there is reflection of light in the light absorbing area 22, the reflected light cannot enter the photosensitivity switch, thereby ensuring the accuracy of the encoder.
[0056] Furthermore, for any of the reflective areas 21 or the light-absorbing areas 22, in the process of the projection of the reflective optical coupler 4 on the plane where the first circular CI is located intersecting with the projection of the reflective area 21 or the light-absorbing area 22 on the plane where the first circular CI is located, there is at least one moment when the projection of the reflective optical coupler 4 on the plane where the first circular CI is located is included in the projection of the reflective area 21 or the light-absorbing area 22 on the plane where the first circular CI is located.
[0057] In the present embodiment, when the reflective optical coupler 4 is directly opposite to the reflective area 21 or the light absorbing area 22, its projection on the plane where the first circular CI is located is included in the reflective area 21 or the light absorbing area 22, thereby increasing the effective area of the corresponding area relative to the reflective optical coupler 4 and reducing interference from other adjacent areas; for example, when the projection of the reflective optical coupler 4 on the plane where the first circular CI is located overlaps with the center of the reflective area 21 or the light absorbing area 22, the distance between the side of the reflective optical coupler 4 and the side of the reflective area 21 or the light absorbing area 22 is 1 mm.
[0058] The specific relative sizes of the reflective optical coupler 4 and the reflective area 21 , and the relative sizes of the reflective area 21 can be set based on actual needs.
[0059] Further, the arc length corresponding to the light reflecting area 21 and the light absorbing area 22 on the first circle CI is a first arc length;
[0060] The arc length between the projections of the centers of the two reflective optical couplers 4 on the first circle CI is the second arc length, and the second arc length corresponding to any two reflective optical couplers 4 is a non-even integer multiple of the first arc length.
[0061] In this embodiment, the arc lengths corresponding to the reflective area 21 and the light-absorbing area 22 on the first circular CI are the same, both are the first arc length; the arc length corresponding to the reflective area 21 or the light-absorbing area 22 on the first circular CI is the length of the arc covered by the projection of the reflective area 21 or the light-absorbing area 22 on the first circular CI; it can be understood that the first arc length refers to the arc length corresponding to an independent reflective area 21 or light-absorbing area 22 on the first circular CI.
[0062] The second arc length indicates the setting interval of the two reflective optocouplers 4 on the first circle CI; it can be understood that when the second arc length between the two reflective optocouplers 4 is an even integer multiple of the first arc length, such as twice, four times, or six times; the arc between the centers of the two reflective optocouplers 4 just contains the same number of reflective areas 21 and light absorbing areas 22, so at this time, the relative positions of the two reflective optocouplers 4 and the relative reflective areas 21 or light absorbing areas 22 are the same, and the waveforms output by the two reflective optocouplers 4 cannot achieve a phase difference.
[0063] When the length of the second arc between the two reflective optocouplers 4 is a non-even integer multiple of the length of the first arc, such as when the length of the second arc is an odd integer multiple of the length of the first arc, or when the length of the second arc is a non-integer multiple of the length of the first arc, the arc between the centers of the two reflective optocouplers 4 will not contain exactly the same number of reflective areas 21 and light absorbing areas 22. Therefore, the relative positions of the two reflective optocouplers 4 and the corresponding reflective areas 21 or light absorbing areas 22 are different, and there must be a phase difference between the waveforms output by the two reflective optocouplers 4.
[0064] It should be noted that, in practical applications, in order to further ensure the phase difference of the waveforms output by different reflective optical couplers 4 , the length of the first arc may be set to a non-integer multiple of the length of the second arc.
[0065] Further, the arc lengths corresponding to the light-reflecting regions 21 and the light-absorbing regions 22 on the first circle CI are first arc lengths, the number of the light-reflecting regions 21 is an odd number, and the number of the light-absorbing regions 22 is an odd number;
[0066] The number of the reflective optical couplers 4 is 2, and the center line connecting the two reflective optical couplers 4 intersects with the rotation axis of the inner rotating disk 2 .
[0067] In the present embodiment, two reflective optical couplers 4 are provided, and the center line of the two reflective optical couplers 4 intersects with the rotation axis of the inner rotating disk 2. Since the plane where the two reflective optical couplers 4 are located, that is, the plane where the printed circuit board 3 is located, is perpendicular to the rotation axis of the inner rotating disk 2, the projections of the two reflective optical couplers 4 on the first circle CI are located on a diameter of the first circle CI.
[0068] Since the reflective area 21 and the light-absorbing area 22 are cardinal numbers, the states of the two areas corresponding to any diameter of the first circular CI must be different. Therefore, the relative positions of the two reflective optical couplers 4 set based on the diameter of the first circular CI and the relative reflective area 21 or the light-absorbing area 22 are different. Therefore, the waveforms output by the two reflective optical couplers 4 in this embodiment must have a phase difference.
[0069] Further, the arc length corresponding to the light reflecting area 21 on the first circle CI is the third arc length, the arc length corresponding to the light absorbing area 22 on the first circle CI is the fourth arc length, and the sum of the third arc length and the fourth arc length is the fifth arc length;
[0070] The arc length between the projections of the centers of the two reflective optical couplers 4 on the first circle CI is the second arc length, and the second arc length corresponding to any two reflective optical couplers 4 is a non-integer multiple of the fifth arc length.
[0071] In this embodiment, the arc lengths corresponding to the reflective area 21 and the light-absorbing area 22 on the first circle CI are different; it can be understood that the sum of the third arc length corresponding to the reflective area 21 and the fourth arc length corresponding to the light-absorbing area 22, that is, the fifth arc length, represents the arc lengths corresponding to the continuous reflective area 21 and the light-absorbing area 22; therefore, when the second arc length corresponding to the two reflective optical couplers 4 is an integer multiple of the fifth arc length, such as one, two, or three times; the arc between the centers of the two reflective optical couplers 4 just contains the same number of reflective areas 21 and light-absorbing areas 22, therefore, at this time, the relative positions of the two reflective optical couplers 4 and the relative reflective areas 21 or light-absorbing areas 22 are the same, and the waveforms output by the two reflective optical couplers 4 cannot achieve a phase difference.
[0072] When the length of the second arc between the two reflective optocouplers 4 is a non-integer multiple of the length of the fifth arc, the arc between the centers of the two reflective optocouplers 4 will not contain exactly the same number of reflective areas 21 and light-absorbing areas 22. Therefore, the relative positions of the two reflective optocouplers 4 and the corresponding reflective areas 21 or light-absorbing areas 22 are different, and there must be a phase difference in the waveforms output by the two reflective optocouplers 4.
[0073] Further, see Figure 4 , Figure 5 and Figure 6 The optical encoder further comprises a housing 5 and a connecting shaft 6, a through hole is arranged on a first side of the housing 5, the outer knob 1 is arranged on the outer side of the first side of the housing 5, the inner rotating disk 2 is arranged on the inner side of the first side of the housing 5, the connecting shaft 6 is passed through the through hole and is fixedly connected to the outer knob 1 and the inner rotating disk 2 respectively;
[0074] The printed circuit board 3 is disposed inside the second side of the housing 5 , wherein the first side of the housing 5 is disposed opposite to the second side.
[0075] The inner rotating disk 2, the reflective optical coupler 4, and the printed circuit board 3 are arranged in the outer shell 5, and the outer knob 1 is arranged outside the outer shell 5; the outer knob 1 and the inner rotating disk 2 are fixedly connected by the connecting shaft 6, so that when the user rotates the outer knob 1, the inner rotating disk 2 arranged in the outer shell 5 can rotate, so that the reflective optical coupler 4 outputs a corresponding signal based on the relative reflective area 21 or the light absorbing area 22; when specifically setting the connection relationship between the outer knob 1 and the inner rotating disk 2, other optional methods can also be used, such as matching the size of the through hole and the transverse interface of the inner rotating disk 2, and the inner rotating disk 2 is directly connected to the outer knob 1 through the through hole without setting the connecting shaft 6.
[0076] It is understood that the reflective optical coupler 4 outputs a level signal based on the received optical signal. Therefore, in order to prevent the influence of external ambient light on the reflective optical coupler 4, the housing 5 can be set to be opaque, thereby preventing external light from entering the interior of the housing 5. It is understood that Figure 4 In order to facilitate display of the internal structure of the optical encoder, one side of the housing 5 is hidden. In fact, the side of the housing 5 displaying the internal structure is also closed.
[0077] The first side and the second side of the shell 5 are arranged oppositely and in parallel, so the inner rotating disk 2 arranged on the first side of the shell 5 and the reflective optical coupler 4 arranged on the second side of the shell 5 can also be arranged oppositely and in parallel.
[0078] Further, see Figure 7 , a microcontroller unit MCU and a plurality of signal acquisition circuits 310 are arranged on the printed circuit board 3, the signal acquisition circuits 310 are connected to the reflective optical couplers 4 one by one, and the output end of the signal acquisition circuit 310 is connected to the microcontroller unit MCU; wherein:
[0079] The signal acquisition circuit 310 is used to output a corresponding signal waveform according to the conduction state of the reflective optical coupler 4;
[0080] The micro control unit MCU is used to determine the rotation state of the external knob 1 according to the signal waveform output by each of the signal acquisition circuits 310, and output a control signal corresponding to the rotation state.
[0081] The photosensitive switch of the reflective optocoupler 4 is turned on or off based on the received light. In this embodiment and subsequent embodiments, a high-level signal is output when the photosensitive switch is turned on, and a low-level signal is output when the photosensitive switch is turned off. In other embodiments, the photosensitive switch can also be set to output a low-level signal when it is turned on, and a high-level signal when it is turned off.
[0082] The signal acquisition circuit 310 outputs a corresponding signal waveform to the microcontroller unit MCU based on the level signal output by the photosensitizer; the microcontroller unit MCU determines the rotation state of the external knob 1 according to a plurality of signal waveforms corresponding to different reflective optical couplers 4 .
[0083] It can be understood that the light encoder needs to output a control signal based on the rotation state of the outer knob 1 to trigger the corresponding function of the relevant device; for example, a light encoder is set on an audio device, and the control function corresponding to the outer knob 1 is the volume; at this time, the microcontroller unit MCU determines the rotation direction and rotation stroke of the outer knob 1 according to multiple signal waveforms; it can be understood that the rotation direction of the outer knob 1 corresponds to the volume addition or subtraction, such as the outer knob 1 rotates clockwise for volume + and counterclockwise for volume -; at the same time, the rotation stroke and the degree of addition or subtraction of the volume are set in advance, such as setting a volume counter in the microcontroller unit MCU, and pre-setting a pulse and a correspondence between the volume adjustment degree. It can be understood that the signal output by the transmitting optocoupler is converted from a low level to a high level and then to a low level to form a pulse; and the high and low levels of the output signal of the transmitting optocoupler correspond to the rotation of the outer knob 1 and the setting of the reflective area 21 and the light-absorbing area 22 on the inner rotating disk 2. Therefore, the correspondence between the pulse and the degree of volume adjustment can be set based on the arc length corresponding to the reflective area 21 and the light-absorbing area 22 on the inner rotating disk 2; such as a pulse corresponds to volume ±1, that is, when the volume counter inside the microcontroller MCU detects a pulse, a control signal of volume ±1 is output to the relevant control chip in the audio device to trigger the volume adjustment.
[0084] Furthermore, the signal acquisition circuit 310 includes an operational amplifier U1, a buck filter unit 311 and a reference voltage unit; the emitter of the reflective optocoupler 4 is connected to the inverting input terminal of the operational amplifier U1 through the buck filter unit 311, the reference voltage unit is connected to the non-inverting input terminal of the operational amplifier U1, and the output terminal of the operational amplifier U1 is connected to the microcontroller unit MCU.
[0085] The specific structure of the signal acquisition circuit 310 can be set based on actual needs; this embodiment is described using a feasible structure.
[0086] In practical applications, the level of the light switch output by the reflective optocoupler 4 may be distorted and the voltage may be too high. Therefore, in this embodiment, a step-down filter unit 311 is provided to ensure that the level signal output by the light switch is accurate and meets the input requirements of the operational amplifier U1.
[0087] The reference voltage unit is used to provide a reference voltage for the operational amplifier U1; it can be understood that the reference voltage should be higher than the inverting input voltage of the operational amplifier U1 when the photosensitive switch outputs a high level, and the reference voltage should be lower than the inverting input voltage of the operational amplifier U1 when the photosensitive switch outputs a low level.
[0088] The step-down filter unit 311 may include a first resistor R1, a second resistor R2, a third resistor R3 and a first capacitor C1, and the reference voltage unit may include a fourth resistor R4, a fifth resistor R5 and a sixth resistor R6; wherein:
[0089] The positive electrode of the reflective optocoupler 4 is connected to the power supply through the seventh resistor, the negative electrode of the reflective optocoupler 4 is grounded, the collector of the reflective optocoupler 4 is connected to the power supply, the emitter of the reflective optocoupler 4 is grounded through the first resistor R1, the emitter of the reflective optocoupler 4 is also connected to the first end of the second resistor R2, the second end of the second resistor R2 is grounded through the third resistor R3 and the first capacitor C1 respectively, and the second end of the second resistor R2 is also connected to the inverting input end of the operational amplifier U1;
[0090] The first end of the fourth resistor R4 is connected to the power supply energy, the second end of the fourth resistor R4 is grounded through the fifth resistor R5, the second end of the fourth resistor R4 is also connected to the in-phase input terminal of the operational amplifier U1, the in-phase input terminal of the operational amplifier U1 is connected to its output terminal through the sixth resistor R6, and the output terminal of the operational amplifier U1 is also connected to the microcontroller unit MCU.
[0091] The second resistor R2 and the third resistor R3 form a voltage divider circuit to reduce the voltage output by the photosensitive switch; the first capacitor C1 forms a filter circuit.
[0092] The fourth resistor R4 and the fifth resistor R5 form a voltage divider circuit to set the voltage at the non-inverting input terminal of the operational amplifier U1.
[0093] The specific values of the second resistor R2, the third resistor R3, the fourth resistor R4, and the fifth resistor R5 can be set based on actual needs on the basis of meeting the aforementioned reference voltage requirements; for example, the second resistor R2 and the third resistor R3 are set to 47KΩ, the fourth resistor R4 is set to 80KΩ, and the fifth resistor R5 is set to 20KΩ. At this time, the second resistor R2 and the third resistor R3 are divided by 1:1. When the photosensitive switch is turned on, 1 / 2 of the power supply voltage is output to the inverting input terminal of the operational amplifier U1; and the fourth resistor R4 and the fifth resistor R5 are set to 47KΩ, 80KΩ, and 20KΩ, respectively. The five resistors R5 perform a 4:1 voltage division and output 1 / 5 of the power supply voltage to the non-inverting input terminal of the operational amplifier U1; thus, when the photosensitivity switch is turned on, the voltage at the non-inverting input terminal of the operational amplifier U1 is 1 / 5 of the power supply, the voltage at the inverting input terminal is 1 / 2 of the power supply, and the voltage at the non-inverting input terminal of the operational amplifier U1 is less than the voltage at the inverting input terminal; when the photosensitivity switch is turned off, the voltage at the non-inverting input terminal of the operational amplifier U1 is 1 / 5 of the power supply, the voltage at the inverting input terminal is 0, and the voltage at the non-inverting input terminal of the operational amplifier U1 is greater than the voltage at the inverting input terminal.
[0094] The positive and negative electrodes of the reflective optical coupler 4 drive the light emitting diode to emit light, and the light emitting diode emits light;
[0095] If the light is emitted to the reflective area 21, it is reflected to the photosensitive switch of the reflective optocoupler 4, and the collector and emitter corresponding to the photosensitive switch are turned on. The power supply voltage is output to the voltage divider circuit composed of the second resistor R2 and the third resistor R3 through the collector and emitter of the reflective optocoupler 4, and then output to the inverting input terminal of the operational amplifier U1 after voltage division. At this time, the voltage at the in-phase input terminal of the operational amplifier U1 is less than the voltage at the inverting input terminal, and the operational amplifier U1 outputs a low level to the microcontroller unit MCU.
[0096] If the light is emitted to the light absorption area 22, it will not be reflected to the photosensitivity switch of the reflective optocoupler 4, and the collector and emitter corresponding to the photosensitivity switch are disconnected; at this time, the voltage at the in-phase input terminal of the operational amplifier U1 is greater than the voltage at the inverting input terminal, and the operational amplifier U1 outputs a high level to the microcontroller unit MCU.
[0097] The present invention also protects an audio device, which includes a control chip and the above-mentioned light encoder. The structure of the light encoder can refer to the above-mentioned embodiment and will not be described in detail here. As a matter of course, since the audio device of this embodiment adopts the technical solution of the above-mentioned light encoder, the audio device has all the beneficial effects of the above-mentioned light encoder; the output end of the printed circuit board 3 in the light encoder is connected to the control chip; wherein:
[0098] The control chip is used to receive the control signal output by the light sensor encoder and adjust the audio parameters of the audio device according to the control signal.
[0099] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes a..." does not exclude the presence of other identical elements in the process, method, article or system including the element. The serial numbers of the above-mentioned embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.
[0100] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A light sensor encoder, characterized in that: The optical encoder comprises an outer knob, an inner rotating disk, a printed circuit board and a plurality of reflective optical couplers; wherein: The outer knob is coaxially fixedly connected to the inner rotating disk, and the inner rotating disk is provided with a plurality of light reflecting areas and a plurality of light absorbing areas distributed along a first circle at intervals, wherein the first circle takes the rotation axis of the inner rotating disk as the center, and the plane where the first circle is located is perpendicular to the rotation axis of the inner rotating disk; The printed circuit board is arranged parallel to the plane where the first circle is located, and a plurality of the reflective optical couplers are electrically connected to the printed circuit board relative to the inner rotating disk, wherein the projection of the reflective optical couplers on the plane where the first circle is located is located on the first circle, and at the same moment, the relative positions of different reflective optical couplers and the corresponding reflective area or the light absorbing area are different.
2. The optical encoder according to claim 1, characterized in that: The surface of the inner rotating disk is black, and white reflective paper is arranged on the reflective area of the inner rotating disk.
3. The optical encoder according to claim 1, characterized in that: The inner rotating disk is provided with a groove in the light absorbing area.
4. The optical encoder according to claim 1, wherein: For any of the reflective area or the light absorbing area, in the process of the projection of the reflective optical coupler on the plane where the first circle is located intersecting with the projection of the reflective area or the light absorbing area on the plane where the first circle is located, there is at least one moment when the projection of the reflective optical coupler on the plane where the first circle is located is included in the projection of the reflective area or the light absorbing area on the plane where the first circle is located.
5. The optical encoder according to claim 1, characterized in that: The arc length corresponding to the light-reflecting area and the light-absorbing area on the first circle is the first arc length; The arc length between the projections of the centers of the two reflective optocouplers on the first circle is the second arc length, and the second arc length corresponding to any two reflective optocouplers is a non-even integer multiple of the first arc length.
6. The optical encoder according to claim 1, characterized in that: The length of the arc corresponding to the light-reflecting area and the light-absorbing area on the first circle is the first arc length, the number of the light-reflecting areas is an odd number, and the number of the light-absorbing areas is an odd number; The number of the reflective optical couplers is 2, and the center line connecting the two reflective optical couplers intersects with the rotation axis of the inner rotating disk.
7. The optical encoder according to claim 1, characterized in that: The optical encoder further includes a housing and a connecting shaft, a through hole is provided on a first side of the housing, the outer knob is provided on the outer side of the first side of the housing, the inner rotating disk is provided on the inner side of the first side of the housing, the connecting shaft passes through the through hole and is fixedly connected to the outer knob and the inner rotating disk respectively; The printed circuit board is arranged on the inner side of the second side of the housing, wherein the first side of the housing is arranged opposite to the second side.
8. The optical encoder according to claim 1, characterized in that: A microcontrol unit and a plurality of signal acquisition circuits are arranged on the printed circuit board, the signal acquisition circuits are connected to the reflective optical couplers in a one-to-one correspondence, and the output end of the signal acquisition circuit is connected to the microcontrol unit; wherein: The signal acquisition circuit is used to output a corresponding signal waveform according to the conduction state of the reflective optical coupler; The micro control unit is used to determine the rotation state of the external knob according to the signal waveform output by each signal acquisition circuit, and output a control signal corresponding to the rotation state.
9. The optical encoder according to claim 8, characterized in that: The signal acquisition circuit includes an operational amplifier, a buck filter unit and a reference voltage unit; the emitter of the reflective optocoupler is connected to the inverting input terminal of the operational amplifier through the buck filter unit, the reference voltage unit is connected to the non-inverting input terminal of the operational amplifier, and the output terminal of the operational amplifier is connected to the micro control unit.
10. An audio device, characterized in that: The audio device comprises a control chip and a light-sensing encoder as claimed in any one of claims 1 to 9, wherein the output end of the printed circuit board in the light-sensing encoder is connected to the control chip; wherein: The control chip is used to receive the control signal output by the light sensor encoder and adjust the audio parameters of the audio device according to the control signal.
Citation Information
Cited By
Airborne non-contact electricity testing device and electricity testing method
CN120522464A