3D scanner system and control method thereof, storage medium and computer device

By cutting off the power supply of the rotary table in the 3D scanner system and controlling the scanner to perform the image acquisition cycle, the problem of deteriorating image clarity caused by rotation of the scanned object is solved, and more accurate and clear image acquisition is achieved.

CN116264602BActive Publication Date: 2025-04-04SHENZHEN JIMUYIDA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111515672.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2025-04-04
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

Rotating the scanned object while the camera acquires the image will cause the sharpness of the last acquired image to deteriorate.

Method used

By obtaining the periodic start command of the scanner, when the command is the scan start command, the power of the rotary table is cut off, the scanner is controlled to execute a single image acquisition cycle, confirm that the cycle power is turned on after the period is executed, and the cycle power is re-determined.

Benefits of technology

Stop rotating the turntable when the camera is working to ensure the accuracy of image acquisition, avoid measurement errors caused by the rotation of the scanned object, and improve the clarity of the image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116264602B_ABST
    Figure CN116264602B_ABST
Patent Text Reader

Abstract

The present invention discloses a 3D scanner system and its control method, storage medium and computer equipment. The 3D scanner system control method first obtains the cycle start instruction of the scanner, and when the cycle start instruction is a scanning start instruction, cuts off the power supply of the turntable. The scanner is controlled to execute a single image acquisition cycle; after confirming that the single image acquisition cycle is completed, the power supply of the turntable is turned on and the cycle start instruction of the turntable is re-determined. The above scheme solves the technical problem that the definition of the final acquired image will be deteriorated when the scanned object rotates while the camera is acquiring the image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of scanner technology, and in particular to a 3D scanner system and a control method thereof, a storage medium and a computer device. Background Art

[0002] Since the industrial camera in the 3D (three dimensional) scanner system needs to project a structured light source, i.e. a one-dimensional or two-dimensional image, onto the object to be measured while scanning the object at the same interval, the surface shape of the object to be measured is determined based on the deformation of the image.

[0003] The 3D scanner system rotates the scanned object at a constant speed to ensure the continuity of the captured image. However, this will cause a problem. The scanned object rotates while the camera is capturing the image, which will cause the clarity of the final captured image to deteriorate. Summary of the invention

[0004] The purpose of the present invention is to solve at least one of the technical problems of triggering and exposure being out of sync in the prior art, and to provide a 3D scanner system and its control method, storage medium and computer equipment to solve the technical problem that the scanned object rotates while the camera is capturing the image, which will cause the clarity of the finally captured image to deteriorate.

[0005] In order to achieve the above object, the present invention proposes a 3D scanner system control method, the 3D scanner system includes a scanner and a turntable, and the 3D scanner system control method includes:

[0006] Obtaining a periodic start instruction of the scanner;

[0007] When the cycle start instruction is a scan start instruction, cutting off the power supply of the turntable;

[0008] Controlling the scanner to perform a single image acquisition cycle;

[0009] After confirming that a single image acquisition cycle is completed, the power supply of the turntable is turned on and the cycle start instruction of the turntable is re-determined.

[0010] Optionally, the step of obtaining the periodic start instruction of the scanner further includes:

[0011] Get the working status of the turntable;

[0012] When the turntable starts to rotate from rest, an initial rotation time is acquired and a current time is collected, and a cumulative rotation time is determined according to the initial rotation time and the current time;

[0013] When the accumulated rotation time reaches a preset time value, a cycle start instruction is output.

[0014] Optionally, the step of controlling the scanner to perform a single image acquisition cycle is:

[0015] Obtaining a status signal of a light source of a scanner;

[0016] determining whether the brightness of the light source reaches a peak value according to the status signal;

[0017] When the brightness of the light source reaches a peak value, controlling the camera to take a photo;

[0018] Control the light source to turn off.

[0019] Optionally, before the step of acquiring the status signal of the light source of the scanner, the step further includes:

[0020] Get the first system standard time and the cycle start time of the previous cycle;

[0021] If the time difference between the first system standard time and the cycle start time of the previous cycle is greater than or equal to the first preset time difference, the first system standard time is updated to the cycle start time of the previous cycle, and the light source of the scanner is controlled to turn on.

[0022] Optionally, the step of acquiring a status signal of a light source of the scanner includes:

[0023] The second system standard time is acquired, and the time difference between the second system standard time and the cycle start time of the previous cycle is used as a status signal.

[0024] Optionally, the step of controlling the light source to turn off includes:

[0025] A third system standard time is obtained, and if a time difference between the third system standard time and the second system standard time is greater than or equal to a third preset time difference, the light source is controlled to be turned off.

[0026] Optionally, when the brightness of the light source reaches a peak value, the step of controlling the camera to take a photo includes:

[0027] When the brightness of the light source reaches a peak value;

[0028] The control module of the scanner outputs a first start signal to the camera;

[0029] Acquiring a fourth system standard time, if the time difference between the fourth system standard time and the second system standard time is greater than or equal to a fourth preset time difference, the control module of the scanner outputs a second start signal to the camera;

[0030] After receiving the first start signal and receiving the second start signal after an interval of at least the fourth preset time difference, the camera takes a photo.

[0031] In order to achieve the above-mentioned purpose, the present invention also proposes a storage medium, characterized in that a computer program is stored therein, and when the computer program is executed by a processor, the processor executes the steps of the 3D scanner system control method as described in any one of claims 1 to 7.

[0032] In order to achieve the above-mentioned purpose, the present invention also proposes a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the 3D scanner system control method as described above.

[0033] In order to achieve the above object, the present invention further proposes a 3D scanner system, the 3D scanner system comprising:

[0034] Pedestal;

[0035] A turntable, disposed on the base;

[0036] A scanner, disposed on the base, the scanner comprising a camera and a light source;

[0037] A control module, wherein the control module is electrically connected to the camera, the light source and the turntable power supply respectively, and the control module executes the steps of the 3D scanner system control method as described above.

[0038] The 3D scanner system control method of the present invention obtains the cycle start instruction of the scanner, and when the cycle start instruction is a scanning start instruction, cuts off the power of the turntable, controls the scanner to execute a single image acquisition cycle, and after confirming that the single image acquisition cycle is completed, turns on the power of the turntable and re-determines the cycle start instruction of the turntable. Through the above steps, the turntable stops rotating when the camera is working to ensure the accuracy of the collected image, avoiding the measurement error caused by the rotation of the scanned object while the camera is collecting images, thereby solving the problem that the definition of the final collected image will be deteriorated when the scanned object rotates while the camera is collecting images. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The present invention is further described below in conjunction with the accompanying drawings and embodiments;

[0040] Figure 1 Schematic diagram of a flow chart of a 3D scanner system control method in one embodiment.

[0041] Figure 2 FIG. 4 is a flow chart of a 3D scanner system control method in one embodiment.

[0042] Figure 3 FIG. 4 is a flow chart of a 3D scanner system control method in another embodiment.

[0043] Figure 4 4 is a flow chart of a 3D scanner system control method in yet another embodiment.

[0044] Figure 5 A schematic diagram of a flow chart of a 3D scanner system control method in one embodiment;

[0045] Figure 6 Schematic diagram of a module of a 3D scanner system in one embodiment. DETAILED DESCRIPTION

[0046] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.

[0047] The present invention provides a 3D scanner system control method for solving the problem that the definition of the finally acquired image may be deteriorated when the scanned object rotates while the camera is acquiring the image.

[0048] In one embodiment, if Figure 1 As shown, the 3D scanner system includes a scanner and a turntable, and the 3D scanner system control method includes:

[0049] S1, obtaining a periodic start instruction of the scanner;

[0050] The scanner has a scanning cycle, which is generally one scanning cycle for scanning the object to be detected. In the present application, since it is necessary to connect and disconnect the power supply of the turntable, and perform scanning and image acquisition after the power supply is disconnected, a scanning cycle includes multiple image acquisition cycles. The image acquisition cycle includes a complete cycle such as acquisition instruction-turntable power off-photographing-turntable power connection. The cycle start instruction at this time is the image acquisition cycle start instruction. The cycle start instruction can be obtained from the control module of the scanner. The cycle start instruction of the scanner can be pre-set or controlled by the user in real time. This ensures the smooth execution of each cycle.

[0051] S2. When the cycle start instruction is a scan start instruction, cutting off the power supply of the turntable;

[0052] The cycle start instruction includes a scan start instruction and a scan stop instruction. When the cycle start instruction is a scan start instruction, the power supply of the turntable is cut off. At this time, cutting off the power supply of the turntable keeps the object to be detected on the turntable in a stationary state, and controls the camera of the scanner to take pictures of the object to be detected, so that when the turntable stops, the single-sided image of the object to be detected can be accurately and effectively collected, avoiding the problem of unclear single-sided image caused by sampling during the rotation of the turntable.

[0053] When the cycle start instruction is a scanning stop instruction, the power of the turntable is turned on. At this time, the power of the turntable is turned on to control the turntable to rotate continuously, so that the turntable rotates until the next scanning start instruction is received, and then the power of the turntable is cut off, and the camera of the scanner is controlled to take pictures of the object to be detected. In this way, it is ensured that each time the object to be detected is photographed, it is in a different collection plane, and the rotation of the turntable is guaranteed to achieve effective collection.

[0054] S3, controlling the scanner to perform a single image acquisition cycle;

[0055] S4. After confirming that a single image acquisition cycle is completed, the power of the turntable is turned on and the cycle start instruction of the turntable is re-determined.

[0056] In the above embodiment, the above steps make the turntable stop rotating when the camera is working to ensure the accuracy of the captured image, avoid the measurement error caused by the rotation of the scanned object while the camera is capturing the image, and solve the problem that the scanned object rotates while the camera is capturing the image, which will cause the clarity of the final captured image to deteriorate. In addition, in the above scheme, effective image capture can be achieved by controlling the connection and disconnection of the turntable power supply by a signal, and under the same camera conditions, compared with the solution of the camera capturing when the turntable rotates at a constant speed in the prior art, the capture solution of the present application has a higher quality, clearer and more accurate capture effect. In addition, the technical solution of the present application has lower hardware requirements, and there is no need to set simultaneous startup and other synchronization signal trigger conditions. Only the output of a signal is required to trigger the subsequent process. Therefore, the cost of the 3D scanner system equipped with the technical solution of the present application is greatly saved.

[0057] In one embodiment, if Figure 2 As shown, the step of obtaining the periodic start instruction of the scanner also includes:

[0058] S11, obtaining the working status of the turntable;

[0059] The working state of the turntable includes two states: rotating and stationary. The speed sensor can be used to monitor the speed of the turntable and detect the state of the turntable.

[0060] S12, when the turntable starts to rotate from a stationary state, obtaining an initial rotation time and collecting a current time, and determining a cumulative rotation time according to the initial rotation time and the current time;

[0061] Among them, "obtaining the initial rotation time and collecting the current time, and determining the cumulative rotation time based on the initial rotation time and the current time" can also be directly replaced by the step of "obtaining the initial rotation time and collecting the current time, and determining the cumulative rotation time based on the initial rotation time and the current time". The fundamental purpose of both is to count the time intervals between image acquisition cycles to monitor whether the time interval between each image acquisition cycle meets the preset time value.

[0062] S13. When the accumulated rotation time reaches a preset time value, a cycle start instruction is output.

[0063] In the above embodiment, the rotation angle is determined by monitoring the rotation time to determine whether the angle of the sampling surface is met, thereby realizing the selection of multiple sampling surfaces to achieve effective sampling. Compared with angle sampling, time sampling is less difficult to implement than angle sampling technology, and there is no need to set a specific installation position. Time sampling can control the accuracy to a relatively small level. Since the turntable moves at a uniform speed, each sampling surface can be set to maintain the same sampling angle as much as possible through time sampling, thereby reducing the difficulty of later imaging.

[0064] In one embodiment, if Figure 3 As shown, the steps of controlling the scanner to perform a single image acquisition cycle are:

[0065] S31, obtaining a status signal of a light source of a scanner;

[0066] The status signal is used to reflect the working status of the light source of the scanner, and will change with the change of the working status. The status signal can be a high or low level or other types of control signals.

[0067] S32, judging whether the brightness of the light source reaches a peak value according to the state signal;

[0068] At this time, in the pre-experimental environment or during the test, by sampling and storing the data of each stage of the light source, a one-to-one correspondence between the state signal and the working state is established, so that it is possible to determine whether the brightness of the light source has reached the peak value through the state signal.

[0069] S33, when the brightness of the light source reaches a peak value, controlling the camera to take a photo;

[0070] First of all, it should be noted that scanners generally include a light source and a camera, wherein the light source is used to illuminate the object to be inspected, and the camera is used to take pictures of the object. When the light source is a structured light source, a one-dimensional or two-dimensional image can be projected onto the object to be inspected. Finally, the image of the object captured by the camera will change according to the shape of the object to be inspected, so that the surface shape of the object to be inspected can be more accurately judged based on the image captured by the camera.

[0071] S34, controlling the light source to turn off.

[0072] Based on the above embodiment, by controlling the light source of the scanner, the camera is controlled to take photos and samples when the light source reaches its peak value. At this time, the clarity and brightness of the object to be scanned illuminated by the light source are both at their highest, thereby improving the accuracy and clarity of the sampled photos. Compared with traditional scanners, through the above embodiment, the light source and camera of the scanner can be triggered in an orderly manner, thereby solving the technical problem of low accuracy of various data of the object to be measured due to the asynchronization of triggering and exposure. In addition, the present application does not adopt the method of synchronously turning on the light source and the camera, thereby further avoiding the error caused by the synchronous turning on of the light source and the camera.

[0073] It should be noted that the embodiments of the present application are applied to 3D scanners. Due to the particularity of 3D scanners, they rely heavily on structured light sources to project one-dimensional or two-dimensional images onto the object being measured. Therefore, by taking pictures during the peak period of the structured light source, the clarity of subsequent pictures can be improved and the errors caused by unclear pictures can be reduced.

[0074] In one embodiment, the step of determining whether the brightness of the light source reaches a peak value according to the status signal comprises:

[0075] When the state signal is greater than or equal to a second preset time difference, determining that the brightness of the light source reaches a peak value;

[0076] When the state signal is less than the second preset time difference, it is determined that the brightness of the light source has not reached a peak value.

[0077] In the exemplary technology, it is generally rare to judge whether the brightness of the light source has reached its peak value. In addition, based on the constant current drive and PWM drive principles of the light source, technical personnel in this field believe that the values ​​of these drive signals are directly fed back to judge whether the brightness of the light source meets actual needs. However, this requires the setting of an additional feedback loop, as well as increasing the judgment of data such as current and voltage, and also requires setting parameters for comparison, resulting in diversification and complexity of the data.

[0078] In the above scheme of the present application, when scanning the object to be detected, in order to accurately judge the peak value without changing the product circuit and structure, a method of detecting time is proposed to determine whether the brightness of the light source has reached the peak value. That is, when the time meets the preset conditions, that is, the status signal is greater than or equal to the second preset time difference, it can be directly confirmed that the light source has reached the peak value without adding the judgment of current, voltage and other data to the process, thereby simplifying the control factors and reducing the difficulty of judgment.

[0079] Optionally, after the step of determining that the brightness of the light source has not reached a peak value when the state signal is less than the second preset time difference, the method further includes:

[0080] Return to the step of obtaining the second system standard time.

[0081] At this time, returning to execute the step of obtaining the second system standard time can continuously confirm whether the brightness of the light source is at a peak value, so that it can be confirmed in time when the peak value is reached without waiting.

[0082] Optionally, the second preset time difference is generally 5-100 microseconds.

[0083] In one embodiment, if Figure 4 As shown, before the step of obtaining the status signal of the light source of the scanner, the step also includes:

[0084] S35, obtaining the first system standard time and the cycle start time of the previous cycle;

[0085] Among them, the first system standard time is the system standard time of the scanner, the cycle in the previous cycle refers to the complete cycle of light source on-light source peak-camera on-structured light source off, and the cycle start time of the previous cycle refers to the system standard time when the light source in the previous cycle is turned on.

[0086] S36. If the time difference between the first system standard time and the cycle start time of the previous cycle is greater than or equal to a first preset time difference, the first system standard time is updated to the cycle start time of the previous cycle, and the light source of the scanner is controlled to turn on.

[0087] Among them, when the time difference between the first system standard time and the cycle start time of the previous cycle is greater than or equal to the first preset time difference, it means that the previous cycle has been completed. At this time, the first system standard time is updated to the cycle start time of the previous cycle to ensure the accurate start of the next scanning process. Controlling the scanner's light source to turn on can be performed simultaneously with or after the step of updating the first system standard time to the cycle start time of the previous cycle. When performed simultaneously, the scanning process can be controlled to be relatively short. Delaying the process can slightly reduce the requirements for the controller or processor, thereby reducing the hardware cost of the scanner equipped with the solution of this application.

[0088] Optionally, the first preset time difference is set as the time interval of each scanning cycle, which can be set at 5-20 frames / second, that is, the cycle can be 50-200 milliseconds.

[0089] In one embodiment, the step of obtaining a status signal of a light source of the scanner includes:

[0090] The second system standard time is acquired, and the time difference between the second system standard time and the cycle start time of the previous cycle is used as a status signal.

[0091] The above embodiment obtains the time difference between the second system standard time and the cycle start time of the previous cycle. In the solution of the present application, the light source of the scanner is controlled to turn on when the time difference between the first system standard time and the cycle start time of the previous cycle is greater than or equal to the first preset time difference. Therefore, the practical significance of this step is to monitor the turn-on time of the light source. At this time, the monitoring does not need to perform settings such as sensors and feedback loops, which simplifies the machine connection line from the device point of view.

[0092] In one embodiment, the step of controlling the light source to be turned off comprises:

[0093] A third system standard time is obtained, and if a time difference between the third system standard time and the second system standard time is greater than or equal to a third preset time difference, the light source is controlled to be turned off.

[0094] At this time, when the time difference between the third system standard time and the second system standard time is greater than or equal to the third preset time difference, the light source is controlled to be turned off, which can ensure that the camera has sufficient exposure time, thereby achieving synchronous and orderly triggering.

[0095] Optionally, the third preset time difference is 5-100 microseconds.

[0096] In one embodiment, if Figure 5 As shown, when the brightness of the light source reaches a peak value, the step of controlling the camera to take a photo includes:

[0097] S331, when the brightness of the light source reaches a peak value;

[0098] S332, the control module of the scanner outputs a first start signal to the camera;

[0099] The first start signal at this time can be a signal format such as high or low level.

[0100] S333, obtaining a fourth system standard time, and if the time difference between the fourth system standard time and the second system standard time is greater than or equal to a fourth preset time difference, the control module of the scanner outputs a second start signal to the camera;

[0101] S334: After receiving the first start signal and receiving the second start signal after an interval of at least the fourth preset time difference, the camera takes a photo.

[0102] In the above embodiment, the control module of the scanner will output two start signals with a certain time interval to the camera to control the camera to start. On the camera end, the camera has a controller. After receiving the first start signal, it will be stored in advance. When the second start signal is received after a preset time, the photo-taking program will be triggered. In this way, the control signal can be divided into multiple segments, and it will be started only after certain conditions are met to avoid false triggering.

[0103] In the exemplary technology, PWM signals or high and low level signals are generally used to trigger subsequent actions, and no other technical solutions are involved. In the above-mentioned solution of the present application, since the control module controls the camera and the shutter of the camera is very fast, the control solution using the above-mentioned PWM signals or high and low level signals is prone to false triggering, and is very likely to cause camera sampling image distortion when the ambient light source is not clear. If only PWM signals or high and low level signals are used to trigger shutter sampling, the accuracy of the sampling data will be very low.

[0104] In the embodiment of the present application, based on the high and low level signal control principle, a new triggering method is proposed, that is, when the control module controls the camera to take pictures, a TTL high level signal is used as the first start signal and the second start signal, and the two signals need at least a fourth preset time difference interval, which is a complete trigger timing, thereby avoiding the false triggering scheme of a single high and low level in the prior art. In addition, the purpose of quickly controlling the camera to take pictures can be achieved to the greatest extent. Since the high and low level triggers are relatively simple, the fourth preset time difference can be shortened as much as possible, which can be close to or even exceed the speed of PWM signal transmission, but can avoid false triggering during PWM signal control.

[0105] Optionally, the fourth preset time difference is 2-100 milliseconds.

[0106] The present invention further provides a storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of the 3D scanner system control method as shown above.

[0107] It should be noted that, since the storage medium of the present application contains all the steps of the above-mentioned 3D scanner system control method, the storage medium can also implement all the schemes of the 3D scanner system control method and have the same beneficial effects, which will not be repeated here.

[0108] A 3D scanner system control method in the above method embodiment is executed. The device embodiment described above is only illustrative, in which the units described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. It can be understood by those of ordinary skill in the art that all or some steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by the computer. In addition, it is well known to those skilled in the art that communication media generally contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery media.

[0109] The present invention also proposes a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the 3D scanner system control method as described above.

[0110] It should be noted that, since the computer device of the present application includes all the steps of the above-mentioned scanner control method, the computer device can also implement all the schemes of the scanner control method and have the same beneficial effects, which will not be repeated here.

[0111] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk memory, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the control processor, and these remote memories may be connected to the power transmission circuit cross-spanning intelligent identification device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0112] The present invention also provides a 3D scanner system, such as Figure 6 As shown, the 3D scanner system includes:

[0113] Pedestal;

[0114] A turntable, disposed on the base;

[0115] A scanner, disposed on the base, the scanner comprising a camera and a light source;

[0116] A control module, the control module is electrically connected to the camera, the light source and the turntable power supply, and the control module executes the steps of the 3D scanner system control method as described above

[0117] Optionally, the control module is a microcontroller.

[0118] In the prior art, in order to achieve synchronous triggering of the light source and the camera, the frame clock synchronization signal and structured light source synchronization signal of the industrial camera are generally output through controllers such as PCI (Peripheral Component Interconnect, peripheral component interconnection standard) image acquisition cards and FPGA field programmable gate arrays. Since the cost of PCI image acquisition cards and FPGA (Field Programmable Gate Array, a typical integrated circuit in semi-custom circuits) field programmable gate arrays is generally high, extremely complex design and wiring are required, and the cost is relatively high. The use of a microcontroller not only achieves synchronous triggering through high and low level signals, but also can orderly control the trigger timing, achieving better control accuracy and scanning effect than the prior art, and compared with expensive PCI image acquisition cards and FPGAs, the use of a microcontroller can significantly reduce costs.

[0119] Optionally, a microcontroller such as GD32F103RCT6 can be selected.

[0120] Optionally, the camera is an industrial camera and the light source is a structured light source.

[0121] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A 3D scanner system control method, characterized in that: The 3D scanner system includes a scanner and a turntable, and the 3D scanner system control method includes: Obtaining a periodic start instruction of the scanner; When the cycle start instruction is a scan start instruction, cutting off the power supply of the turntable; Controlling the scanner to execute a single image acquisition cycle; the steps of controlling the scanner to execute a single image acquisition cycle are: obtaining a status signal of a light source of the scanner; judging whether the brightness of the light source reaches a peak value according to the status signal; when the brightness of the light source reaches a peak value, controlling the camera to take a picture; controlling the light source to turn off; After confirming that a single image acquisition cycle has been completed, turning on the power of the turntable and re-determining the cycle start instruction of the turntable; Wherein, before the step of obtaining the status signal of the light source of the scanner, the step further includes: Get the first system standard time and the cycle start time of the previous cycle; If the time difference between the first system standard time and the cycle start time of the previous cycle is greater than or equal to a first preset time difference, the first system standard time is updated to the cycle start time of the previous cycle, and the light source of the scanner is controlled to turn on; Wherein, the step of obtaining the status signal of the light source of the scanner includes: Acquire a second system standard time, and use a time difference between the second system standard time and the cycle start time of the previous cycle as a status signal; Wherein, the step of controlling the light source to be turned off comprises: Acquire a third system standard time, and if the time difference between the third system standard time and the second system standard time is greater than or equal to a third preset time difference, control the light source to be turned off; Wherein, when the brightness of the light source reaches a peak value, the step of controlling the camera to take a photo comprises: When the brightness of the light source reaches a peak value; The control module of the scanner outputs a first start signal to the camera; Acquiring a fourth system standard time, if the time difference between the fourth system standard time and the second system standard time is greater than or equal to a fourth preset time difference, the control module of the scanner outputs a second start signal to the camera; After receiving the first start signal and receiving the second start signal after an interval of at least the fourth preset time difference, the camera takes a photo.

2. The 3D scanner system control method according to claim 1, characterized in that: The step of obtaining the periodic start instruction of the scanner also includes: Get the working status of the turntable; When the turntable starts to rotate from rest, an initial rotation time is acquired and a current time is collected, and a cumulative rotation time is determined according to the initial rotation time and the current time; When the accumulated rotation time reaches a preset time value, a cycle start instruction is output.

3. A storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor executes the steps of the 3D scanner system control method according to any one of claims 1 to 2.

4. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the 3D scanner system control method according to any one of claims 1 to 2.

5. A 3D scanner system, characterized in that: The 3D scanner system comprises: Pedestal; A turntable, disposed on the base; A scanner, disposed on the base, the scanner comprising a camera and a light source; A control module, wherein the control module is electrically connected to the camera, the light source and the turntable power supply respectively, and the control module executes the steps of the 3D scanner system control method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Industry scanner with light source power control system

    CN205071123U

  • Alignment of images of a three-dimensional object

    US20170109888A1