Scanning device and method for returning to home position applied to the scanning device
The scanning device uses a positioning figure with patterned blocks outside the scanning window to enable accurate and efficient home position return of the scanning module, addressing the need for additional hardware and space occupation in conventional devices.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- KINPO ELECTRONICS LTD
- Filing Date
- 2025-01-15
- Publication Date
- 2026-06-18
AI Technical Summary
Conventional scanning devices require additional hardware components for determining the home position of the scanning module, increasing costs and occupying space, which complicates the device's structure and reduces its compactness.
A scanning device with a positioning figure installed outside the scanning window, comprising consecutively adjacent blocks with different pattern features, allows the scanning module to detect its position using image analysis and pixel value calculations to accurately return to the home position without additional hardware.
The solution enables efficient and accurate home position return of the scanning module, reducing movement time and space occupation, while eliminating the need for extra hardware, thus simplifying the device's structure and reducing costs.
Smart Images

Figure 2026099703000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a scanning device and a control method thereof, and particularly to a home position return method applied to the scanning device and the scanning device.
Background Art
[0002] After the scanning device completes the scanning operation, the scanning module returns to the origin position so that the scanning module moves from a certain starting position each time and the scanning range each time is constant. In a conventional scanning device, a stretching structure and a sensor are installed. When the stretching structure blocks the sensor when the scanning module moves to a specific position, the scanning device determines that the scanning module is located at the origin and the home position return of the scanning module is completed. However, such a method requires adding hardware components to the scanning device, resulting in additional hardware costs. Also, to return the scanning module to the home position, the additional hardware components occupy the space inside the scanning device and the volume cannot be reduced.
[0003] Therefore, improving the design of the scanning device, simplifying the structure of the scanning device, and enabling accurate home position return of the scanning module are major concerns.
Summary of the Invention
Means for Solving the Problems
[0004] A scanning device including a scanning module and a positioning figure is provided based on an embodiment of the present invention. The scanning module moves along the scanning movement cycle direction. The positioning figure is installed outside the scanning window along the scanning movement cycle direction. Here, the positioning figure includes a first block, a second block, and a third block. The first block is associated with a positioning position, and the second block is associated with the scanning start position. The first, second, and third blocks are consecutively adjacent blocks with different pattern features. When the scanning module moves a first stepping distance in the direction of the positioning position, it detects the capture feature of the current position, and if the capture feature of the current position is the same as the pattern feature of the second block, the scanning module switches to moving a second stepping distance in the direction of the positioning position. Subsequently, the scanning module detects the capture feature of the current position, and if it determines that the capture feature of the current position is the same as the pattern feature of the first block, the scanning module determines that the current position is a positioning position and stops at the positioning position.
[0005] Based on another embodiment of the present invention, a method for returning to a home position applied to a scanning device is provided, wherein the scanning device is a scanning module that moves along the scanning movement cycle direction. The method for returning to a home position includes a positioning figure installed outside the scanning window along the scanning movement cycle direction, the positioning figure including a first block, a second block and at least one third block. The first block is associated with a positioning position, and the second block is associated with the scanning start position. The first, second, and third blocks are consecutively adjacent blocks with different pattern features. The method for returning to a home position further includes: When the scanning module moves a first stepping distance in the direction of the positioning position, it detects the capture feature of the current position of the scanning module. When the scanning module determines that the capture feature of the current position is the same as the pattern feature of the second block, it switches to moving a second stepping distance in the direction of the positioning position. Subsequently, when the scanning module detects the capture feature of the current position and determines that the capture feature of the current position is the same as the pattern feature of the first block, it determines that the current position is the positioning position and stops at the positioning position. [Brief explanation of the drawing]
[0006] [Figure 1] This is a top view of the scanning module of a scanning device according to an embodiment of the present invention. [Figure 2] This is a top view of a scanning device on which a positioning figure according to an embodiment of the present invention is installed. [Figure 3] This is a side view of a scanning device according to an embodiment of the present invention. [Figure 4] Figure 2 is a top view of the scanning module after it has moved the first stepping distance. [Figure 5] This is a top view after the scanning module has moved one or more second stepping distances. [Figure 6] This is a top view of a scanning device on which a positioning figure according to an embodiment of the present invention is installed. [Figure 7] This is a top view of a scanning device on which a positioning figure according to another embodiment of the present invention is installed. [Figure 8] This is a flowchart of a method for returning to the origin point applied to a scanning device according to an embodiment of the present invention. [Modes for carrying out the invention] [Examples]
[0007] The present invention will be further described below in combination with drawings and examples so that persons in the technical field to which the invention pertains can better understand and appropriately implement the present invention. However, the examples given are not intended to limit the present invention.
[0008] Each time the scanning device completes a scanning operation, it is necessary to execute a home position return program that returns the scanning module to its positioning location, ensuring that each subsequent scanning operation of the scanning module starts from a fixed reference point. Furthermore, after several scanning operations, the scanning module may shift from its preset position due to mechanical vibration, and the home position return operation can also prevent the scanning module from shifting after prolonged operation.
[0009] Figure 1 shows a top view of the scanning module of a scanning device according to an embodiment of the present invention.
[0010] The scanning device 100 includes a scanning module 110 and a scanning window 150. The scanning module 110 is positioned below the horizontal plane of the scanning window 150 and is used to detect documents placed horizontally on the scanning window 150. The scanning window 150 is like a transparent window that allows light to enter the scanning module 110 and limits the scanning range of the scanning module 110.
[0011] The scanning module 110 includes an optical element (such as a light-emitting diode (LED)), a sensor (a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) sensor), and a drive mechanism (such as a stepping motor) (not shown).
[0012] As shown in Figure 1, positioning position 124 is the reference point where the scanning module 110 returns to its home position and stops. When the scanning device 100 starts scanning, the scanning module 110 uses positioning position 124 as its starting point. Scanning start position 122 is the position after the scanning module 110 has completed scanning, and it quickly returns from this position to positioning position 124; this process is called the home position return operation.
[0013] The scanning device 100 can perform scanning and home position return operations. The scanning module 110 starts the scanning operation from the positioning position 124 and moves below the scanning window 150 to capture the scanned material. After the scanning operation is completed, the scanning module 110 is at the scanning end position. At this time, the scanning module 110 sets the scanning end position as the scanning start position 122, moves in the direction of the positioning position 124, stops at the positioning position 124, and completes the home position return.
[0014] Before the scanning module 110 returns to the positioning position 124, it is necessary to continuously detect from the scanning start position 122 whether it has moved to the positioning position 124. Since the scanning start position 122 and the positioning position 124 are on opposite sides of the scanning window 150, it takes a considerable amount of time for the scanning module 110 to move from one side of the scanning window 150 to the other.
[0015] Figure 2 shows a top view of a scanning device on which a positioning figure according to an embodiment of the present invention is installed.
[0016] The scanning module 210 of the scanning device 200 moves along the moving-scan cycle direction 290 to perform scanning and home position return operations. The moving-scan cycle direction 290 may be the reciprocating direction between the positioning position 224 and the scanning end position 226. For example, the scanning module 210 starts moving from the positioning position 224, performs scanning, moves to the scanning end position 226 to complete the scanning operation. Subsequently, the scanning module 210 moves from the scanning end position 226 back to the positioning position 224 to complete the home position return.
[0017] When the scanning device 200 completes its scanning operation, the scanning module 210 is at the end of the scanning position (not shown in Figure 1). In Figure 1, the scanning module 110 uses the end of the scanning position as the start of the scanning position 122, and performs a return to home position operation while the scanning module 110 is moving in the direction of the positioning position 124, completing the return to home position of the scanning module 110. In contrast, in Figure 2, the scanning module 210 first quickly moves from the end of the scanning position 226 to the start of the scanning position 222 after the scanning operation is completed, and then begins detecting the positioning position 224 at the start of the scanning position 222, completing the return to home position of the scanning module 210. As a result, the return to home position operation shown in Figure 2 can save time on movement between the end of the scanning position 226 and the start of the scanning position 222, as well as time for image analysis.
[0018] In one embodiment, a positioning figure 300 is installed on the scanning device 200. The positioning figure 300 is installed outside the scanning window 250 and along the scanning movement cycle direction 290. For example, the positioning figure 300 is adjacent to the outside of the scanning window 250 and does not affect the scanning module 210 performing document operations through the scanning window 250. In one embodiment, when the scanning module 210 performs a scanning operation, the positioning figure 300 located outside the scanning window 250 is not used as the document scanning output.
[0019] The positioning figure 300 may be in the shape of a strip and parallel to the scanning movement cycle direction. The length of the scan line of the scanning module 210 is greater than the length of the scanning window 250 (in the X direction) and extends a certain length outside the scanning window 250. In one embodiment, the scan line of the scanning module 210 includes a scan segment 216 and a redundant segment 218. The scan segment 216 is the width of the trajectory on which the scanning module 210 outputs the scanned material when performing a scanning operation. The redundant segment 218 is the width of the trajectory on which the scanning module 210 detects the positioning figure 300 when performing a return-to-home operation. When the scanning device 200 performs a return-to-home operation, the scanning module 210 detects only the content on the scan line outside the scanning window 250 (i.e., the redundant segment 218).
[0020] Figure 3 shows a side view of the scanning device according to an embodiment of the present invention.
[0021] A document can be placed above the horizontal plane of the scanning window 250 of the scanning device 200 (not shown). The scanning movement cycle direction of the scanning module 210 is the direction penetrating the paper shown in FIG. 3. As shown in FIG. 3, the scanning module 210 is installed below the horizontal plane of the scanning window 250, and in a manner where the detection surface faces upward from the horizontal plane, scans the document through the scanning window 250 in the scanning movement cycle direction.
[0022] The positioning pattern 300 is installed outside the scanning window 250, and the scanning line of the scanning module 210 covers the width of the scanning window 250 and the width of the positioning pattern 300. In one embodiment, the positioning pattern 300 is adjacent to the outside of the scanning window 250, so that the scanning line of the scanning module 210 can cover a part or all of the width of the positioning pattern 300.
[0023] Refer to FIG. 2 again. The positioning pattern 300 includes a first block 310, a second block 320, and a third block 330. The first block 310, the second block 320, and the third block 330 are blocks that are continuously adjacent and have different pattern characteristics from each other.
[0024] The continuous adjacency of the blocks means that the first block 310 is adjacent to the second block 320, the second block 320 is adjacent to the first of the third block 330, and the first of the third block 330 is adjacent to the second of the third block 330, and so on by analogy.
[0025] In the embodiment of FIG. 2, one third block 330 is taken as an example for explanation, but the number of third blocks 330 is not limited in the present invention.
[0026] In one embodiment, the first block 310 of the positioning figure 300 is associated with a positioning position 224, and the second block 320 of the positioning figure 300 is associated with a scanning start position 222. The association of the first block 310 with the positioning position 224 means that when the scanning module 210 moves into the range of the first block 310 and detects the pattern features of the first block 310, the scanning module 210 determines that it has moved to the positioning position 224 and stops moving. The association of the second block 320 with the scanning start position 222 means that when the scanning module 210 moves into the range of the second block 320 and detects the pattern features of the second block 320, the scanning module 210 moves a short distance and executes a capture feature detection program, continuing until it moves into the range of the first block 310.
[0027] As follows, after the scanning operation is completed, the scanning module 210 first performs a first home position detection to move from the scanning end position 226 to the scanning start position 222, and then performs a second home position detection from the scanning start position 222 to complete the detailed home position return operation of the scanning module 210.
[0028] After the scanning operation is complete, the scanning module 210 is at the scanning end position 226. Next, the scanning module 210 moves a first stepping distance in the direction of positioning position 224 and detects the capture features of the scanning module 210's current position by detecting an image with a certain number of pixels (first origin position detection). If the capture features of the current position are the same as the pattern features of the second block 320, the scanning module 210 switches to moving a second stepping distance in the direction of positioning position 224 and detects the capture features of the scanning module 210's current position by detecting an image with a certain number of pixels (second origin position detection). If the capture features of the current position are the same as the pattern features of the first block 310, the scanning module 210 determines that its current position is positioning position 224 and completes the origin return program by stopping at positioning position 224.
[0029] In one embodiment, the first stepping distance is the same as the length of the third block 330. For example, at the scan end position 226, the scanning module 210 moves a distance equal to the length of the third block 330 in the direction of the positioning position 224. In the first origin return detection, since the scan end position 226 is within the range of the third block 330, the scanning module 210 moves the first stepping distance and then enters the range of the second block 320.
[0030] In one embodiment, the second stepping distance is the same as the length of the first block 310. For example, in the second origin return detection, after the scanning module 210 moves within the range of the second block 320, it moves a distance equal to the length of the first block 310 in the direction of the positioning position 224 to detect the capture features of the current position. If the capture features of the current position differ from the pattern features of the first block 310, it steps a distance equal to the length of the first block 310 and continues until it detects that the capture features of the current position are the same as the pattern features of the first block 310.
[0031] In one embodiment, the first stepping distance is greater than the second stepping distance. That is, the scanning module 210 moves a larger distance before moving to the scanning start position 222 (third block 330) to quickly approach the scanning start position 222. Once it enters the scanning start position 222 (second block 320), it moves a smaller distance to detect whether it has arrived at the positioning position 224 (first block 310).
[0032] In one embodiment, each block of the positioning figure 300 has a preset length and corresponds to the stepping distance in the origin return program of the scanning module 210. For example, the first stepping distance is the same as the block length of the third block 330, and the second stepping distance is the same as the block length of the first block 310 or another set value (such as the distance between 32 scan lines). Here, the sum of the block lengths of the second block 320 and the third block 330 is approximately equal to the width of the scanning window 250 (in the Y direction).
[0033] Figure 4 shows a top view of the scanning module after it has moved the first stepping distance shown in Figure 2. In Figure 4, the scanning module 210 is within the range of the second block 320 after moving the first stepping distance D1. At this point, the scanning module 210 switches to moving the second stepping distance and performing image analysis. For example, the scanning module 210 moves from the scanning start position 222 towards the positioning position 224 and continuously performs high-resolution image analysis to determine whether the captured features at the current position are the same as the pattern features of the first block 310.
[0034] Figure 5 shows a top view after the scanning module has moved one or more second stepping distances. Following Figure 4, in Figure 5, the scanning module 210 continuously moves in the direction of positioning position 224 to perform image analysis over a short distance. In this embodiment, the scanning module 210 determines that the captured features at the current position are the same as the pattern features of the first block 310, and therefore determines that the current position is positioning position 224 and stops at positioning position 224.
[0035] As shown in Figures 4 and 5, the scanning module 210 calculates pixel values only once while moving from the scan end position 226 to the scan start position 222. Furthermore, it performs image analysis one or more times while moving from the scan start position 222 to the positioning position 224. The number of these movements and image analyses depends on the reading distance of the scanning module 210 (e.g., one image analysis is performed every time it moves the distance of 32 scan lines), and this reading distance is also related to the block length of the first block 310. In other words, the longer the distance between the scan start position 222 and the positioning position 224, i.e., the more times the scanning module 210 moves from the range of the second block 320 to the range of the first block 310 and performs image analysis, the longer the time required to achieve home position return.
[0036] Figure 6 shows a top view of a scanning device on which a positioning figure according to an embodiment of the present invention is installed.
[0037] The scanning module 610 of the scanning device 600 is oriented toward the scanning window 650 and scans the document through the scanning window 250 in the direction of the scanning movement cycle.
[0038] The positioning figure 630 is positioned outside the scanning window 650, and the scan lines of the scanning module 610 cover the width of the scanning window 650 and the width of the positioning figure 630.
[0039] The positioning figure 300 includes a first block 631, a second block 633, and multiple third blocks 635a to 635f. The first block 631, the second block 633, and the multiple third blocks 635a to 635f are consecutively adjacent blocks with different pattern features.
[0040] When the width of the positioning figure 300 is constant, the more blocks there are in the positioning figure 300, the shorter the block length of each block becomes. For example, the positioning figure 630 in Figure 6 has six third blocks, and the positioning figure 300 in Figure 2 has one third block. Therefore, the block length of the third block 635a in Figure 6 is shorter than the block length of the third block 330 in Figure 2.
[0041] In one embodiment, the scanning device 600 presets the first stepping distance D2 to the same distance as the block length of the third blocks 635a to 635f, and presets the second stepping distance to the same distance as the block length of the first block 631 or another set value (such as the distance of 32 scan lines). In this embodiment, the first stepping distance is greater than the second stepping distance.
[0042] As shown in Figure 6, the scanning module 610 moves a first stepping distance D2 from the scanning end position 671. The position of the scanning module 610 after moving the first stepping distance D2 is the current position 673. Since the first stepping distance D2 is the block length of the third block, the scanning module 610 moves directly to the next third block. For example, the scanning module 610 moves from the range of the third block 635a directly to the range of the third block 635b. In this embodiment, since the positioning figure 630 has six third blocks, the scanning module 610 performs stepping control six times, and by moving a first stepping distance equal to the block length of the third block each time, it can move within the range of the second block 633, i.e., the scanning start position 622.
[0043] Since each stepping control involves one pixel value calculation, the scanning module 610 can reach the scanning start position 622 by performing stepping control and pixel value calculation six times.
[0044] In the embodiment shown in Figure 6 above, after the scanning module 610 arrives at the scanning start position 622, it switches to moving in the direction of the positioning position 224 by a second stepping distance, thereby performing image analysis with a shorter movement distance (compared to the first stepping distance). If the scanning module 610 determines that the captured features at the current position and the pattern features of the first block 631 are different, it moves again by the second stepping distance and performs image analysis. If the scanning module 610 determines that the captured features at the current position are the same as the pattern features of the first block 631, it determines that the current position is the positioning position 624 and stops at the positioning position 624.
[0045] In one embodiment, the pattern features of the block may be the block color or the block width.
[0046] Block colors may be colors that use color spaces such as RGB (Red, Green, Blue), HSV (Hue, Saturation, Value), HSL (Hue, Saturation, Lightness), and CMYK (Cyan, Magenta, Yellow, Key Plate (Black)).
[0047] All blocks of the positioning figure 630 are pre-designed with corresponding colors. Using the HEX color space as an example, the block color of the first block 631 is FFFFFF (white), the block color of the second block 633 is 000000 (black), the block color of the third block 635a is FFFF00 (yellow), the block color of the third block 635b is FF00FF (magenta), the block color of the third block 635c is 00FFFF (light blue), the block color of the third block 635d is FF0000 (red), the block color of the third block 635e is 00FF00 (green), and the block color of the third block 635f is 0000FF (blue).
[0048] In one embodiment, the color distance between the block colors of the third block 635f and the second block 633 is greater than a threshold. By designing block colors with a sufficiently large color difference, the scanning module 610 can complete image analysis quickly, reduce errors due to erroneous processes, and improve efficiency and accuracy.
[0049] In another embodiment, the first block 631, the second block 633, and the multiple third blocks 635a to 635f may be blocks with different block lengths. The scanning device 600 pre-records the block color and block length of the first block 631, the second block 633, and the multiple third blocks 635a to 635f. When the scanning module 610 moves to a specific block, it determines the block corresponding to its current position based on the captured features and sets the block length of the corresponding block as the first stepping distance. For example, if the scanning module 610 detects that its current position is the third block 635e, it then sets the block length of the third block 635e as the first stepping distance and moves the scanning module 610 to the positioning position 724.
[0050] In one embodiment, the first block 631 is a block having a special pattern. When the scanning module 610 moves into the range of the first block 631, the scanning module 610 determines whether the special pattern has been analyzed by image analysis. If the special pattern has been analyzed, it means that the scanning module 610 has moved to the positioning position and completes the return to home position operation. In one embodiment, if the scanning module 610 has not analyzed the complete special pattern, it moves a small amount and continues until the complete special pattern has been analyzed.
[0051] Figure 7 is a top view of a scanning device on which a positioning figure according to another embodiment of the present invention is installed.
[0052] The positioning figure 730 is positioned outside the scanning window 750, and the scanning lines of the scanning module 710 cover the width of the scanning window 750 and the width of the positioning figure 730.
[0053] Positioning shapes 300 and 630 are designed to have different block colors, while positioning shape 730 is designed to have a different block width. In this embodiment, the scanning module 710 analyzes the block width in the image to capture the current position feature.
[0054] The positioning figure 730 includes a first block 731, a second block 733, and a third block 735, and each of the first block 731, the second block 733, and the third block 735 has a block width (in the X direction). In one embodiment, the block width of the first block 731 is greater than the block width of the second block 733, and the block width of the second block 733 is greater than the block width of the third block 735.
[0055] The user can pre-design the block widths of the first block 731, the second block 733, and the third block 735 and record them in the scanning device 700. For example, the block width of the first block 731 is 30 pixels, the block width of the second block 733 is 20 pixels, and the block width of the third block 735 is 10 pixels.
[0056] During the home position return operation of the scanning module 710 by the scanning device 700, after the scanning operation is completed, the scanning module 710 is at the scanning end position 726. Subsequently, the scanning module 710 moves a first stepping distance D3 (such as the block length of the third block 735) in the direction of the positioning position 724, and the capture features of the scanning module 710's current position 773 (such as a block width of 20 pixels) are detected by image analysis. If the capture features of the current position 773 are the same as the pattern features of the second block 320, the scanning module 710 switches to moving a second stepping distance in the direction of the positioning position 724, and the capture features of the scanning module 710's current position (such as a block width of 30 pixels) are detected by image analysis. If the capture features of the current position are the same as the pattern features of the first block 731, the scanning module 710 determines that its current position is the positioning position 724, and completes the home position return program by stopping at the positioning position 724.
[0057] As can be seen from the descriptions of each embodiment above, in the present invention, the positioning figures (300, 630, 730) are placed outside the scanning windows (250, 650, 750), and the scan lines of the scanning modules (210, 610, 710) can cover the width of the scanning windows (250, 650, 750) and the width of the positioning figures (300, 630, 730), respectively. In this way, the existing outer space of the scanning windows (250, 650, 750) is utilized and combined with the last rear end segment of the scanning modules (210, 610, 710). This design allows for more effective use of the scanning modules (the portion beyond the scanning window in conventional scanning modules is not particularly useful) and enables them to perform their positioning role.
[0058] Figure 8 is a flowchart of the origin return method applied to a scanning device according to an embodiment of the present invention. When any of the scanning devices of the above embodiments executes the origin return method shown in Figure 8, the scanning module returns to a predetermined position after completing the scanning operation.
[0059] In step S810, a positioning figure is placed outside the scanning window, along the scanning movement cycle direction.
[0060] In step S820, the scanning module moves a first stepping distance in the direction of the positioning position, and then detects the capture features of the scanning module's current position.
[0061] In step S830, the scanning module determines whether the captured features at its current position are the same as the pattern features of the second block. If it determines that it is correct, it proceeds to step S840. If it determines that it is incorrect, it means that the scanning module's current position is still within the range of the third block, and it returns to step S820 to move by the first stepping distance and continue performing image analysis.
[0062] In step S840, the scanning module switches to moving a second stepping distance in the direction of the positioning position, and then detects the capture features of the current position.
[0063] In step S850, if the captured features of the current position and the pattern features of the first block are the same, the scanning module determines that the current position is the positioning position and stops at the positioning position. At this time, the scanning module completes its return to the home position.
[0064] As described above, the scanning device and the origin return method applied to the scanning device of the present invention determine the current position of the scanning module by placing a positioning figure on the scanning device and analyzing the pattern features of the positioning figure. Since the scanning module does not require image analysis from the scanning end position to the scanning start position and only requires simple pixel value calculations, the scanning module can quickly move to the positioning position even from a position far away from the positioning position, and the movement time of the scanning module can be greatly reduced. In addition, the scanning module performs short-distance movement and image analysis near the positioning position, and by combining this with the design of pattern features in the blocks of the positioning figure, the scanning module can accurately determine whether the return to the origin of the scanning module is complete.
[0065] The above are merely specific embodiments of the present invention and are not intended to limit the scope of the claims of the present invention. Therefore, any equivalent modifications made by applying the content of the present invention are all included within the scope of protection of the present invention. [Explanation of symbols]
[0066] 100, 200, 600, 700: Scanning device 110, 210, 610, 710: Scanning module 122, 222, 622, 722: Scanning start position 124, 224, 624, 724: Positioning positions 150, 250, 650, 750: Scanning window 226, 671, 726: Scan end position 216: Scanning segment 218: Redundant segment 290: Scanning movement cycle direction 300, 630, 730: Positioning shapes 310, 631, 731: First Block 320, 633, 733: Second Block 330, 635A~635F, 735: Third Block 673, 773: Current position D1, D2, D3: First stepping distance S810~S850: Step
Claims
1. A scanning module that moves along the scanning movement cycle direction, Outside the scanning window, along the scanning movement cycle direction, is a positioning figure comprising a first block, a second block and at least one third block, wherein the first block is associated with a positioning position and the second block is associated with a scanning start position, and the first block, the second block and at least one third block are continuously adjacent and have different pattern features from each other. A scanning device characterized in that, when the scanning module moves a first stepping distance in the direction of the positioning position, it detects the capture features of the current position, and if the capture features of the current position are the same as the pattern features of the second block, the scanning module switches to detecting the capture features of the current position when it moves a second stepping distance in the direction of the positioning position, and if the capture features of the current position are the same as the pattern features of the first block, the scanning module determines that the current position is the positioning position and stops at the positioning position.
2. The scanning device according to claim 1, wherein the length of the scanning line of the scanning module is greater than the width of the scanning window, thereby detecting the segment outside the scanning window that includes the positioning figure.
3. The scanning device according to claim 1, wherein if the scanning module is within the range of at least one third block, the corresponding block of the current position is determined by the capture feature, and the block length of the corresponding block is set as the first stepping distance.
4. The scanning device according to claim 1, wherein the second block and at least one third block of the scanning module have the same block length.
5. The scanning device according to claim 1, wherein the pattern features of the first block, the second block, and the at least one third block are block color or block width.
6. A method for returning to the origin applied to a scanning device, The scanning device includes a scanning module that moves along the scanning movement cycle direction, Outside the scanning window, a positioning figure is installed along the scanning movement cycle direction, and the positioning figure includes a first block, a second block and at least one third block, the first block being associated with a positioning position, the second block being associated with a scanning start position, and the first block, the second block and at least one third block being consecutively adjacent blocks with different pattern features from each other. When the scanning module moves the first stepping distance in the direction of the positioning position, the capture characteristics of the current position of the scanning module are detected. If the scanning module determines that the captured feature at the current position is the same as the pattern feature of the second block, it switches to detecting the captured feature at the current position when moving the second stepping distance in the direction of the positioning position. A method for returning to an origin, characterized in that, if the scanning module determines that the captured features of the current position are the same as the pattern features of the first block, the current position is determined to be the positioning position and the system stops at the positioning position.
7. The origin return method according to claim 6, wherein the length of the scan line of the scanning module is greater than the width of the scanning window, thereby detecting the segment outside the scanning window that includes the positioning figure.
8. The origin return method according to claim 6, wherein the first stepping distance of the scanning module is equal to the block length of at least one third block.
9. The method for returning to the origin according to claim 6, wherein when the scanning module is moved to the range of at least one third block, the corresponding block of the current position is determined by the capture feature, and the block length of the corresponding block is set as the first stepping distance.
10. The method for returning to the origin according to claim 6, wherein the pattern features of the first block, the second block, and the at least one third block are block color or block width.