Laser sensor, electronic device and focus control method
By using piezoelectric light guides and oscillation circuit technology in the laser sensor, changing the emission angle of the laser beam is solved, and the problem of small overlapping areas between the laser sensor and multiple cameras is improved, and the focus effect and shooting effect are improved.
Patent Information
- Application Number
- CN202211001425.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-08-19
AI Technical Summary
The sensing range of the laser sensor and the shooting range of multiple cameras have a small overlap, resulting in poor laser-assisted focus effect and the laser sensor cannot approach multiple cameras at the same time.
The piezoelectric light guide is provided at the laser emitting end of the laser sensor, and a voltage signal is applied to the light guide through the oscillation circuit, making it bend it, changing the emission angle of the laser beam, thereby increasing the sensing range and coverage area of the laser sensor, and increasing the Large overlap area with the camera shooting range.
The overlap area between the sensing range of the laser sensor and the shooting range of the camera is effectively improved, the focus effect of the image acquisition device is improved, and the number of laser sensors or hardware costs is not required to increase, and the shooting effect is improved.
Smart Images

Figure CN115278088B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a laser sensor, electronic equipment and a focus control method. Background Art
[0002] In the related art, the laser sensor assists the camera of the mobile phone to focus accurately by obtaining the distance information of the photographed object. The sensing range of the laser sensor is limited, and the higher the overlapping area between the sensing range of the laser sensor and the shooting range of the camera, the better the effect of auxiliary focusing. In order to increase the overlapping area, it is generally chosen to use the laser sensor close to the camera. However, due to structural limitations, the laser sensor cannot be infinitely close to the camera; and when the mobile phone has multiple cameras, the laser sensor cannot be close to multiple cameras at the same time, resulting in a small overlapping area between the sensing range of the laser sensor and the shooting range of multiple cameras, and the effect of laser assisted focusing is not good. Summary of the invention
[0003] The present application aims to provide a laser sensor, an electronic device and a focus control method, which can improve the ranging coverage angle and ranging coverage range of the laser, and increase the overlapping area between the shooting area of the camera and the scanning area of the laser sensor.
[0004] In a first aspect, an embodiment of the present application provides a laser sensor, comprising:
[0005] Laser emitting end;
[0006] A light guide is provided at the laser emitting end, and the laser beam emitted by the laser emitting end is emitted after being guided by the light guide;
[0007] The oscillation circuit is connected to the light guide member, and the light guide member bends along with the oscillation signal output by the oscillation circuit to change the light guiding angle of the light guide member.
[0008] In a second aspect, an embodiment of the present application provides an electronic device, including:
[0009] Camera components;
[0010] As proposed in the first aspect, the laser sensor is disposed adjacent to the camera assembly and is used to obtain distance information between the camera assembly and the photographed object, so that the camera assembly can focus on the photographed object according to the distance information.
[0011] In a third aspect, an embodiment of the present application provides a focus control method for controlling the electronic device provided in the second aspect, and the focus control method includes:
[0012] Determine the light guiding angle of the light guiding member and the distance value corresponding to the light guiding angle;
[0013] Processing the distance value according to the light guide angle to obtain a distance information set, where the distance information set includes distance information between the camera component and the photographed object;
[0014] According to the distance information, the camera component is controlled to focus.
[0015] In a fourth aspect, an embodiment of the present application provides a focus control device for controlling the electronic device provided in the second aspect, the focus control device comprising:
[0016] A determination module, used to determine a light guiding angle of the light guiding member and a distance value corresponding to the light guiding angle;
[0017] A processing module, used to process the distance value according to the light guide angle to obtain a distance information set, wherein the distance information set includes distance information between the camera component and the photographed object;
[0018] The control module is used to control the focus of the camera assembly according to the distance information.
[0019] In a fifth aspect, an embodiment of the present application proposes a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the control method of the third aspect are implemented.
[0020] In an embodiment of the present application, a light guide is arranged between the laser emitting end of the laser sensor and the lens. The light guide is a piezoelectric light guide. A voltage signal is applied to the light guide through an oscillation circuit. The light guide bends at a corresponding bending angle under the action of the voltage signal. When the light guide bends, the emission angle of the laser beam emitted by the laser sensor changes accordingly. When the light guide repeatedly changes the bending angle, the laser beam emitted by the laser sensor swings accordingly, thereby allowing the laser beam to scan a larger area, thereby increasing the sensing range of the laser sensor. When the shooting range of the camera assembly remains unchanged, it is equivalent to increasing the area of the overlapping area between the sensing range of the laser sensor and the shooting range of the camera, thereby effectively improving the focusing effect of the image acquisition device.
[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0023] Figure 1 One of the structural schematic diagrams of the laser sensor according to an embodiment of the present application is shown;
[0024] Figure 2A schematic structural diagram of a camera assembly according to an embodiment of the present application is shown;
[0025] Figure 3 A second structural schematic diagram of a laser sensor according to an embodiment of the present application is shown;
[0026] Figure 4 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown;
[0027] Figure 5 A flow chart of a focus control method according to an embodiment of the present application is shown;
[0028] Figure 6 A flow chart of a focus control device according to an embodiment of the present application is shown.
[0029] Reference numerals:
[0030] 100 laser sensor, 102 laser emitting end, 104 light guide, 1042 piezoelectric light-conducting crystal, 1044 first electrode, 1046 second electrode, 106 oscillating circuit, 108 laser lens;
[0031] 200 electronic equipment, 202 camera component, 2022 camera. DETAILED DESCRIPTION
[0032] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0033] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.
[0034] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0035] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0036] Combine the following Figures 1 to 6 A laser sensor, an electronic device, and a focus control method according to embodiments of the present application are described.
[0037] In some embodiments of the present application, a laser sensor is provided. Figure 1 FIG. 1 shows one of the structural schematic diagrams of the laser sensor according to an embodiment of the present application. Figure 1 As shown, the laser sensor 100 comprises:
[0038] Laser emitting end 102;
[0039] The light guide 104 is provided at the laser emitting end 102. The laser beam emitted by the laser emitting end 102 is emitted after being guided by the light guide 104.
[0040] The oscillation circuit 106 is connected to the light guide 104 . The light guide 104 bends according to the oscillation signal output by the oscillation circuit 106 to change the light guiding angle of the light guide 104 .
[0041] In the embodiments of the present application, Figure 2 FIG. 4 shows a schematic structural diagram of a camera assembly according to an embodiment of the present application. Figure 2As shown, the camera assembly 202 can be an electronic device 200, such as a camera module of a smart phone, and the camera assembly 202 includes multiple cameras 2022 and a laser sensor 100, wherein the camera 2022 includes a photosensitive device and a lens, and can shoot the object. In order to ensure that the captured image is clear, the camera assembly 202 can focus on the object by changing the focus parameters.
[0042] The laser sensor 100 is arranged adjacent to the camera assembly 202. The laser sensor 100 can measure the distance of the object by emitting laser and receiving the laser beam reflected by the object, and obtain the distance information between each object within the sensing range and the camera assembly 202 through the emitted laser beam and the received reflected beam.
[0043] When the object that the camera component 202 needs to focus on is within the sensing range of the laser sensor 100, the laser sensor 100 can quickly obtain the distance information between the object and the camera component 202, so that the camera component 202 can accurately and quickly focus on the object based on the distance information, thereby improving the focusing speed and accuracy.
[0044] In order to make the sensing range of the laser sensor 100 cover more of the shooting range of the camera assembly 202, the embodiment of the present application sets a light guide 104 between the laser emitting end 102 of the laser sensor 100 and the lens. Figure 1 As shown, the light guide 104 is a piezoelectric light guide 104, such as a quartz crystal light guide 104, etc. The light guide 104 can be deformed, that is, bend, under the influence of an external voltage, and different voltage signals correspond to different bending angles.
[0045] A voltage signal is applied to the light guide 104 through the oscillation circuit 106 , and the light guide 104 bends according to a set bending angle under the action of the voltage signal. When the light guide 104 bends, the emission angle of the laser beam emitted by the laser sensor 100 changes accordingly.
[0046] like Figure 1 As shown, the sensing area of the laser sensor 100 is different at different bending angles. Therefore, when the light guide 104 repeatedly changes the bending angle, the laser beam emitted by the laser sensor 100 swings accordingly and forms a plurality of intersecting different sensing areas, so that the laser beam scans a larger area, thereby increasing the sensing range of the laser sensor.
[0047] When the shooting range of the camera component 202 remains unchanged, obtaining a larger sensing range is equivalent to increasing the area of the overlapping area between the sensing range of the laser sensor and the shooting range of the camera, thereby allowing more objects within the shooting range of the camera component 202 to be covered within the sensing range of the laser sensor 100.
[0048] The embodiment of the present application enables the laser sensor 100 to cover the shooting range of more cameras without increasing the number of laser sensors 100, and improves the sensing range of the laser sensor 100 without increasing the hardware cost and without rearranging the setting position of the laser sensor 100, thereby effectively improving the focusing effect of the camera component 202 and the photo-taking effect of the electronic device 200 using the camera component 202.
[0049] In some embodiments of the present application, Figure 3 FIG. 2 shows a second structural diagram of the laser sensor 100 according to an embodiment of the present application. Figure 3 As shown, the light guide 104 includes:
[0050] Piezoelectric light-conducting crystal 1042;
[0051] The first electrode 1044 is disposed in contact with the first side of the piezoelectric light-conducting crystal 1042 and is electrically connected to the first output end of the oscillating circuit 106;
[0052] The second electrode 1046 is disposed in contact with the second side of the piezoelectric light-conducting crystal 1042 and is electrically connected to the second output end of the oscillation circuit 106 . The second electrode 1046 and the first electrode 1044 are disposed opposite to each other.
[0053] In the embodiment of the present application, the light guide 104 specifically includes a piezoelectric light-conducting crystal 1042, a first electrode 1044, and a second electrode 1046. The piezoelectric light-conducting crystal 1042 is a light-conducting crystal of a piezoelectric material, such as a quartz crystal. The piezoelectric light-conducting crystal 1042 can be obtained by performing XY cutting on the piezoelectric crystal, so that the oscillation of the piezoelectric light-conducting crystal 1042 under the action of a voltage forms a bending oscillation mode.
[0054] The oscillation frequency of XY-cut piezoelectric crystals is generally between 1kHz and tens of kHz. Taking the lowest frequency of 1kHz as an example, it can complete 2000 full-range ranging measurements within 1 second, which can achieve rapid ranging over a large range.
[0055] A first electrode 1044 and a second electrode 1046 are plated on both sides of the piezoelectric light-conducting crystal 1042, respectively. The first electrode 1044 is connected to the first output end of the oscillation circuit 106, and the second electrode 1046 is connected to the second output end of the oscillation circuit 106. When the oscillation circuit 106 is working, the oscillation circuit 106 outputs a sinusoidal voltage signal, thereby continuously forming a voltage between the first electrode 1044 and the second electrode 1046. The piezoelectric light-conducting crystal 1042 bends under the action of the voltage, thereby changing the light guiding angle.
[0056] It can be understood that when the piezoelectric electro-optical crystal bends and deforms, due to the piezoelectric effect, the piezoelectric optical crystal 1042 will also output a corresponding piezoelectric signal to the first electrode 1044 and the second electrode 1046. Since the electrical signal applied by the oscillation circuit 106 to the piezoelectric optical crystal 1042 is a sinusoidal signal, the piezoelectric optical crystal 1042 that is deformed under the action of the sinusoidal signal will also output an oscillating sinusoidal wave clock signal to the first electrode 1044 and the second electrode 1046. The sinusoidal wave clock signal can be used to determine the bending angle of the piezoelectric optical crystal 1042, thereby determining an accurate distance measurement reading result.
[0057] The present application uses a piezoelectric light-conducting crystal 1042 to achieve changes in the light-conducting optical path, and there is no need to set up mechanical structures such as motors. Therefore, the service life and reliability are high, and there is no noise during operation. At the same time, it has the characteristics of low power consumption and high control accuracy.
[0058] At the same time, the present application can cover the panoramic view of multiple cameras through a single laser sensor, and by adjusting the output voltage of the oscillator circuit 106, the single detection range of the laser sensor 100 can be narrowed, and the laser power per unit area can be enhanced, so as to improve the ranging accuracy and ranging distance under the condition that the power of the laser bulb of the laser emitting end 102 remains unchanged. At the same time, when it is necessary to reduce power consumption, the power of the laser bulb can also be reduced to achieve energy saving.
[0059] In some embodiments of the present application, the laser sensor 100 further includes: a laser lens 108 disposed at one end of the laser emitting end 102 of the light guide 104 .
[0060] In the embodiment of the present application, the laser sensor 100 further includes a laser lens 108. Specifically, Figure 2 As shown, the laser emitting end 102 of the laser sensor 100 is used to emit a laser light beam, and the light guide 104 is arranged at the emitting end of the laser sensor 100. The laser light beam generated by the laser emitting end 102 first enters one end of the light guide 104, and after the light path direction is changed by the light guiding effect of the light guide 104, it is captured by the laser lens 108 through the other end of the light guide 104, and after being focused by the laser lens 108, it is emitted through the laser lens 108.
[0061] In some embodiments of the present application, there are multiple camera components 202 .
[0062] In the embodiment of the present application, the camera assembly 202, that is, the number of cameras is multiple, the multiple cameras are distributed and arranged, and the shooting ranges of these cameras are different.
[0063] The present application sets a piezoelectric light-guiding element 104 in the laser sensor 100, and applies a sinusoidal voltage signal to the piezoelectric light-guiding element 104 to bend the light-guiding element 104 in a set manner, thereby changing the emission light path of the laser light to form a plurality of intersecting different sensing areas, so that the laser beam can scan a wider area, thereby improving the sensing range of the laser sensor.
[0064] A larger sensing range can effectively cover the shooting range of multiple cameras, thereby improving the sensing range of the laser sensor 100 without increasing the number of laser sensors 100, while increasing the overlapping area between the sensing area of the laser sensor and the shooting area of the camera, thereby improving the focusing effect of the camera assembly 202.
[0065] In some embodiments of the present application, an electronic device 200 is provided. Figure 4 A schematic diagram of the structure of an electronic device 200 according to an embodiment of the present application is shown. Figure 4 As shown, the electronic device 200 includes:
[0066] Camera assembly 202;
[0067] The laser sensor 100 provided in any of the above embodiments is arranged adjacent to the camera assembly 202 for acquiring distance information between the camera assembly 202 and the photographed object, so that the camera assembly 202 can focus on the photographed object according to the distance information.
[0068] In the embodiment of the present application, the electronic device 200 is specifically a smart phone, and a rear camera assembly is arranged on the back of the smart phone, that is, the above-mentioned image acquisition device 100. Figure 4 As shown, the image acquisition device 100 is provided with a laser sensor 100 and a plurality of cameras 2022. By providing a piezoelectric light-guiding element 104 in the laser sensor 100, the light-guiding angle is periodically changed, thereby changing the emission light path of the laser light beam, so that the laser sensor 100 can have a larger sensing area and cover the shooting range of the plurality of cameras 2022 at the same time, thereby improving the focusing effect of the camera assembly 202.
[0069] In some embodiments of the present application, a focus control method is provided for controlling an electronic device as provided in any of the above embodiments. Figure 5FIG. 4 shows a flow chart of a focus control method according to an embodiment of the present application. Figure 5 As shown, the focus control method includes:
[0070] Step 502, determining a light guiding angle of the light guiding member and a distance value corresponding to the light guiding angle;
[0071] Step 504, processing the distance value according to the light guide angle to obtain a distance information set, where the distance information set includes distance information between the camera assembly and the photographed object;
[0072] Step 506, controlling the camera assembly to focus according to the distance information.
[0073] In an embodiment of the present application, the electronic device includes a camera assembly and a laser sensor, wherein the laser sensor includes a light guide, which can periodically change the angle of the light guide under the action of a sinusoidal voltage signal output by an oscillation circuit. At different bending angles, the sensing area of the laser sensor is different, and the emission angle and incident angle of the laser light beam are also different.
[0074] Therefore, at each light guiding angle, the corresponding distance value reading is obtained. Specifically, at the initial moment, the light guiding angle of the light guide is the initial angle, and the current initial light guiding angle and the distance value collected by the sensor at the current light guiding angle are recorded.
[0075] Afterwards, as the voltage value output by the oscillation circuit changes with the sinusoidal voltage signal, the light guiding angle of the light guide also changes accordingly. At the first moment after a preset time interval, the light guiding angle of the light guide is a first angle. At this time, the current first light guiding angle and the distance value collected by the sensor at the first light guiding angle are recorded.
[0076] Repeat the above steps until all distance value data at all light guiding angles are collected, and then process the distance value at each light guiding angle to obtain a distance information set containing distance values corresponding to all light guiding angles. It can be understood that by setting up a piezoelectric light guiding component, the sensing range of the laser sensor is increased and can cover the shooting range of the camera component. Therefore, the photographed object is also within the sensing range of the laser sensor, that is, the processed distance information set includes the distance information between the photographed object and the camera component.
[0077] After obtaining the distance information of the photographed object, when the user takes a photo, the distance information of the photographed object is automatically called, which can assist the camera component to quickly and accurately complete the focus.
[0078] The embodiments of the present application enable the laser sensors to cover the shooting range of more cameras without increasing the number of laser sensors, and improve the sensing range of the laser sensors without increasing the hardware cost or rearranging the setting positions of the laser sensors, thereby effectively improving the focusing effect of the camera assembly.
[0079] In some embodiments of the present application, the oscillation circuit includes a first electrode and a second electrode;
[0080] Determine the light guide angle of the light guide, including:
[0081] Acquire a clock signal output by the first electrode and the second electrode, wherein the clock signal is a sine wave clock signal;
[0082] The light guiding angle is determined according to the phase of the clock signal.
[0083] In the embodiment of the present application, the light guide specifically includes a piezoelectric light-conducting crystal, a first electrode, and a second electrode. The piezoelectric light-conducting crystal is a light-conducting crystal of a piezoelectric material, such as a quartz crystal. The first electrode and the second electrode are plated on both sides of the piezoelectric light-conducting crystal, respectively. When the oscillation circuit is working, the oscillation circuit outputs a sinusoidal voltage signal, thereby continuously forming a voltage between the first electrode and the second electrode, and the piezoelectric light-conducting crystal bends under the action of the voltage, thereby changing the light-conducting angle.
[0084] When the piezoelectric electro-optical crystal bends and deforms, due to the piezoelectric effect, the piezoelectric electro-optical crystal will also output a corresponding piezoelectric signal to the first electrode and the second electrode. Since the electrical signal applied to the piezoelectric electro-optical crystal by the oscillation circuit is a sinusoidal signal, the piezoelectric electro-optical crystal that is deformed under the action of the sinusoidal signal will also output an oscillating sinusoidal wave clock signal to the first electrode and the second electrode. The light guiding angle of the light guide can be determined by the phase of the clock signal.
[0085] Specifically, assuming that the phase of the clock signal is β, the light guide angle can be determined by the following formula:
[0086]
[0087] in, is the light guiding angle, k is a constant which can be determined through experimental data, and β is the phase of the clock signal.
[0088] By determining the actual light guiding angle of the light guiding member through the clock signal outputted in reverse from the light guiding member, a distance information set including the distance information between the photographed object and the camera assembly can be accurately obtained, thereby improving the focusing effect of the camera assembly.
[0089] In some embodiments of the present application, the number of light guiding angles is N;
[0090] According to the phase of the clock signal, the light guide angle is determined, including:
[0091] At each interval of a preset duration, a light guiding angle is determined according to the current phase of the clock signal until N light guiding angles are determined.
[0092] In the embodiment of the present application, the number of light guide angles is N, where N is a positive integer greater than 1. Specifically, as the sinusoidal voltage signal applied by the oscillation circuit to the light guide changes, the light guide angle of the light guide also changes dynamically, and the embodiment of the present application collects distance value data at N light guide angles.
[0093] Specifically, the laser sensor transmits a set of ranging signals for ranging at every preset time interval t. Therefore, each time the laser sensor transmits a ranging signal, the light guiding angle of the current light guide is determined according to the phase β of the current clock signal.
[0094] At the first moment T, the light guide angle of the light guide is For example, at the second moment T+t, the light guide is bent by an angle γ under the action of the sine wave signal of the oscillation circuit, and the light guide angle of the light guide at the second moment T+t is Then, when the distance measurement signal is emitted next time, the light guiding angle of the light guide at the third moment T+2t is And so on.
[0095] The light guiding angle of the light guide bent in the first direction is angle 1, the light guiding angle when the light guide is not bent is angle 2, and the light guiding angle of the light guide bent in the second direction is angle 3, wherein the first direction and the second direction are opposite directions.
[0096] When the light guiding angle of the light guide is Angle 2, the current distance information is collected, and then the light guiding angle of the light guide changes to Angle 1, and the distance information is collected again. Then the light guiding angle of the light guide changes in the opposite direction to Angle 2, and the distance information is collected again. Then the light guiding angle of the light guide changes to Angle 3, and so on. That is, it changes in the manner of Angle 2 → Angle 1 → Angle 2 → Angle 3 → Angle 2. In one scanning cycle, the light guide bends back and forth twice.
[0097] The distance value collected at each light guide angle Finally, the data is spliced using the following formula to obtain the distance information set A:
[0098]
[0099] Among them, A is the distance information set, is the distance value at each light guiding angle.
[0100] The embodiment of the present application uses a crystal oscillator periodic scanning method to improve the ranging coverage angle and sensing range of the laser sensor. A single laser sensor can cover the panoramic view of multiple cameras, and the single detection range of the laser sensor can be narrowed to enhance the laser power per unit area, which is beneficial to improving the ranging accuracy.
[0101] The focus control method provided in the embodiment of the present application can be executed by a focus control device. In the embodiment of the present application, a method for executing focus control by a focus control device is taken as an example to illustrate the focus control device provided in the embodiment of the present application.
[0102] In some embodiments of the present application, a focus control device is provided for controlling an electronic device as provided in any of the above embodiments. Figure 6 FIG. 4 shows a flow chart of a focus control device according to an embodiment of the present application. Figure 6 As shown, the focus control device 600 includes:
[0103] A determination module 602 is used to determine a light guiding angle of the light guiding member and a distance value corresponding to the light guiding angle;
[0104] A processing module 604 is used to process the distance value according to the light guide angle to obtain a distance information set, where the distance information set includes distance information between the image capture component and the photographed object;
[0105] The control module 606 is used to control the focus of the camera assembly according to the distance information.
[0106] The embodiments of the present application enable the laser sensors to cover the shooting range of more cameras without increasing the number of laser sensors, and improve the sensing range of the laser sensors without increasing the hardware cost or rearranging the setting positions of the laser sensors, thereby effectively improving the focusing effect of the camera assembly.
[0107] In some embodiments of the present application, the oscillation circuit includes a first electrode and a second electrode;
[0108] The focus control device also includes:
[0109] An acquisition module, used for acquiring a clock signal output by the first electrode and the second electrode, wherein the clock signal is a sine wave clock signal;
[0110] The determination module is also used to determine the light guiding angle according to the phase of the clock signal.
[0111] The embodiment of the present application determines the actual light guiding angle of the light guide through the clock signal outputted in reverse by the light guide, and can accurately obtain a distance information set including the distance information between the photographed object and the camera component, thereby improving the focusing effect of the camera component.
[0112] In some embodiments of the present application, the number of light guiding angles is N;
[0113] The determination module is also used to determine a light guiding angle at each preset time interval according to the current phase of the clock signal until N light guiding angles are determined.
[0114] The embodiment of the present application uses a crystal oscillator periodic scanning method to improve the ranging coverage angle and sensing range of the laser sensor. A single laser sensor can cover the panoramic view of multiple cameras, and the single detection range of the laser sensor can be narrowed to enhance the laser power per unit area, which is beneficial to improving the ranging accuracy.
[0115] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0116] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0117] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0118] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A laser sensor, characterized in that: include: Laser emitting end; A light guide, provided at the laser emitting end, wherein the laser beam emitted by the laser emitting end is emitted after being guided by the light guide; an oscillation circuit connected to the light guide, wherein the light guide is bent according to the oscillation signal output by the oscillation circuit to change the light guide angle of the light guide, so that the laser beam emitted by the laser emitting end forms a plurality of intersecting different sensing areas, thereby improving the sensing range of the laser sensor; The light guide comprises: Piezoelectric light-conducting crystals; A first electrode is disposed in contact with a first side of the piezoelectric light-conducting crystal and is electrically connected to a first output end of the oscillating circuit; A second electrode is disposed in contact with the second side of the piezoelectric light-conducting crystal and is electrically connected to the second output end of the oscillation circuit, the second electrode being disposed opposite to the first electrode; When the piezoelectric light-conducting crystal bends with the oscillation signal, the first electrode and the second electrode output an oscillating sinusoidal clock signal, and the bending angle of the piezoelectric light-conducting crystal is determined by the sinusoidal clock signal to determine the distance measurement reading result.
2. The laser sensor according to claim 1, characterized in that: The laser sensor also includes: The laser lens is arranged at an end of the light guide component away from the laser emitting end.
3. An electronic device, characterized in that: include: Camera components; The laser sensor according to claim 1 or 2 is arranged adjacent to the camera assembly, and is used to obtain distance information between the camera assembly and the photographed object, so that the camera assembly can focus on the photographed object according to the distance information.
4. A focus control method, used in the electronic device according to claim 3, characterized in that: The focus control method comprises: Determining a light guiding angle of the light guiding member and a distance value corresponding to the light guiding angle; Without increasing the number of laser sensors, the emission light path of the laser light is changed according to the light guide angle, so that the sensing range of the laser sensor is increased, and the distance value is processed to obtain a distance information set, wherein the distance information set includes the distance information between the camera assembly and the photographed object; The camera assembly is controlled to focus according to the distance information.
5. The focus control method according to claim 4, characterized in that: The oscillation circuit includes a first electrode and a second electrode; The determining the light guiding angle of the light guiding member comprises: Acquire clock signals output by the first electrode and the second electrode, wherein the clock signals are sinusoidal clock signals; The light guiding angle is determined according to the phase of the clock signal.
6. The focus control method according to claim 5, characterized in that: The number of the light guiding angles is N; The step of determining the light guiding angle according to the phase of the clock signal comprises: At each interval of a preset duration, one of the light guiding angles is determined according to the current phase of the clock signal until N light guiding angles are determined.
7. A focus control device, used in the electronic device according to claim 3, characterized in that: The focus control device comprises: A determination module, used to determine a light guiding angle of the light guiding member and a distance value corresponding to the light guiding angle; A processing module, configured to change the emission light path of the laser light according to the light guide angle without increasing the number of laser sensors, so that the sensing range of the laser sensor is increased, and process the distance value to obtain a distance information set, wherein the distance information set includes the distance information between the camera assembly and the photographed object; A control module is used to control the focus of the camera assembly according to the distance information.
8. The focus control device according to claim 7, characterized in that: The oscillation circuit includes a first electrode and a second electrode; The focus control device also includes: An acquisition module, used for acquiring clock signals output by the first electrode and the second electrode, wherein the clock signals are sinusoidal clock signals; The determination module is further used to determine the light guiding angle according to the phase of the clock signal.
9. The focus control device according to claim 8, characterized in that: The number of the light guiding angles is N; The determination module is further configured to determine one of the light guiding angles at intervals of a preset duration according to a current phase of the clock signal until N light guiding angles are determined.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the focus control method according to any one of claims 4 to 6 are implemented.
Citation Information
Patent Citations
Optical position and / or shape sensing
CN102695938A
Light intensity modulation type optical fiber voltage sensor
CN112648930A
Camera module and electronic equipment
CN113014764A
Camera module and electronic equipment
CN113055621A
Single-fiber micro scanning device and driving system thereof
CN113687508A
