Method of controlling a scanner and related apparatus
By incorporating a battery, microcontroller, photosensor, and power supply circuit into the scanner, and automatically triggering startup based on changes in ambient light intensity, the problem of inconvenient scanner startup operations is solved, achieving a convenient automatic startup process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SCANTECH (HANGZHOU) CO LTD
- Filing Date
- 2026-04-30
- Publication Date
- 2026-07-31
AI Technical Summary
The current scanner startup process is not convenient enough, requiring users to perform an additional power-on operation, which makes the usage process less smooth, especially in fast scanning scenarios.
By incorporating a battery, microcontroller, photosensor, and power supply circuit into the scanner, the power supply circuit is activated by changes in ambient light intensity. Once the microcontroller recognizes the startup conditions, it powers on the main control chip, thus achieving automatic startup.
The scanner's startup ease of use has been improved, allowing users to smoothly begin using the scanner after taking it out, while balancing startup speed and power consumption control.
Smart Images

Figure CN122496590A_ABST
Abstract
Description
Technical Field
[0001] The embodiments described in this application relate to the field of three-dimensional reconstruction technology, and in particular to a scanner and related apparatus. Background Technology
[0002] In the field of 3D scanning equipment, these devices typically use a button-operated power-on method or a power-on method based on fixed power management logic. In actual use, users often need to remove the scanner first and then perform the power-on operation before the device can enter working mode.
[0003] However, existing technologies still suffer from the problem of inconvenient scanner startup. Summary of the Invention
[0004] In view of this, various embodiments of this application aim to provide a scanner control method and related apparatus, which can improve the ease of use of the scanner to a certain extent.
[0005] In a first aspect, one embodiment of this application provides a control method for a scanner, comprising: receiving a first detection signal; wherein the first detection signal indicates that the ambient light intensity in the environment where the scanner is located reaches a specified intensity threshold; controlling the activation of an active detection unit; wherein the active detection unit includes a signal transmitter and a signal receiver; wherein the signal transmitter is used to transmit a specified signal; and if the signal receiver cannot trigger the active detection unit based on the received reflected signal, it feeds back a second detection signal; and, upon determining that an activation condition is met, controlling the main control chip of the scanner to power on; wherein the activation condition includes receiving the first detection signal and the second detection signal.
[0006] Optionally, the method further includes: maintaining the power-on state of the main control chip when the second detection signal is received and the first detection signal is interrupted.
[0007] Optionally, the method further includes: if the first detection signal is continuously received but the second detection signal is not received, determining that the scanner does not meet the startup conditions.
[0008] Optionally, the method further includes: controlling the main control chip of the scanner to power off when the power-off conditions are met; wherein the power-off conditions include: receiving a third detection signal; wherein the third detection signal is fed back when the reflected signal received by the signal receiving end can trigger the active detection unit.
[0009] Optionally, the shutdown condition further includes: the reception of the first detection signal is interrupted.
[0010] Optionally, the method further includes: receiving pose data representing the orientation of the scanner; wherein the power-off condition further includes: determining, based on the pose data, that the pose change amplitude of the scanner is less than a specified amplitude within a specified time period.
[0011] Optionally, the specified amplitude includes angular velocities less than 1° / second.
[0012] Secondly, one embodiment of this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to implement the method as described above.
[0013] Thirdly, one embodiment of this application also provides a scanner, the scanner comprising: a microcontroller and a main control chip; the microcontroller is used to implement the method as described above.
[0014] Fourthly, one embodiment of this application also provides a computer program product including computer instructions that, when executed by a processor, implement the method as described above.
[0015] In several embodiments provided in this application, by receiving a first detection signal indicating that the ambient light intensity in the environment where the scanner is located has reached a specified intensity threshold, and controlling the activation of an active detection unit including a signal transmitter and a signal receiver, and then feeding back a second detection signal if the signal receiver cannot trigger the active detection unit based on the received reflected signal, and then determining that the activation conditions are met upon receiving the first and second detection signals and controlling the scanner's main control chip to power on, automatic control of the scanner activation process based on ambient light detection results and active detection results is achieved, thereby improving the ease of use of the scanner. Attached Figure Description
[0016] Figure 1 A schematic diagram of a scanner module provided for one embodiment of this application.
[0017] Figure 2 A topological diagram of a scanner provided for one embodiment of this application.
[0018] Figure 3 A flowchart of a scanner control method provided in one embodiment of this application.
[0019] Figure 4 A block diagram of a scanner provided for one embodiment of this application. Detailed Implementation
[0020] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0021] In the description of the embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0022] In the field of 3D scanning equipment, related technologies typically employ button-based power-on or fixed power management logic. Specifically, when using a scanner, users usually need to remove it from the box and then press the power button or perform a preset power-on operation to put it into working condition. While this method enables device startup, in actual use, the user still needs to perform an additional manual power-on action. This results in a step-by-step process between removing the scanner and it becoming usable, making the user experience less smooth, especially in scenarios requiring rapid scanning operations.
[0023] Therefore, the scanner startup process still has its limitations and requires further improvement.
[0024] Please see Figure 1 and Figure 2 This application provides a scanner. The scanner includes: a battery; a microcontroller; a photosensor connected to the battery and outputting an intensity signal representing the ambient light intensity in the environment where the scanner is located; and a power supply circuit connected to the battery, the photosensor, and the microcontroller, the power supply circuit including a designated switching unit, and supplying power to the microcontroller using the battery's electrical energy when the designated switching unit is activated by the received intensity signal; wherein, when the microcontroller determines that the startup conditions are met, it controls the scanner to enter the power-on state.
[0025] In this embodiment, a scanner can refer to a scanning device capable of acquiring three-dimensional data of a target object. For example, a handheld 3D scanning device used in scenarios such as industrial inspection, reverse engineering, artifact digitization, or 3D modeling. The scanner can acquire corresponding 3D data while scanning the target object, so as to subsequently generate a 3D model corresponding to the target object. To improve the ease of starting the scanner in actual use, the scanner may include a battery, a microcontroller, a photosensor, and a power supply circuit, so as to trigger the scanner's startup process based on changes in ambient light intensity.
[0026] In this embodiment, the battery can be used to provide power to the scanner. The battery can be an internal energy storage power source for powering related components within the scanner when it is disconnected from an external wired power supply. For example, the battery can provide the power supply for the photosensor, power supply circuitry, and the corresponding power supply process for the microcontroller.
[0027] In this embodiment, a photosensor is connected to the battery and outputs an intensity signal representing the ambient light intensity in the environment where the scanner is located. This intensity signal can be an electrical signal characterizing changes in ambient light intensity. Specifically, the photosensor can output a corresponding intensity signal when the ambient light intensity in the scanner's environment changes. For example, when the user removes the scanner from its case, storage space, or other relatively light-proof environment, the ambient light intensity in the scanner's environment increases, and the photosensor can output a corresponding intensity signal. Thus, the photosensor can detect changes in ambient light intensity, providing a signal basis for subsequently triggering the power supply circuit.
[0028] In this embodiment, the power supply circuit is connected to the battery, the photosensor, and the microcontroller. The power supply circuit can be a circuit structure used to establish a controlled power supply path between the battery and related devices. The power supply circuit includes a designated switching unit. This designated switching unit can be a switching device or a switching control structure used to control the conduction state of the power supply circuit. Specifically, when the received intensity signal triggers the designated switching unit to conduct, the power supply circuit uses the battery's electrical energy to supply power to the microcontroller. That is, the intensity signal output by the photosensor is not directly used to control the main control chip's power-on, but rather first acts on the designated switching unit in the power supply circuit, causing the power supply circuit to form a power supply path from the battery to the microcontroller, thereby allowing the microcontroller to obtain the electrical energy required for operation.
[0029] In this embodiment, the microcontroller can be a lightweight control chip in the scanner. Compared to the main control chip, the microcontroller has the characteristics of fast startup speed and low power consumption, making it suitable as a control device that is prioritized for startup after the front-end is powered on. Specifically, after being powered on, the microcontroller can determine whether the startup conditions are met based on preset judgment logic. The startup conditions can be conditions used to characterize whether the scanner should enter the power-on state. Correspondingly, if the microcontroller determines that the startup conditions are met, it controls the power supply circuit to supply power to the main control chip, thereby enabling the scanner to enter the power-on state. The power-on state can refer to the main control chip having received power and the scanner entering a running state capable of performing scanning control, data acquisition, or other processing tasks. Thus, by first having the microcontroller quickly start and execute the startup condition judgment, and then having the microcontroller control the main control chip to power on, the scanner startup process no longer relies on the user performing an additional power-on operation, while also balancing startup speed and power consumption control.
[0030] For example, when a user is ready to use the scanner, they can first remove it from its adapter box. During this process, the ambient light intensity of the scanner's surroundings changes, and the photosensor outputs a corresponding intensity signal. Upon receiving this intensity signal, the power supply circuit activates the designated switching unit to power the microcontroller using battery power. After receiving power, the microcontroller assesses its current state; if the startup conditions are met, it controls the power supply circuit to further power the main control chip, thus powering on the scanner and allowing the user to smoothly begin using it after removing it from the box.
[0031] In several embodiments provided in this application, by incorporating a battery, a microcontroller, a photosensor, and a power supply circuit into the scanner, the photosensor can output an intensity signal representing the ambient light intensity. When the received intensity signal triggers the conduction of a designated switching unit, the power supply circuit uses the battery's power to supply power to the microcontroller. Then, when the microcontroller determines that the startup conditions are met, it controls the power supply circuit to supply power to the main control chip, thereby putting the scanner into the power-on state. This achieves automatic triggering of the scanner startup process based on changes in ambient light, which helps to improve the convenience of scanner startup operation.
[0032] In some embodiments, the designated switching unit includes a first power supply switch and a second power supply switch; the input terminal of the second power supply switch is connected to a power source, and the output terminal of the second power supply switch is electrically connected to the microcontroller; the control terminal of the first power supply switch is connected to the control terminal of the second power supply switch, and the control terminal of the first power supply switch is connected to the photosensitive sensor; wherein, when the intensity signal output by the photosensitive sensor excites and turns on the first power supply switch, the first power supply switch inputs a conduction signal to the control terminal of the second power supply switch to turn on the second power supply switch.
[0033] In this embodiment, the designated switching unit in the power supply circuit may include a first power supply switch and a second power supply switch. Thus, the process of the microcontroller being powered by the photosensitive sensor can be divided into a pre-stage triggering process and a post-stage power supply process, facilitating hierarchical control of the microcontroller's power supply path through the cooperation of the first and second power supply switches.
[0034] In this embodiment, the input terminal of the second power supply switch is connected to the battery, and the output terminal of the second power supply switch is electrically connected to the microcontroller. The second power supply switch can serve as a downstream power supply control device located between the battery and the microcontroller, used to establish a power supply path from the battery to the microcontroller when it is turned on. Figure 1 and Figure 2 The input terminal 105 of the second power supply switch Q2 can be connected to the power supply path corresponding to battery B, and the output terminal 106 of the second power supply switch Q2 can be electrically connected to the microcontroller. Thus, when the second power supply switch Q2 is on, the electrical energy from battery B can be output to the microcontroller via the second power supply switch Q2, allowing the microcontroller to start and execute the corresponding control logic. In some embodiments, a drive circuit is connected between the output terminal 106 of the second power supply switch Q2 and the microcontroller. The drive circuit can provide an appropriate voltage and / or current to the microcontroller after power is applied.
[0035] In this embodiment, the control terminals of the first power supply switch and the second power supply switch are connected, and the control terminal of the first power supply switch is connected to the photosensitive sensor. The first power supply switch can serve as a front-end control device directly triggered by the photosensitive sensor, while the second power supply switch can serve as a back-end control device that turns on in response to the conduction signal output by the first power supply switch. Figure 1 and Figure 2The control terminal 101 of the first power supply switch Q1 can be connected to the signal output path corresponding to the photosensitive sensor via the first resistor R1, and the first diode D1 can be placed between the photosensitive sensor and the control terminal 101 of the first power supply switch Q1, so that the intensity signal output by the photosensitive sensor is transmitted to the control terminal 101 of the first power supply switch Q1 in a predetermined direction. The first connection terminal 102 of the first power supply switch Q1 can be connected to the control terminal 104 of the second power supply switch Q2, and the second connection terminal 103 of the first power supply switch Q1 can be connected to a reference potential terminal, such as a ground terminal. Thus, a sequential interconnected conduction control relationship can be formed between the photosensitive sensor, the first power supply switch Q1, and the second power supply switch Q2.
[0036] In this embodiment, when the intensity signal output by the photosensitive sensor triggers the first power supply switch to conduct, the first power supply switch inputs a conduction signal to the control terminal of the second power supply switch to conduct the second power supply switch. Specifically, when the ambient light intensity of the scanner's environment suddenly increases, the photosensitive sensor outputs a corresponding intensity signal. This intensity signal can act on the first power supply switch Q1 via the first diode D1 and the path connected to the control terminal 101, causing the first power supply switch Q1 to enter the conducting state. After the first power supply switch Q1 is turned on, a conduction signal transmission path is formed between the first power supply switch Q1 and the control terminal 104 of the second power supply switch Q2, thereby inputting a conduction signal to the control terminal 104 of the second power supply switch Q2 to turn on the second power supply switch Q2. In this way, the first power supply switch Q1 can perform pre-stage control of the conduction of the second power supply switch Q2, so that the power supply establishment process of the microcontroller is not directly completed by the photosensitive sensor, but is completed through the cooperation of two power supply switches.
[0037] In this embodiment, the first resistor R1 can be used to limit or buffer the signal input to the control terminal 101 of the first power supply switch Q1, thereby improving the stability of the control process of the first power supply switch Q1. The second resistor R2 can be connected between the control terminal 101 and the second connection terminal 103 of the first power supply switch Q1. The fourth resistor R4 can be connected between the control terminal 104 of the second power supply switch Q2 and the first connection terminal 102 of the first power supply switch Q1, and is used to cooperate with the first power supply switch Q1 to input a conduction signal to the control terminal 104 of the second power supply switch Q2. The third resistor R3 can be connected to the input terminal 105 of the second power supply switch Q2, and is used to adjust the current when the second power supply switch Q2 is turned on. Thus, the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 can work together to cooperate with the operation of the first power supply switch Q1 and the second power supply switch Q2, so that the triggering and conduction process of the power supply circuit is smoother.
[0038] For example, when the user removes the scanner from the box, the photosensor can detect an increase in ambient light intensity and output a corresponding intensity signal. This intensity signal can act on the first power supply switch Q1 via the first diode D1 and the path connected to the control terminal 101, turning on the first power supply switch Q1. Subsequently, the first power supply switch Q1 inputs a conduction signal to the control terminal 104 of the second power supply switch Q2, thus turning on the second power supply switch Q2. After the second power supply switch Q2 is turned on, the electrical energy of battery B can be transferred from the input terminal 105 to the output terminal 106 via the second power supply switch Q2, and further supplied to the microcontroller. In this way, the microcontroller can be quickly woken up so that it can subsequently decide whether to control the power supply circuit to supply power to the main control chip based on the startup conditions. It can be seen that by setting the designated switching unit as a combination of the first power supply switch and the second power supply switch, a relatively clear two-level control link can be formed between the photosensor trigger and the microcontroller power supply.
[0039] For example, in some implementations, the first power supply switch Q1 can be implemented using a transistor, and the second power supply switch Q2 can be implemented using a field-effect transistor. In this case, the intensity signal output by the photosensitive sensor can first trigger the transistor to conduct, and then the conducted transistor can control the control terminal of the field-effect transistor, thereby establishing a power supply path from battery B to the microcontroller.
[0040] In some embodiments, after the microcontroller is powered on, it sends a power supply lock signal to the control terminal of the first power supply switch to keep the first power supply switch in the on state.
[0041] In this embodiment, after establishing a power supply path from the battery to the microcontroller through the cooperation of the first and second power supply switches, the microcontroller, once powered, can also send a power supply lock signal to the control terminal of the first power supply switch to keep the first power supply switch in the on state. Thus, after the intensity signal output by the photosensitive sensor initially triggers the first power supply switch, the microcontroller can further maintain the on state of the first power supply switch, thereby helping to maintain the continuity of the power supply path corresponding to the microcontroller.
[0042] In this embodiment, the power supply lock signal can be a control signal used to maintain the first power supply switch in a conducting state. That is, the intensity signal output by the photosensitive sensor can trigger the first power supply switch to switch from a closed state to a conducting state. After the microcontroller is powered on and started, the microcontroller can continuously output a power supply lock signal to the control terminal of the first power supply switch, so that the first power supply switch can be stably maintained in a conducting state. Therefore, the first power supply switch no longer relies solely on the intensity signal output by the photosensitive sensor to maintain its conducting state; instead, the conducting state of the first power supply switch is locked by the microcontroller.
[0043] Combination Figure 1 and Figure 2 The microcontroller can output a power lock signal to the control terminal 101 of the first power switch Q1 via a path connected to the control terminal 101 of the first power switch Q1. In some embodiments, a second diode D2 can be provided in the path so that the power lock signal output by the microcontroller is transmitted to the control terminal 101 of the first power switch Q1 in a predetermined direction. In this way, the power lock signal output by the microcontroller can act on the control terminal 101 of the first power switch Q1, so that the first power switch Q1 continues to be turned on after being triggered by the photosensitive sensor. Correspondingly, the conduction signal transmission relationship between the control terminals 104 of the first power switch Q1 and the second power switch Q2 can also continue to be maintained, so that the second power switch Q2 remains on, thereby maintaining the power supply path from the battery B to the microcontroller.
[0044] In this embodiment, the power supply lock signal does not directly supply power to the microcontroller itself, but rather keeps the first power supply switch Q1 in a conducting state. Since the first power supply switch Q1 remains conducting, the control terminal 104 of the second power supply switch Q2 continuously receives the corresponding conduction signal, and the second power supply switch Q2 also remains conducting. Thus, the energy from battery B can continue to supply power to the microcontroller via the second power supply switch Q2. In other words, the power supply lock signal can be used to form a locking mechanism that maintains the microcontroller's own power supply path after the photosensor completes the pre-stage triggering, thereby preventing the microcontroller from losing power due to short-term fluctuations in ambient light intensity.
[0045] In some embodiments, the scanner further includes: an active detection unit connected to the microcontroller and electrically connected to the output terminal of the second power supply switch; the active detection unit includes a signal transmitter and a signal receiver; wherein the signal transmitter is used to transmit a specified signal; when the reflected signal received by the signal receiver triggers the active detection unit, a third detection signal is sent to the microcontroller; when the microcontroller determines that a power-off condition is met, it stops sending the power supply lock signal to the control terminal of the first power supply switch; wherein the power-off condition includes: the microcontroller receiving the third detection signal.
[0046] In this embodiment, while the microcontroller maintains the first power switch in the ON state via a power supply lock signal, the scanner may further include an active detection unit. This active detection unit is connected to the microcontroller and electrically connected to the output of the second power switch. Thus, while the second power switch remains ON and the power supply path from the battery to the microcontroller is maintained, the active detection unit can also obtain corresponding power and operate. This facilitates active detection of the scanner's status during its power-on usage phase, serving as a basis for subsequent power-off control decisions.
[0047] In this embodiment, the active detection unit can be a detection device that actively emits a detection signal and generates a detection result based on the feedback of the detection signal. The active detection unit includes a signal transmitter and a signal receiver. The signal transmitter emits a specified signal, and the signal receiver receives a feedback signal corresponding to the specified signal. The specified signal can be a transmitted signal characterizing the detection behavior of the active detection unit; correspondingly, the reflected signal can be a feedback signal that returns to the signal receiver after the specified signal is reflected by an external object. Thus, the active detection unit can detect whether the scanner is currently in a specific external environment state by "emitting a specified signal—receiving a reflected signal." For example, the microcontroller determines whether the scanner is inside a suitable box based on the output of the active detection unit.
[0048] In this embodiment, when the received reflected signal triggers the active detection unit, the signal receiver sends a third detection signal to the microcontroller. This third detection signal can be a detection signal indicating that the signal receiver has received the reflected signal. Thus, the microcontroller can determine that the scanner has been placed inside the compatible box based on the third detection signal.
[0049] Specifically, in combination Figure 1 and Figure 2 The active detection unit can be electrically connected to the output terminal 106 of the second power supply switch Q2. Thus, when the second power supply switch Q2 is on, the power from battery B can not only be supplied to the microcontroller via the second power supply switch Q2, but also to the active detection unit via the output terminal 106 of the second power supply switch Q2, supporting the signal transmitter to transmit a specified signal and the signal receiver to perform reception detection. Simultaneously, the active detection unit is connected to the microcontroller, enabling it to output a third detection signal to the microcontroller when triggered.
[0050] In this embodiment, when the microcontroller determines that the power-off condition is met, it stops sending the power-off lock signal to the control terminal of the first power supply switch. The power-off condition includes the microcontroller receiving the third detection signal. That is, receiving the third detection signal can be used as at least one condition for the microcontroller to determine that the power-off condition is met. Correspondingly, after the microcontroller receives the third detection signal, it can stop sending the power-off lock signal to the control terminal 101 of the first power supply switch. Thus, the first power supply switch is no longer continuously locked in the ON state by the microcontroller.
[0051] In this embodiment, the third detection signal does not directly cut off the second power supply switch. Instead, the microcontroller first determines that the shutdown conditions are met based on the third detection signal, and then stops outputting the power supply lock signal. This allows the shutdown control to still be uniformly executed by the microcontroller, rather than the active detection unit directly performing a hard switch on the power supply path, thus helping to maintain the accuracy of the overall shutdown control logic.
[0052] For example, when the user finishes scanning and puts the scanner back into the compatible box, the designated signal emitted by the signal transmitter may be reflected by the inner wall of the box and received by the signal receiver. At this time, the signal receiver can send a third detection signal to the microcontroller. After receiving the third detection signal, the microcontroller can determine that the power-off condition has been met and stop sending the power-on lock signal to the control terminal 101 of the first power switch Q1.
[0053] In some embodiments, the scanner further includes: an intensity signal feedback unit connected between the photosensitive sensor and the microcontroller, the intensity signal feedback unit being configured to provide a first detection signal to the microcontroller when the intensity signal excites and turns on the designated switching unit; the shutdown condition further includes: the microcontroller not receiving the first detection signal.
[0054] In this embodiment, the intensity signal feedback unit can be a feedback circuit used to feed back the trigger state corresponding to the photosensitive sensor to the microcontroller. The intensity signal feedback unit is used to provide a first detection signal to the microcontroller when the intensity signal activates the designated switching unit. The first detection signal can be a detection signal indicating that the intensity signal has activated the designated switching unit. Therefore, after receiving the first detection signal, the microcontroller will determine that the environment in which the scanner is located has changed.
[0055] In some embodiments, the intensity signal feedback unit can be implemented using a TTL circuit. The TTL circuit can be constructed using NPN transistors and PMOS transistors, and is also controlled by the photosensitive sensor. When the intensity signal output by the photosensitive sensor meets the corresponding conditions, the TTL circuit can output the first detection signal to the microcontroller. In this embodiment, the intensity signal feedback unit receives the same intensity signal as the power supply circuit. Furthermore, the specific circuitry used in the intensity signal feedback unit is the same as that of the first power supply switch Q1 and the second power supply switch Q2, so that when the intensity signal excites the first power supply switch Q1 and the second power supply switch Q2, the TTL circuit will also be excited by the intensity signal, causing the intensity signal feedback unit to send the first detection signal to the microcontroller.
[0056] In this embodiment, the shutdown condition further includes: the microcontroller not receiving the first detection signal. That is, the microcontroller not receiving the first detection signal can be considered as at least one condition for determining that the shutdown condition is met. Thus, when the microcontroller receives the third detection signal and simultaneously does not receive the first detection signal, it indicates that the scanner has been identified by the active detection unit as being inside the compatible box, and the current ambient light state no longer meets the condition for the photosensitive sensor to trigger the designated switch unit to conduct. In this case, the microcontroller can determine that the shutdown condition is met and stop sending a power supply lock signal to the control terminal 101 of the first power supply switch.
[0057] In some embodiments, the scanner further includes: an attitude sensor for outputting attitude data of the scanner when the scanner is powered on; wherein the microcontroller can receive the attitude data; the power-off condition further includes: the microcontroller determining that the attitude data indicates that the scanner has not changed its attitude within a specified time period.
[0058] In this embodiment, the scanner may further include a posture sensor for outputting the scanner's posture data when the scanner is powered on. Thus, in addition to determining whether the scanner is inside the compatible box based on active detection results, the microcontroller can further determine whether the scanner has been stationary for a period of time based on the posture data, thereby facilitating a more accurate determination of the power-off conditions.
[0059] In this embodiment, the attitude sensor can be a detection device used to detect changes in the spatial attitude of the scanner. The attitude data can be data used to characterize the scanner's attitude state or attitude changes. Thus, after receiving the attitude data, the microcontroller can determine, based on the changes corresponding to the attitude data, whether the scanner is still being moved, its angle adjusted, or continuously used by the user, or whether it is placed inside a box.
[0060] In this embodiment, the microcontroller can receive the attitude data. That is, when the scanner is powered on, the attitude sensor can continuously or periodically output attitude data, and the microcontroller can read and judge the attitude data. Thus, the microcontroller can not only know the current attitude state of the scanner, but also identify whether the scanner's attitude has changed by combining the attitude data changes over a continuous period of time.
[0061] In this embodiment, the shutdown condition further includes: the microcontroller determining that the posture data indicates the scanner has not changed its posture within a specified time period. In other words, the microcontroller's determination that no posture change has occurred within the specified time period can be used as at least one condition for determining that the shutdown condition is met. Thus, when the scanner maintains a substantially unchanged posture within the specified time period, it indicates that the scanner is in a stable placement state, rather than still being held and used by the user, thereby facilitating the microcontroller to more accurately determine whether the shutdown condition is met.
[0062] In this embodiment, the specified duration can be the length of time used to determine whether the scanner remains stationary. For example, the microcontroller can receive attitude data at multiple consecutive sampling times and compare whether there are significant changes in the attitude data corresponding to adjacent times or previous and subsequent time periods. If no attitude change reaching a preset level is detected within the specified duration, the microcontroller can determine that the attitude data indicates that the scanner has not changed its attitude within the specified duration. For example, the attitude data can represent the scanner's angular velocity. If the angular velocity is less than 1° / second and the specified duration is reached, the microcontroller determines that the scanner meets the shutdown conditions.
[0063] In some embodiments, the microcontroller can combine the third detection signal and attitude data to comprehensively determine the shutdown condition. For example, when the active detection unit has output the third detection signal, indicating that the scanner has been detected as being inside the compatible box, and the attitude data indicates that the scanner has not changed its attitude within a specified period, the microcontroller can more reliably determine that the shutdown condition has been met and stop sending the power lock signal to the control terminal 101 of the first power switch. In some embodiments, when the scanner also includes an intensity signal feedback unit, the microcontroller can further combine whether the first detection signal is received to jointly determine the shutdown condition, thereby improving the accuracy of the determination.
[0064] In some embodiments, the scanner's activation conditions include: the microcontroller receiving the first detection signal.
[0065] In this embodiment, the startup condition includes: the microcontroller receiving the first detection signal. That is, the microcontroller receiving the first detection signal can be considered as at least one condition for determining that the startup condition is met. In some embodiments, when the microcontroller receives the first detection signal, it can determine that the startup condition is met and further control the power supply circuit to supply power to the main control chip, thereby putting the scanner into the power-on state.
[0066] In this embodiment, the intensity signal output by the photosensitive sensor is used to trigger the first power supply switch and the second power supply switch to establish a power supply path from the battery to the microcontroller. The intensity signal feedback unit, when the intensity signal can trigger the first power supply switch, will also send a first detection signal to the microcontroller upon triggering the intensity signal.
[0067] In some embodiments, the signal transmitter of the active detection unit emits a designated signal, and if the signal receiver of the active detection unit cannot trigger the active detection unit based on the received reflected signal, it provides a second detection signal to the microcontroller. The scanner's activation condition also includes that the microcontroller receives the second detection signal.
[0068] In this embodiment, if the signal receiver cannot trigger the active detection unit based on the received reflected signal, it provides a second detection signal to the microcontroller. This second detection signal serves to inform the microcontroller that the active detection unit was not triggered by the reflected signal of the specified signal.
[0069] Specifically, the active detection unit can be electrically connected to the output terminal 106 of the second power supply switch Q2. Thus, when the second power supply switch Q2 is on, the electrical energy from battery B can not only be supplied to the microcontroller via the second power supply switch Q2, but also to the active detection unit via the output terminal 106 of the second power supply switch Q2, to support the signal transmitter in transmitting a specified signal and the signal receiver in performing reception detection. Simultaneously, the active detection unit is connected to the microcontroller, enabling it to output a second detection signal to the microcontroller when not triggered by a reflected signal.
[0070] In this embodiment, the activation condition further includes: the microcontroller receiving the second detection signal. That is, the microcontroller receiving the second detection signal can be considered as at least one condition for determining that the activation condition is met. When the microcontroller receives the second detection signal, it determines that the scanner has been removed from the adapter box, so that when the signal transmitter emits the specified signal, the signal receiver cannot trigger the active detection unit based on the received reflected signal. Of course, in some cases, the signal receiver may not trigger the active detection unit based on the received reflected signal, which can also be considered as the signal receiver not receiving the feedback signal of the specified signal.
[0071] In this embodiment, the second detection signal does not directly power on the scanner, but rather serves as feedback information for the microcontroller to determine the startup conditions. In some embodiments, the microcontroller can combine the first and second detection signals to jointly determine the startup conditions. For example, the first detection signal may indicate that a designated switch unit has been triggered by a photosensor, while the second detection signal may indicate that no reflection signal corresponding to the environment inside the compatible box has been detected. In this case, the microcontroller powers on the scanner's main control chip, thereby improving the accuracy of startup control.
[0072] For example, when the user removes the scanner from the adapter box, the ambient light intensity increases, and the photosensor outputs a corresponding intensity signal. The intensity signal feedback unit provides a first detection signal to the microcontroller. After the microcontroller starts, it can control the active detection unit, which emits a specified signal from its signal transmitter. However, since the scanner has been removed from the adapter box, the signal receiver does not receive the reflected signal of the specified signal. Therefore, the active detection unit provides a second detection signal to the microcontroller. At this point, the microcontroller receives both the first and second detection signals, thus determining that the startup conditions are met, and further controls the power supply circuit to supply power to the main control chip.
[0073] In some embodiments, the scanner can be placed inside a suitable box; a reflective structure is provided inside the box corresponding to the position of the active detection unit; the reflective structure is used to reflect the designated signal emitted by the signal transmitter so that the signal receiver receives the reflected signal.
[0074] In this embodiment, the scanner can be placed inside a suitable box. The suitable box can be a storage box designed to accommodate the scanner and whose external structure matches that of the scanner. Thus, when the scanner is placed inside the suitable box, a relatively stable relative positional relationship can be established between the active detection unit and the internal structure of the box, making it easier to determine whether the scanner is inside the box based on the detection results of the active detection unit.
[0075] In this embodiment, a reflective structure is provided inside the box corresponding to the position of the active detection unit. The reflective structure can be a structure for reflecting the designated signal. That is, the reflective structure is not placed arbitrarily inside the box, but rather at a position corresponding to the active detection unit, so that the designated signal emitted by the signal transmitter can be reflected by the reflective structure and returned to the signal receiver when the scanner is placed inside the suitable box. Therefore, the active detection unit can determine whether the scanner is inside the suitable box by whether it receives the reflected signal.
[0076] In this embodiment, when the scanner is placed inside the compatible box, a designated signal emitted by the signal transmitter can be directed towards the reflective structure and reflected by the reflective structure before being received by the signal receiver. Accordingly, the active detection unit can provide a third detection signal to the microcontroller, thereby enabling the microcontroller to determine that the scanner has been placed inside the compatible box. When the scanner is removed from the compatible box, the designated signal is no longer reflected back to the signal receiver by the reflective structure, and the active detection unit can then provide a second detection signal to the microcontroller.
[0077] For example, when the user finishes scanning and places the scanner back into the compatible box, the signal transmitter of the active detection unit emits a designated signal. This designated signal is directed towards a reflective structure inside the box and reflected back to the signal receiver. The signal receiver then receives the reflected signal and provides a third detection signal to the microcontroller, confirming that the scanner has been placed in the compatible box.
[0078] For example, when the user removes the scanner from the compatible box, the corresponding positional relationship between the active detection unit and the reflective structure is broken, and the designated signal emitted by the signal transmitter can no longer be reflected back to the signal receiver via the reflective structure. At this time, the active detection unit can provide a second detection signal to the microcontroller to indicate that the scanner has left the environment inside the compatible box. Therefore, the microcontroller can further combine the first and second detection signals to determine that the startup conditions are met and control the main control chip to power on.
[0079] In some embodiments, the active detection unit is a reflective photoelectric sensor, the signal transmitting end is used to transmit light signals, and the signal receiving end is used to receive the reflected signals corresponding to the light signals.
[0080] In this embodiment, the active detection unit is a reflective photoelectric sensor. The reflective photoelectric sensor can be a detection device integrating a signal transmitter and a signal receiver, used to detect whether the scanner is currently inside the compatible box by emitting light signals and receiving corresponding reflected signals.
[0081] In this embodiment, the signal transmitter is used to transmit an optical signal, and the signal receiver is used to receive the reflected signal corresponding to the optical signal. That is, the specified signal emitted by the signal transmitter can specifically be an optical signal, and the reflected signal received by the signal receiver can specifically be an optical feedback signal formed after the optical signal is reflected by an external object. Thus, the reflective photoelectric sensor can detect the external environment of the scanner by "emitting an optical signal—receiving a reflected signal". When the signal receiver receives a strong reflected signal, the reflective photoelectric sensor is triggered to output a third detection signal to the microcontroller. When the reflected signal received by the signal receiver is weak or no reflected signal is received, the reflective photoelectric sensor is not triggered; in this case, the reflective photoelectric sensor outputs a second detection signal to the microcontroller.
[0082] In some embodiments, the optical signal can be infrared light. Since infrared light has good directional emission and reflection detection characteristics, using infrared light as the optical signal is beneficial for improving the stability of the detection process of the reflective photoelectric sensor. Of course, in other embodiments, the optical signal can also be other optical signals suitable for reflection detection, and this application does not limit this to any particular type.
[0083] Please see Figure 3 This application also provides a control method for a scanner. The control method can be applied to a scanner. The scanner control method may include the following steps.
[0084] Step S110: Receive a first detection signal; wherein the first detection signal indicates that the ambient light intensity in the environment where the scanner is located has reached a specified intensity threshold.
[0085] Step S120: Control the activation of the active detection unit; wherein the active detection unit includes a signal transmitter and a signal receiver; wherein the signal transmitter is used to transmit a specified signal; and if the signal receiver cannot trigger the active detection unit based on the received reflected signal, it feeds back a second detection signal.
[0086] Step S130: If the startup conditions are met, control the main control chip of the scanner to power on; wherein, the startup conditions include: receiving the first detection signal and the second detection signal.
[0087] In this embodiment, the control method of the scanner can be executed by the microcontroller in the scanner, which controls the main control chip of the scanner to power on based on the ambient light detection result and the active detection result when the scanner is removed, thereby improving the convenience of the scanner startup process.
[0088] In this embodiment, the microcontroller can receive a first detection signal. This first detection signal indicates that the ambient light intensity in the environment where the scanner is located has reached a specified intensity threshold. The first detection signal can be a detection signal indicating that the current ambient light intensity has reached a level sufficient to trigger a start-up condition. Thus, the microcontroller can determine, based on the first detection signal, that the ambient light state of the scanner's current environment has changed, for example, that the scanner has been removed from a relatively dark environment.
[0089] In this embodiment, the first detection signal can be output by a feedback circuit corresponding to ambient light detection. For example, in some implementations, the first detection signal can be provided by an intensity signal feedback unit, which can output the first detection signal to the microcontroller when the ambient light intensity reaches a specified intensity threshold. Thus, upon receiving the first detection signal, the microcontroller can proceed with the subsequent startup judgment process without requiring additional manual power-on operation from the user.
[0090] In this embodiment, the microcontroller can control the activation of the active detection unit. The active detection unit includes a signal transmitter and a signal receiver. The signal transmitter transmits a specified signal, and the signal receiver receives a feedback signal corresponding to the specified signal. The active detection unit can detect whether the scanner is currently in a specific external environment state by transmitting a specified signal and receiving a reflected signal. Thus, after receiving the first detection signal, the microcontroller can further activate the active detection unit to determine whether the scanner has detached from the adapter box based on the active detection result.
[0091] In this embodiment, if the signal receiver cannot trigger the active detection unit based on the received reflected signal, it feeds back a second detection signal. This second detection signal can be a signal indicating that the currently received reflected signal is insufficient to trigger the active detection unit. That is, the second detection signal is not limited to being fed back when no reflected signal is received at all; it can be fed back even if the signal receiver receives a reflected signal, but the reflected signal is still insufficient to trigger the active detection unit. Therefore, the microcontroller can determine whether the scanner has left the adapted box environment, or at least whether a valid reflection trigger condition corresponding to the adapted box environment has not been formed, based on whether the second detection signal is received.
[0092] In some implementations, whether the signal receiver can trigger the active detection unit based on the received reflected signal can be determined based on preset triggering conditions. The preset triggering conditions may include at least one of the following: whether the reflected signal is received, whether the reflected signal is received within a specified time, whether the intensity of the received reflected signal reaches a specified intensity threshold, and whether the time characteristics and / or intensity characteristics of the received reflected signal meet preset requirements. Thus, this solution is not limited to judging solely based on the single logic of "whether a reflected signal is received," but can also determine whether the active detection unit can be triggered based on the reception timing, intensity, or other characteristics characterizing the effectiveness of the reflected signal.
[0093] For example, in some implementations, when the scanner is inside the fitting box, because the box contains reflective structures corresponding to the active detection unit, the designated signal emitted by the signal transmitter can form a strong reflected signal within a short time and be received by the signal receiver. In this case, if the reflected signal is received within the designated time, or if the intensity of the reflected signal reaches a designated intensity threshold, it can be determined that the reflected signal is sufficient to trigger the active detection unit. Conversely, when the scanner has been removed from the fitting box, although the inner wall of the box or the surrounding environment may still diffusely reflect the designated signal, causing the signal receiver to receive the reflected signal at a later time, or receive a weaker reflected signal, since the reflected signal did not arrive within the designated time and / or its intensity did not reach the designated intensity threshold, it can still be determined that the signal receiver cannot trigger the active detection unit based on the received reflected signal and feed back a second detection signal.
[0094] In some specific embodiments, the specified time can be 0.1s. That is, when the signal receiving end receives the reflected signal corresponding to the specified signal within 0.1s, it can be determined that the active detection unit is triggered by the reflected signal; and if the signal receiving end does not receive the reflected signal within 0.1s, even if it receives the reflected signal formed by diffuse reflection 0.15s or longer later, it can be determined that the signal receiving end cannot trigger the active detection unit and feed back the second detection signal based on the received reflected signal. Of course, in other embodiments, the specified time can also be set according to the structural relationship between the scanner and the box, the installation position of the active detection unit, and the signal propagation characteristics, and this application does not limit it in this way.
[0095] In this embodiment, the microcontroller powers on the scanner's main control chip when it determines that the startup conditions are met. The startup conditions include receiving the first detection signal and the second detection signal. That is, the microcontroller can use receiving the first and second detection signals as at least two conditions for determining that the startup conditions are met. Thus, the microcontroller can not only confirm that the current ambient light intensity has reached a specified intensity threshold based on the first detection signal, but also confirm that the active detection unit has not detected a reflection signal corresponding to the environment inside the adapted box based on the second detection signal. In this case, the microcontroller can determine that the scanner has been removed from the adapted box and power on the main control chip, thereby enabling the scanner to enter an operational state capable of performing scanning control, data acquisition, or other processing tasks.
[0096] In this embodiment, the first and second detection signals do not directly power on the main control chip, but rather serve as the basis for the microcontroller to determine the startup conditions. Therefore, the power-on control of the main control chip can be uniformly executed by the microcontroller, rather than being triggered solely by changes in ambient light or a single detection result. This allows for more accurate startup control logic for the scanner.
[0097] For example, when the user removes the scanner from the adapter box, the ambient light intensity increases. The corresponding feedback circuit outputs a first detection signal to the microcontroller to indicate that the ambient light intensity has reached a specified intensity threshold. After receiving the first detection signal, the microcontroller controls the activation of the active detection unit. Subsequently, the signal transmitter of the active detection unit emits a specified signal. Since the scanner has been removed from the adapter box, the signal receiver does not receive the reflected signal of the specified signal, or although it receives the reflected signal, it does not receive it within the specified time, or the intensity of the received reflected signal is insufficient to trigger the active detection unit. Therefore, a second detection signal is fed back. At this time, the microcontroller receives both the first and second detection signals, thus determining that the activation conditions are met, and controls the scanner's main control chip to power on.
[0098] For example, if the scanner causes the ambient light intensity to reach a specified threshold due to light leakage, thus triggering the microcontroller to receive the first detection signal, but because the scanner is still inside the adapter box, the active detection unit can receive the reflected signal formed by the reflective structure within a specified time, or the intensity of the received reflected signal is sufficient to trigger the active detection unit. In this case, the signal receiver cannot feed back the second detection signal. Although the microcontroller has received the first detection signal, it can temporarily not consider the startup condition met because it has not received the second detection signal. This avoids powering on the main control chip before the scanner has actually been removed from the adapter box.
[0099] In several embodiments provided in this application, a first detection signal indicating that the ambient light intensity has reached a specified intensity threshold is received, and an active detection unit is activated. If the active detection unit cannot be triggered by the received reflected signal at the signal receiving end, a second detection signal is fed back. Then, the microcontroller determines that the activation conditions are met and controls the main control chip to power on when it receives the first and second detection signals. This realizes automatic control of the scanner activation process based on the ambient light detection result and the active detection result, which helps to improve the convenience of scanner activation operation.
[0100] In some embodiments, the microcontroller can maintain the power-on state of the main control chip when it receives the second detection signal and the first detection signal is interrupted.
[0101] In this embodiment, once the microcontroller has determined that the scanner has been removed from the adapter box and the main control chip has been powered on, even if the ambient light condition changes briefly, as long as the active detection unit still feeds back the second detection signal, the microcontroller can still keep the main control chip powered on, thereby improving the continuity of the scanner's operation in actual use.
[0102] In this embodiment, the interruption of the first detection signal indicates that the detection signal used to characterize ambient light intensity reaching a specified intensity threshold is no longer received by the microcontroller. That is, after the scanner has been powered on, the ambient light intensity may temporarily fall below the specified intensity threshold due to obstruction, angle changes, or localized illumination variations, causing the microcontroller to stop receiving the first detection signal. In this case, if the main control chip is powered down solely based on the interruption of the first detection signal, it may affect the normal operation of the scanner.
[0103] In this embodiment, if the microcontroller continuously receives the second detection signal, it indicates that the scanner is still not in the compatible box. Therefore, even if the first detection signal is interrupted, the microcontroller can still determine that the scanner has not returned to the compatible box based on the second detection signal, thereby maintaining the power-on state of the main control chip.
[0104] In this embodiment, keeping the main control chip powered on can mean that when the microcontroller receives the second detection signal but the first detection signal is interrupted, it does not power down the main control chip, or it continues to keep the power supply path corresponding to the main control chip in a conducting state. In this way, the main control chip can continue to perform scanning control, data acquisition, or other processing tasks without exiting its working state due to a temporary change in ambient light.
[0105] In some embodiments, if the microcontroller continuously receives the first detection signal but does not receive the second detection signal, it determines that the scanner does not meet the startup conditions.
[0106] In this embodiment, the microcontroller does not solely rely on the first detection signal to determine that the startup conditions are met; it also considers the active detection result corresponding to the second detection signal. If the microcontroller does not receive the second detection signal, it cannot confirm, based on the active detection result, that the scanner has left the adapted box environment. In this case, even if the ambient light intensity has reached a specified intensity threshold, the microcontroller can still determine that the scanner does not meet the startup conditions.
[0107] In this embodiment, since the activation conditions include receiving both the first detection signal and the second detection signal, if the first detection signal is continuously received but the second detection signal is not received, it indicates that the activation condition corresponding to ambient light is partially met, but the activation condition corresponding to the active detection result is not met. Therefore, the microcontroller can determine that the scanner does not meet the activation conditions and temporarily not control the main control chip to power on. This avoids erroneously triggering the main control chip to power on solely due to changes in ambient light.
[0108] In some embodiments, the microcontroller can control the main control chip of the scanner to power off when it determines that a power-off condition is met; wherein the power-off condition includes receiving a third detection signal.
[0109] In this embodiment, when the scanner completes the scanning operation and is placed back into the compatible box, the microcontroller can determine that the shutdown conditions are met based on the active detection results, and further control the main control chip to cut off the power, thereby causing the scanner to enter the shutdown process.
[0110] In this embodiment, the third detection signal does not directly power off the main control chip, but rather serves as the basis for the microcontroller to determine the shutdown condition. Therefore, the power-off control of the main control chip is still executed uniformly by the microcontroller, rather than the active detection unit directly cutting off the power supply path to the main control chip. This allows for more accurate shutdown control logic for the scanner.
[0111] In this embodiment, when the microcontroller receives the third detection signal, it can determine that the active detection unit has detected the reflected signal of the designated signal. In some implementations, the microcontroller can determine that the scanner has been placed in the compatible box and further determine that the power-off condition is met. After determining that the power-off condition is met, the microcontroller can control the scanner's main control chip to power off, thereby ending the corresponding working state of the main control chip.
[0112] In some embodiments, the shutdown condition further includes: the reception of the first detection signal is interrupted.
[0113] In this embodiment, the interruption of the reception of the first detection signal indicates that the microcontroller no longer receives the first detection signal used to characterize that the ambient light intensity has reached a specified intensity threshold. In other words, the current ambient light intensity no longer meets the light intensity conditions related to startup. Therefore, the microcontroller can further determine that the ambient light state of the scanner's environment has changed based on the interruption of the first detection signal reception.
[0114] In this embodiment, when the scanner is placed back into the fitting box, the signal receiver of the active detection unit can receive the reflected signal of the designated signal and feed back the third detection signal. Simultaneously, as the scanner re-enters a relatively light-blocked environment, the ambient light intensity may decrease, causing the microcontroller to no longer receive the first detection signal. In this case, the microcontroller can not only determine based on the third detection signal that the scanner is in an external environment suitable for shutdown, but also determine based on the interruption of the first detection signal reception that the current ambient light state no longer meets the startup conditions. Thus, the microcontroller can more accurately determine that the shutdown conditions are met.
[0115] In this embodiment, the interruption of the first detection signal does not directly power off the main control chip, but rather serves as the basis for the microcontroller to determine the shutdown condition. Therefore, the microcontroller can jointly determine whether the received third detection signal or the interruption of the first detection signal is true; only when both conditions are met will the main control chip be powered off. This avoids executing shutdown control based solely on a single detection result.
[0116] In some embodiments, the power-off condition further includes: determining, based on the pose data, that the pose change of the scanner is less than a specified range within a specified time period.
[0117] In this embodiment, based on the microcontroller's determination of whether the scanner is in a suitable external environment for shutdown according to the reception status of the third detection signal and the first detection signal, it can further combine the scanner's pose change over a period of time to determine whether the current shutdown conditions are truly met, thereby improving the accuracy of shutdown control.
[0118] In this embodiment, the microcontroller can determine the pose change range of the scanner within a specified time period based on the pose data; if the pose change range is less than the specified range, the microcontroller can determine that the scanner has not undergone significant pose change within the specified time period, and thus use it as at least one condition for satisfying the power-off condition.
[0119] In some implementations, the specified amplitude includes an angular velocity of less than 1° / second. That is, the microcontroller can calculate the corresponding angular velocity of the scanner within a specified time period based on pose data; when the angular velocity is less than 1° / second, it can be determined that the pose change amplitude of the scanner within that specified time period is less than the specified amplitude. Thus, angular velocity, a relatively intuitive quantitative indicator, can be used to determine whether the scanner has reached a stable placement state.
[0120] In this embodiment, after the scanner is placed back into the adapter box, although the active detection unit can feed back a third detection signal, and the reception of the first detection signal may have been interrupted, if the scanner is still shaking, adjusting its angle, or has not yet been stably placed, the corresponding pose data may still indicate that its pose change amplitude is greater than a specified amplitude. In this case, the microcontroller may temporarily not determine that the power-off condition is met. Conversely, when the microcontroller determines, based on the pose data, that the pose change amplitude of the scanner within a specified time period is less than the specified amplitude, it can further determine that the scanner has been stably placed, thereby more accurately determining that the power-off condition is met.
[0121] Please see Figure 4 This application provides a scanner. The scanner may include: a receiving module, a first control module, and a second control module.
[0122] A receiving module is used to receive a first detection signal; wherein the first detection signal indicates that the ambient light intensity in the environment where the scanner is located has reached a specified intensity threshold.
[0123] The first control module is used to control the activation of the active detection unit; wherein the active detection unit includes a signal transmitter and a signal receiver; wherein the signal transmitter is used to transmit a specified signal; and if the signal receiver cannot trigger the active detection unit based on the received reflected signal, it feeds back a second detection signal.
[0124] The second control module is used to control the main control chip of the scanner to power on when the start-up conditions are met; wherein the start-up conditions include: receiving the first detection signal and the second detection signal.
[0125] In this embodiment, the specific functions and effects implemented by the scanner can be explained by referring to other embodiments of this application, and will not be repeated here.
[0126] This application provides a scanner. The scanner includes a microcontroller and a main control chip; the microcontroller is used to implement the method described above.
[0127] The specific functions and effects achieved by the scanner in this embodiment can be explained by referring to other embodiments of this application, and will not be repeated here.
[0128] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to implement the method as described above.
[0129] This application also provides a computer program product containing instructions that, when executed by a processor, implement the method as described above.
[0130] It is understood that the specific examples in this document are only intended to help those skilled in the art better understand the embodiments of this application, and are not intended to limit the scope of the invention.
[0131] It is understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0132] It is understood that the various implementation methods described in this application can be implemented individually or in combination, and the implementation methods in this application are not limited in this respect.
[0133] Unless otherwise stated, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The term "and / or" as used in this application includes any and all combinations of one or more of the associated listed items. The singular forms "a," "the," and "the" as used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0134] It is understood that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiments can be completed by the integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0135] It is understood that the memory in the embodiments of this application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Specifically, non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may be random access memory (RAM). It should be noted that the memory in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0136] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0137] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the aforementioned method implementations, and will not be repeated here.
[0138] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0139] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0140] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0141] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0142] The above description is merely a specific embodiment of this application, but the scope of protection of this invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this invention should be determined by the scope of the claims.
Claims
1. A method for controlling a scanner, characterized in that, include: Receive a first detection signal; wherein the first detection signal indicates that the ambient light intensity in the environment where the scanner is located has reached a specified intensity threshold; The active detection unit is activated by control; wherein the active detection unit includes a signal transmitter and a signal receiver; wherein the signal transmitter is used to transmit a specified signal; and if the signal receiver cannot trigger the active detection unit based on the received reflected signal, it feeds back a second detection signal. If the startup conditions are met, the main control chip of the scanner is powered on; wherein, the startup conditions include: receiving the first detection signal and the second detection signal.
2. The method according to claim 1, characterized in that, The method further includes: When the second detection signal is received and the first detection signal is interrupted, the main control chip remains powered on.
3. The method according to claim 1, characterized in that, The method further includes: If the first detection signal is continuously received but the second detection signal is not received, it is determined that the scanner does not meet the start-up conditions.
4. The method according to claim 1, characterized in that, The method further includes: When the power-off conditions are met, the main control chip of the scanner is powered off; wherein the power-off conditions include: receiving a third detection signal; wherein, when the reflected signal received by the signal receiving end triggers the active detection unit, the third detection signal is fed back.
5. The method according to claim 4, characterized in that, The shutdown condition also includes: the reception of the first detection signal is interrupted.
6. The method according to claim 4, characterized in that, The method further includes: receiving pose data representing the orientation of the scanner; The shutdown condition further includes: determining, based on the pose data, that the pose change of the scanner is less than a specified range within a specified time period.
7. The method according to claim 6, characterized in that, The specified amplitude includes angular velocities less than 1° / second.
8. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, causes the processor to implement the method as described in any one of claims 1 to 7.
9. A scanner, characterized in that, The scanner includes a microcontroller and a main control chip; the microcontroller is used to implement the method as described in any one of claims 1 to 7.
10. A computer program product, characterized in that, Includes computer instructions that, when executed by a processor, implement the method as described in any one of claims 1 to 7.