Edge portion position detection apparatus and printing apparatus
The optical sensor with two light receiving elements for differential signal processing improves edge portion detection accuracy in printing apparatuses by canceling out external interference, preventing misalignment and ink discharge errors.
Patent Information
- Application Number
- US19/666650
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2026-05-04
- Publication Date
- 2026-11-26
AI Technical Summary
Existing printing apparatuses face challenges in accurately detecting edge portion positions of printing media due to external factors such as curl or external light interference, leading to misalignment and ink discharge errors.
An optical sensor with one light emitting element and two light receiving elements is used to detect edge portions, where the light receiving elements are positioned to receive reflected light from non-overlapping reflection regions, allowing for differential signal processing to cancel out the impact of external factors.
This configuration enhances the accuracy of edge portion detection by minimizing the influence of external factors, ensuring precise alignment and reducing ink discharge errors.
Smart Images

Figure US20260374088A1-D00000_ABST
Abstract
Description
BACKGROUNDField of the Technology
[0001] The present disclosure relates to an edge portion position detection apparatus and a printing apparatus.Description of the Related Art
[0002] It has been known that printing apparatuses such as printers detect edge portion positions of a printing medium in order to properly perform printing on the printing medium. Japanese Patent Laid-Open No. 2004-182361 discloses a technique for detecting edge portion positions of a paper sheet using a medium sensor.
[0003] In the detection of edge portion positions of a printing medium, there is a need for a technique for reducing the negative impact of external factors on the detection accuracy.SUMMARY
[0004] An edge portion position detection apparatus according to one aspect of the present disclosure is an edge portion position detection apparatus comprising an optical sensor for detecting an edge portion position of a printing medium, wherein the optical sensor is capable of performing a scan in a width direction of the printing medium, and is capable of irradiating a detection target object including the printing medium with irradiation light, the optical sensor includes: a light emitting element configured to emit the irradiation light; a first light receiving element configured to receive first reflected light resulting from the irradiation light reflecting off a first reflection region on the detection target object; a second light receiving element configured to receive second reflected light resulting from the irradiation light reflecting off a second reflection region on the detection target object, the second light receiving element being disposed on an opposite side of the light emitting element from the first light receiving element in a direction intersecting a scanning direction of the optical sensor; a first light receiving opening being an opening for the optical sensor to obtain the first reflected light; and a second light receiving opening being an opening for the optical sensor to obtain the second reflected light, and the optical sensor is configured by the light emitting element, the first light receiving element, the second light receiving element, the first light receiving opening, and the second light receiving opening so that positional ranges of the first reflection region and the second reflection region in the scanning direction of the optical sensor do not overlap each other.
[0005] Features of the present disclosure will become apparent from the following description of embodiments with reference to the attached drawings. The following description of embodiments is described by way of example.BRIEF DESCRIPTION OF THE DRAWINGS
[0006] FIG. 1 is a schematic diagram showing an example of a portion of an inkjet printing apparatus;
[0007] FIG. 2 is a schematic diagram showing an example of an optical sensor;
[0008] FIG. 3 is a perspective view schematically showing a portion of the optical sensor shown in FIG. 2;
[0009] FIG. 4 is a block diagram showing an example of a control unit of the printing apparatus;
[0010] FIG. 5 is a flowchart showing an example of a reference voltage determination method;
[0011] FIG. 6 is a schematic diagram showing an example of the optical sensor and a printing medium;
[0012] FIG. 7 is a graph showing an example of output voltages of amplifier circuits as a function of the position of the optical sensor;
[0013] FIG. 8 is a graph showing an example of output voltages of differential amplifier circuits as a function of the position of the optical sensor;
[0014] FIG. 9 is a graph showing an example of output voltages of comparator circuits as a function of the position of the optical sensor;
[0015] FIG. 10 is a flowchart showing an example of a printing operation;
[0016] FIG. 11 is a schematic diagram showing an example of an optical sensor;
[0017] FIG. 12 is a schematic diagram showing an example of the optical sensor and a printing medium;
[0018] FIG. 13 is a graph showing an example of output voltages of the amplifier circuits as a function of the feed amount of the printing medium;
[0019] FIG. 14 is a graph showing an example of output voltage of the differential amplifier circuit as a function of the feed amount of the printing medium; and
[0020] FIG. 15 is a graph showing an example of output voltage of the comparator circuit as a function of the feed amount of the printing medium.DESCRIPTION OF THE EMBODIMENTS
[0021] The following will describe example embodiments of the present disclosure in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the matters of the present disclosure, and not all of the combinations of features described in these embodiments are required for the solutions of the present disclosure. Note that the same constructional elements will be assigned the same reference numeral.
[0022] In this specification, “printing” shall refer not only to forming meaningful information, such as characters or figures, but also to forming meaningless information. Further, “printing” shall broadly refer to forming images, designs, patterns, and the like on a printing medium, or to processing the medium, regardless of whether they are actualized so as to be visually perceivable by humans. “Printing medium” (which may be referred to as “printing paper sheet”, “paper sheet”, or “medium”) shall refer to not only paper used in common printing apparatuses, but also broadly refer to cloth, a plastic film, a metal plate, glass, ceramics, wood, leather, and other media capable of receiving ink.First Embodiment<Overview>
[0023] This embodiment describes an example of reducing the negative impact of external factors on the detection accuracy in the detection of edge portion positions of a printing medium in a printing apparatus. For example, in a serial inkjet printing apparatus, feeding of a printing medium and scanning by the carriage are alternately performed in a printing operation. At this time, the feed direction of the printing medium may deviate from the direction (Y-direction) intersecting the scanning direction (X-direction) of the carriage, and the edge portion positions of the printing medium in the X-direction may be misaligned from their original positions. This misalignment of the edge portion positions may cause, for example, the discharge of ink on the platen instead of the printing medium. In order to prevent such inconvenience, the printing apparatus detects the edge portion positions of the printing medium in the X-direction during a printing operation, and in a case of detecting misalignment of the edge portion positions, it adjusts the start and end positions of ink discharging, for example.
[0024] A reflective optical sensor is generally used to detect an edge portion position of a printing medium. The optical sensor has a light emitting element and a light receiving element, irradiates a detection target object with light from the light emitting element, and receives light reflected by the detection target object using the light receiving element. The optical sensor detects the edge portion position while moving in the X-direction. The printing apparatus determines the presence or absence of a printing medium on the platen based on the change in the output signal of the light receiving element due to the difference in reflectance of light between the printing medium and the platen, and detects the edge portion position of the printing medium.
[0025] For example, in a case where there are external factors such as the curl of an edge portion of a printing medium or external light shining near the irradiated region of the light emitting element, the light quantity received by the light receiving element may be higher than it should be. In this case, the printing apparatus erroneously recognizes a location different from the actual edge portion position of the printing medium as the edge portion position. In this way, external factors may reduce the accuracy of detecting the edge portion position of the printing medium.
[0026] Therefore, in this embodiment, an optical sensor having one light emitting element and two light receiving elements is used to detect edge portion positions of a printing medium. In the presence of external factors, the light quantities received by the two light receiving elements change, and thus their respective output signals also change. By taking a differential between the output signals of the two light receiving elements, the changes in the output signals caused by external factors are canceled out, which can reduce the negative impact of external factors on the detection accuracy.
[0027] Note that although the present disclosure describes a serial inkjet printer as an example of a printing apparatus, the printing apparatuses to which the present disclosure is applied are not limited to serial inkjet printers.<Configuration>
[0028] FIG. 1 is a schematic diagram showing an example of a portion of an inkjet printing apparatus (hereinafter simply referred to as a printing apparatus). A printing apparatus 100 performs a printing operation by causing a carriage 101 on a shaft (not shown) to perform reciprocal scans based on the driving force of a conveying belt (not shown). During a printing operation, a printing medium 10 is fed onto a platen 103 by a feed roller 102.
[0029] The scanning direction of the carriage 101 is defined as the X-direction. The X-direction is also the width direction of the printing medium 10. The direction intersecting the X-direction is defined as the Y-direction. The printing medium 10 is fed in the Y-direction. The side of the platen 103 to which the printing medium 10 is supplied is defined as the upstream side in the Y-direction, and the side of the platen 103 from which the printing medium 10 is ejected is defined as the downstream side in the Y-direction. In addition, the direction perpendicular to the XY plane is defined as the Z-direction. The side of the carriage 101 on which the platen 103 is located is defined as the lower side in the Z-direction, and the side of the platen 103 on which the carriage 101 is located is defined as the upper side in the Z-direction.
[0030] The carriage 101 is equipped with a printing head 104 for discharging ink. During a printing operation, the carriage 101 performs scans in the X-direction on the upper side in the Z-direction of the printing medium 10 fed onto the platen 103, and ink is dis-charged from the printing head 104. In a case where the printing head 104 (the carriage 101) performs a printing scan from one end to the other end of the printing medium 10 in the X-direction, the printing medium 10 is fed until the region where the next printing scan is performed is located on the platen 103. In this way, by repeating a printing scan and the feeding of the printing medium 10, an image is formed on the printing medium 10.
[0031] The carriage 101 is equipped with an encoder sensor (not shown). While the carriage 101 is performing a printing scan, position information of the carriage 101 in the X-direction is obtained using an electrical signal obtained from the encoder sensor.
[0032] A code wheel (not shown) is attached to the feed roller 102. The feed amount of the printing medium 10 in the Y-direction is obtained using the code wheel and the encoder sensor (not shown) attached to the main body side of the printing apparatus 100.
[0033] The printing apparatus 100 has an optical sensor 105 for detecting edge portion positions of the printing medium 10. The optical sensor 105 is capable of performing scans in the width direction (X-direction) of the printing medium 10, and irradiates the detection target object T (the platen 103 or the printing medium 10 on the platen 103) with irradiation light IL. The optical sensor 105 detects the edge portions of the printing medium 10 in the X-direction using the irradiation light IL, thereby detecting the length of the printing medium 10 in the X-direction (the width of the printing medium 10) and determining the printing range in the X-direction on the printing medium 10.
[0034] In this embodiment, the optical sensor 105 is mounted on the carriage 101 and moves with the printing head 104. The optical sensor 105 is provided to protrude from the carriage 101 in the X-direction. The Y-direction position of the region in which the optical sensor 105 reciprocates is located upstream of the Y-direction position of the region in which the printing head 104 reciprocates. The Z-direction position of a bottom wall 211 (FIG. 2) of the optical sensor 105 facing the platen 103 is located at the same position as or above the Z-direction position of the bottom surface of the printing head 104 on which orifices for discharging ink are provided. By providing the optical sensor 105 at such a position, it is possible to detect the edge portion positions of the printing medium 10 before the printing head 104 performs printing, and a printing operation can be performed without reversely feeding the printing medium 10 to the upstream side in the Y-direction.
[0035] Note that the optical sensor 105 does not have to be integrated with the printing head 104 or the carriage 101. In that case, a carriage for the optical sensor 105 to perform reciprocal scans is provided apart from the carriage 101.
[0036] FIG. 2 is a schematic diagram showing an example of an optical sensor. FIG. 3 is a perspective view schematically showing a portion of the optical sensor shown in FIG. 2. The optical sensor 105 has a substrate 200, a light emitting element 202, a first light receiving element 203, and a second light receiving element 204.
[0037] In this embodiment, the substrate 200 is a flat plate member and is provided parallel to the detection target object T. The substrate 200 has a first surface 201 facing the detection target object T. The first surface 201 of the substrate 200 is flat, and the light emitting element 202, the first light receiving element 203 and the second light receiving element 204 are disposed on the first surface 201.
[0038] The light emitting element 202 is an electronic component that emits light in response to an electrical signal. In this embodiment, the light emitting element 202 is a chip LED and emits light of infrared wavelengths. The light emitting element 202 is disposed at the center of the substrate 200.
[0039] The light emitting element 202 emits the irradiation light IL. In this embodiment, the direction of the central axis IOA of the irradiation light IL is the normal line direction of the first surface 201 of the substrate 200. Put differently, the light emitting element 202 emits the irradiation light IL in the normal line direction of the first surface 201 of the substrate 200. In other words, the detection target object T is irradiated with the irradiation light IL perpendicularly, and the central axis IOA of the irradiation light IL is perpendicular to the detection target object T. With the above configuration, the irradiation light IL is more uniformly incident on the detection target object T, thus sta-bilizing the performance of the optical sensor 105.
[0040] The first light receiving element 203 is an electronic component that converts light into an electrical signal, and is sensitive to the wavelengths of the irradiation light IL. The first light receiving element 203 receives a portion of reflected light RL resulting from the irradiation light IL being reflected by the detection target object T, and emits an output signal. The reflected light RL received by the first light receiving element 203 is referred to as first reflected light RL1. In this embodiment, the first light receiving element 203 is a photodiode chip, and is sensitive to the infrared wavelengths.
[0041] The second light receiving element 204 is an electronic component that converts light into an electrical signal, and is sensitive to the wavelengths of the irradiation light IL. The second light receiving element 204 receives a portion of the reflected light RL resulting from the irradiation light IL being reflected by the detection target object T, and emits an output signal. The reflected light RL received by the second light receiving el-ement 204 is referred to as second reflected light RL2. In this embodiment, the second light receiving element 204 is a photodiode chip of the same type as the first light receiving element 203, and is sensitive to the infrared wavelengths.
[0042] The second light receiving element 204 is disposed on the opposite side of the light emitting element 202 from the first light receiving element 203 in the scanning direction (X-direction) of the optical sensor 105. In this embodiment, the first light receiving element 203 is disposed so that the position of the center 203C of the first light receiving element 203 is away from the center 202C of the light emitting element 202 by DX in the X-direction. The second light receiving element 204 is disposed so that the position of the center 204C of the second light receiving element 204 is away from the center 202C of the light emitting element 202 by DX in the X-direction opposite to the first light receiving element 203 with respect to the light emitting element 202.
[0043] The second light receiving element 204 is disposed on the opposite side of the light emitting element 202 from the first light receiving element 203 in the direction (Y-direction) intersecting the scanning direction of the optical sensor 105. In this embodiment, the first light receiving element 203 is disposed so that the position of the center 203C of the first light receiving element 203 is away from the center 202C of the light emitting element 202 by DY1 in the Y-direction. The second light receiving element 204 is disposed so that the position of the center 204C of the second light receiving element 204 is away from the center 202C of the light emitting element 202 by DY1 in the Y-direction opposite to the first light receiving element 203 with respect to the light emitting element 202.
[0044] In other words, in this embodiment, the first light receiving element 203 and the second light receiving element 204 are disposed at positions that are point-symmetrical to each other with respect to the center 202C of the light emitting element 202. The distance from the center 203C of the first light receiving element 203 to the center 202C of the light emitting element 202 is equal to the distance from the center 204C of the second light receiving element 204 to the center 202C of the light emitting element 202.
[0045] The optical sensor 105 has a housing 210 that houses the light emitting element 202, the first light receiving element 203, and the second light receiving element 204. The housing 210 stores and supports the substrate 200. In this embodiment, the housing 210 is fixed to the carriage 101. The housing 210 includes the bottom wall 211 facing the detection target object T. The bottom wall 211 is parallel to the detection target object T, that is, it is parallel to the substrate 200.
[0046] The optical sensor 105 has an irradiation opening 212 that is an opening for emitting the irradiation light IL to the outside of the optical sensor 105. The irradiation opening 212 is formed on the bottom wall 211 of the housing 210. In the planar view from the Z-direction, the center 212C of the irradiation opening 212 overlaps the center 202C of the light emitting element 202.
[0047] The optical sensor 105 has a first light receiving opening 213 that is an opening for the optical sensor 105 to obtain the first reflected light RL1. In addition, the optical sensor 105 has a second light receiving opening 214 that is an opening for the optical sensor 105 to obtain the second reflected light RL2. The first light receiving opening 213 and the second light receiving opening 214 are formed on the bottom wall 211 of the housing 210. In this embodiment, the first light receiving opening and the second light receiving opening have the same area and the same shape. The area of each of the first light receiving opening 213 and the second light receiving opening 214 is smaller than the area of the irradiation opening 212.
[0048] In this embodiment, the first light receiving opening 213 is provided so that the position of the center 213C of the first light receiving opening 213 is away from the center 212C of the irradiation opening 212 by DX in the X-direction. The second light receiving opening 214 is provided so that the position of the center 214C of the second light receiving opening 214 is away from the center 212C of the irradiation opening 212 by DX in the X-direction opposite to the first light receiving opening 213 with respect to the irradiation opening 212.
[0049] In addition, in this embodiment, the first light receiving opening 213 is provided so that the position of the center 213C of the first light receiving opening 213 is away from the center 212C of the irradiation opening 212 by DY2 (where DY2<DY1) in the Y-direction. The second light receiving opening 214 is provided so that the position of the center 214C of the second light receiving opening 214 is away from the center 212C of the irradiation opening 212 by DY2 in the Y-direction opposite to the first light receiving opening 213 with respect to the irradiation opening 212.
[0050] In other words, in this embodiment, the first light receiving opening 213 and the second light receiving opening 214 are provided at positions that are point-symmetrical to each other with respect to the center 212C of the irradiation opening 212. The distance from the center 213C of the first light receiving opening 213 to the center 212C of the irradiation opening 212 is equal to the distance from the center 214C of the second light receiving opening 214 to the center 212C of the irradiation opening 212.
[0051] The housing 210 includes partitions 215 for separating the light emitting element 202 from the first light receiving element 203 and the second light receiving element 204. The partitions 215 are provided to enclose the light emitting element 202, and form a light emitting element chamber 216 together with the substrate 200 and the bottom wall 211. The light emitting element chamber 216 is designed to prevent the irradiation light IL from leaking into other spaces in the housing 210. In this embodiment, the partitions 215 extend from the bottom wall 211 to the substrate 200.
[0052] A portion of the irradiation light IL passes through the irradiation opening 212 without impinging on the bottom wall 211 or the partitions 215, and the detection target object T is irradiated therewith. On the other hand, another portion of the irradiation light IL impinges on the bottom wall 211 or the partitions 215 in the light emitting element chamber 216 to diffuse, and then passes through the irradiation opening 212, and the detection target object T is irradiated therewith. The region on the detection target object T irradiated with the irradiation light IL is referred to as an irradiated region IZ. The center IC of the irradiated region IZ is the intersection between the central axis IOA of the irradiation light IL and the detection target object T. The irradiated region IZ moves in the X-direction with the scanning by the optical sensor 105.
[0053] A portion of the reflected light RL diffusely reflected by the irradiated region IZ passes through the first light receiving opening 213, and is received by the first light receiving element 203 as the first reflected light RL1. In the irradiated region IZ, a region that reflects the first reflected light RL1 is referred to as a first reflection region RZ1. The center RC1 of the first reflection region RZ1 is the intersection between the central axis ROA1 of the first reflected light RL1 and the detection target object T. The central axis ROA1 of the first reflected light RL1 extends from the center RC1 of the first reflection region RZ1 through the center 213C of the first light receiving opening 213 to the center 203C of the first light receiving element 203.
[0054] A portion of the reflected light RL diffusely reflected by the irradiated region IZ passes through the second light receiving opening 214, and is received by the second light receiving element 204 as the second reflected light RL2. In the irradiated region IZ, a region that reflects the second reflected light RL2 is referred to as a second reflection region RZ2. The center RC2 of the second reflection region RZ2 is the intersection between the central axis ROA2 of the second reflected light RL2 and the detection target object T. The central axis ROA2 of the second reflected light RL2 extends from the center RC2 of the second reflection region RZ2 through the center 214C of the second light receiving opening 214 to the center 203C of the second light receiving element 204.
[0055] The positional ranges of the first reflection region RZ1 and the second reflection region RZ2 in the scanning direction (X-direction) of the optical sensor 105 do not overlap each other. In other words, the optical sensor 105 is configured as described above by the light emitting element 202, the first light receiving element 203, the second light receiving element 204, the first light receiving opening 213, and the second light receiving opening 214. The first reflection region RZ1 and the second reflection region RZ2 move in the X-direction with the scanning by the optical sensor 105.
[0056] In this embodiment, the first reflection region RZ1 and the second reflection region RZ2 are point-symmetrical to each other with respect to the center IC of the irradiated region IZ (the intersection between the central axis IOA of the irradiation light IL and the detection target object T). The distance from the center IC of the irradiated region IZ to the center RC1 of the first reflection region RZ1 is equal to the distance from the center IC of the irradiated region IZ to the center RC2 of the second reflection region RZ2. In other words, the optical sensor 105 is configured as described above by the light emitting element 202, the first light receiving element 203, the second light receiving el-ement 204, the first light receiving opening 213, and the second light receiving opening 214. The center RC1 of the first reflection region RZ1 is away from the center IC of the irradiated region IZ by DX in the X-direction. The center RC2 of the second reflection region RZ2 is away from the center IC of the irradiated region IZ by DX in the X-direction opposite to the first reflection region RZ1.
[0057] In the example in FIG. 2, the first reflection region RZ1 and the second reflection region RZ2 are aligned in the X-direction. Furthermore, the center RC1 of the first reflection region RZ1, the center IC of the irradiated region IZ, and the center RC2 of the second reflection region RZ2 are aligned in a straight line in the X-direction.
[0058] As shown in FIG. 3, the central axis ROA1 of the first reflected light RL1 is contained in a first plane YZ1, which is a YZ plane perpendicular to the X axis. The first plane YZ1 contains the center 203C of the first light receiving element 203 and the center 213C of the first light receiving opening 213, and intersects the detection target object T.
[0059] The central axis ROA2 of the second reflected light RL2 is contained in a second plane YZ2, which is a YZ plane perpendicular to the X axis. The second plane YZ2 contains the center 204C of the second light receiving element 204 and the center 214C of the second light receiving opening 214, and intersects the detection target object T. The second plane YZ2 is parallel to the first plane YZ1, and is located on the opposite side of the central axis IOA of the irradiation light IL from the first plane YZ1.
[0060] In the example in FIG. 3, the detection target object T is on the XY plane, that is, the first plane YZ1 and the second plane YZ2 are perpendicular to the detection target object T. The first reflection region RZ1 and the second reflection region RZ2 overlap the detection target object T, and the distance between the center RC1 of the first reflection region RZ1 and the center RC2 of the second reflection region RZ2 is 2DX.
[0061] Here, under the situation in FIG. 3, for example, consider a case where the distance in the Z-direction between the printing medium 10 (the detection target object T) and the optical sensor 105 changes. Examples of this case include a case where the installation height of the optical sensor 105 relative to the detection target object T is adjusted by a height adjustment unit H described later, and a case where the printing medium 10 is lifted off the platen 103. The central axis ROA1 of the first reflected light RL1 and the central axis ROA2 of the second reflected light RL2 are contained in their respective YZ planes (the first plane YZ1 and the second plane YZ2) parallel to each other. Therefore, in the above case, the distance in the X-direction between the center RC1 of the first reflection region RZ1 and the center RC2 of the second reflection region RZ2 does not change and is constant at 2DX.
[0062] In this embodiment, the light emitting element 202, the first light receiving element 203, and the second light receiving element 204 are disposed on the substrate 200 parallel to the detection target object T. The detection target object T is irradiated with the irradiation light IL perpendicularly. A portion of the irradiation light IL reflects off the first reflection region RZ1 or the second reflection region RZ2 located point-symmetrical to each other with respect to the center IC of the irradiated region IZ, and passes through the first light receiving opening 213 or the second light receiving opening 214 having the same area. The first light receiving opening 213 and the second light receiving opening 214 are located point-symmetrical to each other with respect to the center 212C of the irradiation opening 212. The first reflected light RL1 and the second reflected light RL2 are then received by the first light receiving element 203 and the second light receiving element 204, respectively. The first light receiving element 203 and the second light receiving element 204 are located point-symmetrical to each other with respect to the center 202C of the light emitting element 202, and are components of the same type. In the above configuration, in a case where each of the first reflection region RZ1 and the second reflection region RZ2 overlaps the detection target object T of the same type, the first reflected light RL1 at the time of being received by the first light receiving element 203 and the second reflected light RL2 at the time of being received by the second light receiving element 204 have about the same light quantity.
[0063] Among detection target objects T, the printing medium 10 reflects most of the irradiation light IL, while the platen 103 absorbs most of the irradiation light IL. Therefore, if the case where the first reflection region RZ1 overlaps the printing medium 10 is compared with the case where it overlaps the platen 103, the light quantity of the first reflected light RL1 received by the first light receiving element 203 in the former case is greater than that in the latter case, and the output signal of the first light receiving element 203 in the former case is larger than that in the latter case.
[0064] For example, consider a situation in which the optical sensor 105 is located on the upper side in the Z-direction at an edge portion of the printing medium 10, the first reflection region RZ1 overlaps the platen 103, and the second reflection region RZ2 overlaps the printing medium 10. At this time, the output signal of the first light receiving element 203 is smaller than the output signal of the second light receiving element 204. In other words, at an edge portion of the printing medium 10, there is a differential between the output signals of the first light receiving element 203 and the second light receiving element 204. On the other hand, in a situation where the first reflection region RZ1 and the second reflection region RZ2 both overlap the platen 103 or both overlap the printing medium 10, the output signals of the first light receiving element 203 and the second light receiving element 204 are almost equal. The printing apparatus 100 detects the edge portion positions of the printing medium 10 using the above behavior.
[0065] Next, a configuration responsible for processing the output signals of the first light receiving element 203 and the second light receiving element 204 is described. FIG. 4 is a block diagram showing an example of a control unit of the printing apparatus. The printing apparatus 100 has a control unit 400 that controls and processes input and output signals of the optical sensor 105.
[0066] An ASIC 401 is an integrated circuit with a built-in CPU, and controls the optical sensor 105 and the entire printing apparatus 100.
[0067] An A / D conversion circuit 402 is a circuit for converting analog electrical signals into digital electrical signals, and is integrated into the ASIC 401.
[0068] A driver circuit 403 is a circuit for controlling the light emitting element 202. The driver circuit 403 controls the turning on and off of the light emitting element 202 and the driving current of the light emitting element 202 according to control signals from the ASIC 401.
[0069] A first amplifier circuit 404 is a circuit for converting the output current of the first light receiving element 203 into voltage and amplifying the voltage. A second amplifier circuit 405 is a circuit for converting the output current of the second light receiving element 204 into voltage and amplifying the voltage. Some of the output terminals of the first amplifier circuit 404 and the second amplifier circuit 405 are connected to the A / D conversion circuit 402. The ASIC 401 determines the amplification gain based on the levels of the output signals from the first amplifier circuit 404 and the second amplifier circuit 405.
[0070] A first differential amplifier circuit 406 and a second differential amplifier circuit 407 are circuits for performing differential amplification of the output voltages from the first amplifier circuit 404 and the second amplifier circuit 405. In other words, the first differential amplifier circuit 406 and the second differential amplifier circuit 407 take a differential between the output of the first light receiving element 203 and the output of the second light receiving element 204. The first differential amplifier circuit 406 receives the output voltage from the first amplifier circuit 404 as positive and the output voltage from the second amplifier circuit 405 as negative. The second differential amplifier circuit 407 receives the output voltage from the first amplifier circuit 404 as negative and the output voltage from the second amplifier circuit 405 as positive.
[0071] A first reference voltage circuit 408 and a second reference voltage circuit 409 are circuits for outputting a preset reference voltage. The first reference voltage circuit 408 outputs a reference voltage Ra (described later) by being controlled by the ASIC 401 and inputs it to a first comparator circuit 410 (described later). The second reference voltage circuit 409 outputs a reference voltage Rb (described later) by being controlled by the ASIC 401 and inputs it to a second comparator circuit 411 (described later).
[0072] The first comparator circuit 410 and the second comparator circuit 411 are circuits for comparing two input signals to determine which is larger. The first comparator circuit 410 inputs a voltage at a High level or a Low level to the ASIC 401 depending on whether the output voltage of the first differential amplifier circuit 406 is larger than the reference voltage Ra. The second comparator circuit 411 inputs a voltage at the High level or the Low level to the ASIC 401 depending on whether the output voltage of the second differential amplifier circuit 407 is larger than the reference voltage Rb.
[0073] A ROM 412 is a read-only non-volatile memory, and stores basic software, configuration information and the like for controlling the printing apparatus 100. A RAM 413 is a volatile memory, and acts as a deployment region for programs run by the ASIC 401 or as a temporary storage region for working data for running programs. Note that the control unit 400 may include an internal memory apparatus (not shown), such as an HDD (hard disk drive) or an SSD (solid state drive).<Reference Voltage Determination Method>
[0074] Here, a method of determining the reference voltage Ra and the reference voltage Rb is described. FIG. 5 is a flowchart showing an example of a reference voltage determination method. Although the following flowchart will be described assuming that the actor of each step is the printing apparatus 100, it is actually executed by the ASIC 401 reading programs stored in the ROM 412 or the internal memory apparatus to the RAM 413. Note that the symbol “S” in the following description means a step in the flowchart.
[0075] The flowchart in FIG. 5 is executed independently of printing operations, for example, in response to the printing medium 10 being set in the printing apparatus 100. Alternatively, in a case where an instruction to start a printing operation is input by a user to the printing apparatus 100, the flowchart in FIG. 5 is executed prior to the printing operation. In the latter case, for example, in a case of performing printing on a plurality of cut sheets of paper of the same type, it is not necessary to execute the flowchart in FIG. 5 every time one cut sheet of paper is fed.
[0076] In S501, the printing apparatus 100 feeds the printing medium 10. The printing apparatus 100 drives the feed roller 102 to feed the printing medium 10 to a position in the Y-direction on the platen 103 where the detection of the edge portions using the optical sensor 105 can be performed.
[0077] In S503, the printing apparatus 100 moves the carriage 101 equipped with the optical sensor 105 to a predetermined position where it faces the printing medium 10 and stops it at that position. Note that S503 may be started while the printing medium 10 is being fed in S501.
[0078] In S505, the printing apparatus 100 controls the driver circuit 403 to turn on the light emitting element 202. At this time, since the optical sensor 105 faces the printing medium 10, the printing medium 10 is irradiated with the irradiation light IL.
[0079] In S507, the printing apparatus 100 obtains the output values of the first light receiving element 203 and the second light receiving element 204 in a case where the light emitting element 202 is turned on. The output current of the first light receiving element 203 is converted into a voltage by the first amplifier circuit 404 and amplified, and further converted into a digital electrical signal by the A / D conversion circuit 402. In this way, the printing apparatus 100 obtains an output voltage Vaon of the first light receiving element 203 in a case where the light emitting element 202 is turned on. Similarly, the output current of the second light receiving element 204 is converted into a voltage by the second amplifier circuit 405 and amplified, and further converted into a digital electrical signal by the A / D conversion circuit 402. In this way, the printing apparatus 100 obtains an output voltage Vbon of the second light receiving element 204 in a case where the light emitting element 202 is turned on. At this time, an amplification gain G in the first amplifier circuit 404 and the second amplifier circuit 405 is adjusted so that the values of the output voltage Vaon and the output voltage Vbon fall within a predetermined range. The printing apparatus 100 internally stores the output voltage Vaon, the output voltage Vbon, and the amplification gain G.
[0080] In S509, the printing apparatus 100 controls the driver circuit 403 to turn off the light emitting element 202.
[0081] In S511, the printing apparatus 100 obtains the output values of the first light receiving element 203 and the second light receiving element 204 in a case where the light emitting element 202 is turned off. The output current of the first light receiving element 203 is converted into a voltage by the first amplifier circuit 404 and amplified, and further converted into a digital electrical signal by the A / D conversion circuit 402. In this way, the printing apparatus 100 obtains an output voltage Vaoff of the first light receiving element 203 in a case where the light emitting element 202 is turned off. Similarly, the output current of the second light receiving element 204 is converted into a voltage by the second amplifier circuit 405 and amplified, and further converted into a digital electrical signal by the A / D conversion circuit 402. In this way, the printing apparatus 100 obtains an output voltage Vboff of the second light receiving element 204 in a case where the light emitting element 202 is turned off. The amplification gain G adjusted in S507 is used as the amplification gain G in the first amplifier circuit 404 and the second amplifier circuit 405 at this time. The printing apparatus 100 internally stores the output voltage Vaoff and the output voltage Vboff.
[0082] In S513, the printing apparatus 100 determines the reference voltage Ra and the reference voltage Rb. The reference voltage Ra and the reference voltage Rb are determined by the following formulas (1) and (2), respectively:Ra=((Vaon−Vboff)+((Vaoff−Vboff)+(Vaon−Vbon)) / 2) / 2 (1)Rb=((Vbon−Vaoff)+((Vboff−Vaoff)+(Vbon−Vaon)) / 2) / 2 (2)This concludes this flowchart. The reference voltage Ra and the reference voltage Rb are internally stored in the printing apparatus 100, and are used in the detection of the edge portion positions of the printing medium 10 described later.
[0084] Note that in S513, the printing apparatus 100 may determine various setting values for outputting the reference voltage Ra from the first reference voltage circuit 408 and various setting values for outputting the reference voltage Rb from the second reference voltage circuit 409, and store them internally. In addition, the printing apparatus 100 may move the carriage 101 to a position where it does not face the printing medium 10 after the end of S513.<Method of Detecting Edge Portion Positions of Printing Medium>
[0085] Next, the method of detecting the edge portion positions of the printing medium 10 using the optical sensor 105 is described using FIG. 6 to FIG. 9. FIG. 6 is a schematic diagram showing an example of the optical sensor and a printing medium. FIG. 7 is a graph showing an example of output voltages of amplifier circuits as a function of the position of the optical sensor. FIG. 8 is a graph showing an example of output voltages of differential amplifier circuits as a function of the position of the optical sensor. FIG. 9 is a graph showing an example of output voltages of comparator circuits as a function of the position of the optical sensor. Note that in FIG. 8 and FIG. 9, the waveforms of the output voltages are partially omitted.
[0086] The example in FIG. 6 assumes that the optical sensor 105 moves with the carriage 101 toward the right side in the drawing in the X-direction from the position of X=0. For convenience, of the edge portions of the printing medium 10 in the X-direction, the edge portion on the left side in the drawing is referred to as an edge portion 11 and the edge portion on the right side in the drawing is referred to as an edge portion 12. The optical sensor 105 departs from the position of X=0 and passes across the edge portion 11 to face the printing medium 10. The optical sensor 105 then passes across the edge portion 12 to cease to face the printing medium 10.
[0087] The X coordinate of the edge portion 11 of the printing medium 10 is denoted by Xe1, and the X coordinate of the edge portion 12 is denoted by Xe2. Among positions through which the optical sensor 105 passes, the position where the X coordinate is P1 is referred to as a position P1 for convenience. The same applies to positions P2 to P12, which will be described later. The relationship among the positions shown on the X coordinates in FIG. 6 is 0<P1<P2≤Xe1≤P3<P4 and P7<P8≤Xe2≤P9<P10. The width of the printing medium 10 in the X-direction is assumed to be sufficiently longer than the width of the optical sensor 105 in the X-direction.
[0088] The optical sensor 105 shown in FIG. 6 is assumed be similar to the optical sensor 105 shown in FIG. 2. In other words, the first reflection region RZ1 and the second reflection region RZ2 are located point-symmetrical to each other with respect to the center IC of the irradiated region IZ, and the quantities of light received by the first light receiving element 203 and the second light receiving element 204 are equivalent. As shown in FIG. 6, the first reflection region RZ1 and the second reflection region RZ2 are aligned in the X-direction, and the second reflection region RZ2 is located on the travel-ing direction side.
[0089] First, the detection of the edge portion 11 of the printing medium 10 is described. The optical sensor 105 departs from the position of X=0 and passes through the positions P1, P2, P3, and P4 in this order. In a case where the optical sensor 105 approaches the edge portion 11, the second reflection region RZ2 begins to overlap the printing medium 10 at the position P1, and the second reflection region RZ2 completely overlaps the printing medium 10 at the position P2. In other words, the light quantity of the second reflected light RL2 begins to increase at the position P1 and becomes maximum at the position P2. On the other hand, the first reflection region RZ1 begins to overlap the printing medium 10 at the position P3 and completely overlaps the printing medium 10 at the position P4. In other words, the light quantity of the first reflected light RL1 begins to increase at the position P3 and becomes maximum at the position P4.
[0090] In FIG. 7, the output signal of the first light receiving element 203 is expressed as the output voltage (amplified output Va1) of the first amplifier circuit 404. In addition, the output signal of the second light receiving element 204 is expressed as the output voltage (amplified output Va2) of the second amplifier circuit 405. The amplified output Va1 begins to increase at the position P3 in proportion to the light quantity of the first reflected light RL1 received by the first light receiving element 203, and becomes maximum at the position P4. On the other hand, the amplified output Va2 begins to increase at the position P1 in proportion to the light quantity of the second reflected light RL2 received by the second light receiving element 204, and becomes maximum at the position P2. Note that due to space limitations in the drawing, the minimum value of the amplified output Va1 and the minimum value of the amplified output Va2 are shown shifted from each other, but they actually have the same value, and the maximum value of the amplified output Va1 and the maximum value of the amplified output Va2 are shown shifted from each other, but they actually have the same value.
[0091] FIG. 8 shows the output voltages of the first differential amplifier circuit 406 and the second differential amplifier circuit 407. Of the two output voltages, the output voltage (differential output Vd2) of the second differential amplifier circuit 407 is calculated by the formula Vd2=Va2−Va1. The differential output Vd2 increases in the range from the position P1 to the position P2 in which only the amplified output Va2 increases, and takes the maximum value in the range from the position P2 to the position P3 in which neither the amplified output Va1 nor the amplified output Va2 changes. The differential output Vd2 decreases in the range from the position P3 to the position P4 in which only the amplified output Va1 increases, and at the position P4, it returns to the value before the position P1.
[0092] Here, the output voltage (differential output Vd1) of the first differential amplifier circuit 406 is calculated by the formula Vd1=Va1−Va2. The differential output Vd1 in the range from the position P1 to the position P4 has a downwardly convex waveform, as opposed to the differential output Vd2, but it is omitted in FIG. 8.
[0093] The differential output Vd2 is compared with the reference voltage Rb in the second comparator circuit 411. As shown in FIG. 8, the position where the differential output Vd2 exceeds the reference voltage Rb is referred to as a position P5. At the position P5, Vd2−Rb turns from negative to positive. On the other hand, the position where the differential output Vd2 falls below the reference voltage Rb is referred to as a position P6. At the position P6, Vd2−Rb turns from positive to negative. The output voltage of the second comparator circuit 411 (comparison output Vc2) switches from the Low level to the High level at the position P5 and switches from the High level to the Low level at the position P6, as shown in FIG. 9. The position P5 is also referred to as the rising position P5, and the position P6 is also referred to as the falling position P6.
[0094] The comparison output Vc2 is input to the ASIC 401 from the second comparator circuit 411. In a case where the ASIC 401 receives an interrupt input due to switching of the comparison output Vc2, it obtains the X coordinate of the optical sensor 105 (the carriage 101) at that time. The ASIC 401 obtains the X coordinates of the optical sensor 105 at the rising position P5 and the falling position P6, and calculates the X coordinate of the edge portion 11 of the printing medium 10 from them. The X coordinate (Xe1) of the edge portion 11 is calculated by the following formula (3):Xe1=(P5+P6) / 2 (3)
[0095] In other words, the edge portion 11 is determined as the midpoint between the rising position P5 and the falling position P6.
[0096] The detection of the edge portion 12 of the printing medium 10 is similar to the detection of the edge portion 11. As shown in FIG. 6, the optical sensor 105 passes through the positions P7, P8, P9, and P10 in this order from the state where it faces the printing medium 10. In a case where the optical sensor 105 approaches the edge portion 12, the overlapping area between the second reflection region RZ2 and the printing medium 10 begins to decrease at the position P7, and becomes zero at the position P8. In other words, the light quantity of the second reflected light RL2 begins to decrease at the position P7, and becomes minimum at the position P8. On the other hand, the overlapping area between the first reflection region RZ1 and the printing medium 10 begins to decrease at the position P9, and becomes zero at the position P10. In other words, the light quantity of the first reflected light RL1 begins to decrease at the position P9 and becomes minimum at the position P10.
[0097] As shown in FIG. 7, the amplified output Va1 begins to decrease at the position P9 in proportion to the light quantity of the first reflected light RL1, and becomes minimum at the position P10. On the other hand, the amplified output Va2 begins to decrease at the position P7 in proportion to the light quantity of the second reflected light RL2, and becomes minimum at the position P8.
[0098] In FIG. 8, the differential output Vd1 increases in the range from the position P7 to the position P8 in which only the amplified output Va2 decreases, and takes the maximum value in the range from the position P8 to the position P9 in which neither the amplified output Va1 nor the amplified output Va2 changes. The differential output Vd1 decreases in the range from the position P9 to the position P10 in which only the amplified output Va1 decreases, and at the position P10, it returns to the value before the position P7. Note that the differential output Vd2 has a downwardly convex waveform from the position P7 to the position P10, as opposed to the differential output Vd1, but it is omitted in FIG. 8.
[0099] The differential output Vd1 is compared with the reference voltage Ra in the first comparator circuit 410. As shown in FIG. 8, the position where the differential output Vd1 exceeds the reference voltage Ra is referred to as a position P11, and the position where the differential output Vd1 falls below the reference voltage Ra is referred to as a position P12. The output voltage of the first comparator circuit 410 (comparison output Vc1) switches from the Low level to the High level at the position P11 and switches from the High level to the Low level at the position P12 as shown in FIG. 9. The position P11 is also referred to as the rising position P11, and the position P12 is also referred to as the falling position P12.
[0100] The comparison output Vc1 is input to the ASIC 401 from the first comparator circuit 410. The ASIC 401 obtains the X coordinates of the optical sensor 105 (the carriage 101) at the rising position P11 and the falling position P12, and calculates the X coordinate of the edge portion 12 of the printing medium 10 from them. The X coordinate (Xe2) of the edge portion 12 is calculated by the following formula (4):Xe2=(P11+P12) / 2 (4)
[0101] In other words, the edge portion 12 is determined as the midpoint between the rising position P11 and the falling position P12.
[0102] Thus, the ASIC 401 determines the edge portion positions (Xe1 and Xe2) of the printing medium 10 based on the differentials (the differential outputs Vd1 and Vd2) between the output of the first light receiving element 203 and the output of the second light receiving element 204. Put differently, the ASIC 401 determines the edge portion positions of the printing medium 10 based on the positional coordinates of the optical sensor 105 in a case where the differential between the outputs of both the light receiving elements exceeds and falls below the reference voltage (Ra or Rb). According to the above configuration, in a case of causing the optical sensor 105 to perform a scan in order to detect the edge portion positions of the printing medium 10, the edge portion positions can be determined based on the differential between the output signals of the two light receiving elements, which can reduce the negative impact of external factors on the detection accuracy.
[0103] In addition, the printing apparatus 100 improves the quality of printing by performing the edge portion position detection method as described above during a printing operation.<Printing Operation>
[0104] Next, a flow of a printing operation will be described in light of the above. The detection of the edge portion positions of the printing medium 10 is performed during a printing operation. FIG. 10 is a flowchart showing an example of a printing operation.
[0105] The flowchart in FIG. 10 is started by the user inputting an instruction to start a printing operation to the printing apparatus 100. In S1001, the printing apparatus 100 turns on the light emitting element 202. In S1003, the printing apparatus 100 sets the reference voltage Ra, the reference voltage Rb, and the amplification gain G. The values determined in advance using the method shown in FIG. 5 are used as the reference voltage Ra, the reference voltage Rb, and the amplification gain G. In S1005, the printing apparatus 100 starts feeding the printing medium 10. The printing apparatus 100 feeds the printing medium 10 to the position where a printing operation can be started. In S1007, the printing apparatus 100 starts monitoring an interrupt input of an output signal from the first comparator circuit 410 and the second comparator circuit 411 in the ASIC 401. The ASIC 401 continues to wait for an interrupt input until the printing operation is completed.
[0106] At the time of completion of S1007, the carriage 101 is stopped at a waiting position away from the printing medium 10. The waiting position at this time is conve-niently referred to as a waiting position WP1, and a waiting position of the carriage 101 on the opposite side of the printing medium 10 from the waiting position WP1 is referred to as a waiting position WP2. The movement of the carriage 101 from the waiting position WP1 to the waiting position WP2 is referred to as a forward scan, and the movement from the waiting position WP2 to the waiting position WP1 is referred to as a backward scan.
[0107] In S1009, the printing apparatus 100 causes the carriage 101 to perform a scan in the forward direction. In the process of the carriage 101 moving from the waiting position WP1 to the waiting position WP2, printing is performed by discharging ink, and the detection of the edge portion positions on both sides of the printing medium 10 in the X-direction is additionally performed. The carriage 101 pauses at the waiting position WP2.
[0108] In S1011, the printing apparatus 100 determines whether the printing operation has been completed (whether there is any data to be printed in the next scan). If the printing operation has been completed (YES in S1011), this flowchart ends. If the printing operation has not been completed (NO in S1011), the process proceeds to S1013.
[0109] In S1013, the printing apparatus 100 determines whether the edge portion posi-tions on both sides of the printing medium 10 detected in S1009 are misaligned from their original positions. If the edge portion positions are misaligned (YES in S1013), the process proceeds to S1015. If the edge portion positions are not misaligned (NO in S1013), the process proceeds to S1017.
[0110] In S1015, the printing apparatus 100 adjusts the start and end positions of ink discharging in the next scan performed by the carriage 101. The printing apparatus 100 determines the start and end positions of ink discharging in the next scan based on the edge portion positions on both sides of the printing medium 10 detected in S1009 and their original edge portion positions.
[0111] In S1017, the printing apparatus 100 feeds the printing medium 10. The printing apparatus 100 feeds the printing medium 10 to the extent to which printing has been performed in S1009.
[0112] In S1019, the printing apparatus 100 causes the carriage 101 to perform a scan in the backward direction. In the process of the carriage 101 moving from the waiting position WP2 to the waiting position WP1, printing is performed by discharging ink, and the detection of the edge portion positions on both sides of the printing medium 10 in the X-direction is additionally performed. The carriage 101 pauses at the waiting position WP1.
[0113] In S1021, the printing apparatus 100 determines whether the printing operation has been completed. If the printing operation has been completed (YES in S1021), this flowchart ends. If the printing operation has not been completed (NO in S1021), the process proceeds to S1023.
[0114] In S1023, the printing apparatus 100 determines whether the edge portion positions on both sides of the printing medium 10 detected in S1019 are misaligned from their original positions. If the edge portion positions are misaligned (YES in S1023), the process proceeds to S1025. If the edge portion positions are not misaligned (NO in S1023), the process proceeds to S1027.
[0115] In S1025, the printing apparatus 100 adjusts the start and end positions of ink discharging in the next scan performed by the carriage 101. The printing apparatus 100 determines the start and end positions of ink discharging in the next scan based on the edge portion positions on both sides of the printing medium 10 detected in S1019 and their original edge portion positions.
[0116] In S1027, the printing apparatus 100 feeds the printing medium 10. The printing apparatus 100 feeds the printing medium 10 to the extent to which printing has been performed in S1019. The printing apparatus 100 repeats S1009 to S1027 until the printing operation is completed.
[0117] Note that although the method of detecting edge portion positions using differential amplifier circuits and comparator circuits has been described above, the present disclosure is not limited to the above method. For example, the outputs of the first amplifier circuit 404 and the second amplifier circuit 405 may be successively A / D-converted by the A / D conversion circuit 402, and the detection of the edge portion positions may be performed based on the amplitude difference between the outputs of the first amplifier circuit 404 and the second amplifier circuit 405 converted into digital electrical signals.
[0118] The arrangement of the light emitting element 202, the first light receiving element 203, the second light receiving element 204, the irradiation opening 212, the first light receiving opening 213, and the second light receiving opening 214 in the optical sensor 105 may be different from that of this embodiment. For example, the first light receiving element 203 and the second light receiving element 204 do not have to be disposed on the substrate 200, and may have different distances to the center 202C of the light emitting element 202. The light emitting element 202 may be disposed at a location other than the center of the substrate 200. The direction of the irradiation light IL does not have to be the normal line direction of the first surface 201 of the substrate 200.
[0119] The optical sensor 105 may have condensing lenses in place of the first light receiving opening 213 or the second light receiving opening 214, and the optical sensor 105 may obtain the first reflected light RL1 or the second reflected light RL2 through the condensing lenses. In addition, the optical sensor 105 may have a condensing lens in place of the irradiation opening 212, and emit the irradiation light IL to the outside through the condensing lens.<Summary>
[0120] In this embodiment, the optical sensor 105 has two light receiving elements (the first light receiving element 203 and the second light receiving element 204). Therefore, in a case of causing the optical sensor 105 to perform a scan in order to detect the edge portion positions of the printing medium 10, it is possible to cancel out the changes in the output signals of both light receiving elements due to external factors such as the curl of the printing medium 10 or external light by determining the edge portion positions based on the differential between the output signals of the two light receiving elements. Therefore, it is possible to reduce the negative impact of external factors on the detection accuracy in the detection of the edge portion positions of the printing medium 10.
[0121] In this embodiment, the positional ranges of the first reflection region RZ1 and the second reflection region RZ2 in the scanning direction (X-direction) of the optical sensor 105 do not overlap each other. Therefore, in a case of taking the differential between the output signals of the two light receiving elements, the reduction in the differential between the output signals due to overlap of at least portions of both reflection regions can be prevented, thereby making it possible to more accurately determine the edge portion positions of the printing medium 10.
[0122] In this embodiment, the second light receiving element 204 is disposed on the opposite side of the light emitting element 202 from the first light receiving element 203 in the direction (Y-direction) intersecting the scanning direction of the optical sensor 105. In a case where the gap between the first reflection region RZ1 and the second reflection region RZ2 is excessively widened, there may be a difference between the changes in the output signals of both light receiving elements due to external factors, which may decrease the detection accuracy of the edge portion positions. Therefore, both reflection regions are desirably as close as possible. However, in a case where the first light receiving element 203 and the second light receiving element 204 are disposed in close proximity, it may be difficult to sufficiently shorten the distance between both reflection regions due to the physical size constraints of both light receiving elements. On the other hand, in this embodiment, the first light receiving element 203 and the second light receiving element 204 are disposed on both sides of the light emitting element 202 in the Y-direction, thus improving the degree of freedom of the arrangement of both light receiving elements. In other words, since the first light receiving element 203 and the second light receiving element 204 can be disposed at positions such that the first reflection region RZ1 and the second reflection region RZ2 are as close as possible, it is possible to further reduce the negative impact of external factors on the detection accuracy in the detection of the edge portion positions of the printing medium 10. In addition, the physical size constraints of both light receiving elements are relaxed, allowing various types of light receiving elements to be used.
[0123] According to the configuration of this embodiment, even in a case where the distance in the Z-direction between the optical sensor 105 and the detection target object T has changed, the distance in the X-direction between the center of the first reflection region RZ1 and the center of the second reflection region RZ2 remains unchanged, as described above. In other words, since both reflection regions do not overlap even in the above case, the detection accuracy of the edge portion positions of the printing medium 10 is kept without deterioration.
[0124] According to the configuration of this embodiment, the first reflected light RL1 at the time of being received by the first light receiving element 203 and the second reflected light RL2 at the time of being received by the second light receiving element 204 have about the same light quantity, as described above. This requires that each of the first reflection region RZ1 and the second reflection region RZ2 overlaps the detection target object T of the same type. In the above case, the levels of the output signals of the first light receiving element 203 and the second light receiving element 204 are equivalent, and the output signals of both light receiving elements change similarly in the presence of external factors. Therefore, by determining the edge portion positions of the printing medium 10 based on the differential between the output signals of the two light receiving elements, the detection accuracy of the edge portion positions is kept equivalent to that in a case with no negative impact of external factors. In other words, it is possible to further reduce the negative impact of external factors on the detection accuracy in the detection of the edge portion positions of the printing medium 10.Second Embodiment<Overview>
[0125] This embodiment describes an example of reducing the negative impact of external factors on the detection accuracy in the detection of the edge portion (the leading edge) position on the downstream side in the feed direction of a printing medium. The detection of the leading edge position of a printing medium is performed, for example, to keep the margin dimension from the leading edge of the printing medium within a pre-determined range or to detect the inclination of the feed direction of the printing medium. Note that the description may be omitted for the same configurations as the first embodiment.<Configuration>
[0126] FIG. 11 is a schematic diagram showing an example of an optical sensor. In this embodiment, the first light receiving opening 213 is provided so that the position of the center 213C of the first light receiving opening 213 is away from the center 212C of the irradiation opening 212 by DY3 (where DY2<DY3<DY1) in the Y-direction. The second light receiving opening 214 is provided so that the position of the center 214C of the second light receiving opening 214 is away from the center 212C of the irradiation opening 212 by DY3 in the Y-direction opposite to the first light receiving opening 213 with respect to the irradiation opening 212. Note that the distance in the X-direction from the center 213C of the first light receiving opening 213 to the center 212C of the irradiation opening 212 and the distance in the X-direction from the center 214C of the second light receiving opening 214 to the center 212C of the irradiation opening 212 are DX as with the first embodiment.
[0127] In this embodiment, the positional ranges of the first reflection region RZ1 and the second reflection region RZ2 in the direction (Y-direction) intersecting the scanning direction of the optical sensor 105 do not overlap each other. The center RC1 of the first reflection region RZ1 is away from the center IC of the irradiated region IZ by DX in the X-direction and by DX in the Y-direction. The center RC2 of the second reflection region RZ2 is away from the center IC of the irradiated region IZ by DX in the X-direction opposite to the center RC1 of the first reflection region RZ1 and by DX in the Y-direction opposite to the center RC1 of the first reflection region RZ1. In other words, the optical sensor 105 is configured as described above by the light emitting element 202, the first light receiving element 203, the second light receiving element 204, the first light receiving opening 213, and the second light receiving opening 214.
[0128] In this embodiment, as described above, the distance in the X-direction between the center RC1 of the first reflection region RZ1 and the center RC2 of the second reflection region RZ2 and the distance in the Y-direction between the two are both 2DX. In other embodiments, the distance in the X-direction and the distance in the Y-direction between both reflection regions may be different from each other.<Method of Detecting Leading Edge Position of Printing Medium>
[0129] Next, a method of detecting the leading edge position of the printing medium 10 using the optical sensor 105 is described. FIG. 12 is a schematic diagram showing an example of the optical sensor and a printing medium. FIG. 13 is a graph showing an example of output voltages of the amplifier circuits as a function of the feed amount of the printing medium. FIG. 14 is a graph showing an example of output voltage of the differential amplifier circuit as a function of the feed amount of the printing medium. FIG. 15 is a graph showing an example of output voltage of the comparator circuit as a function of the feed amount of the printing medium.
[0130] In this embodiment, while the printing medium 10 is being fed, the detection of the leading edge position of the printing medium 10 is performed with the optical sensor 105 stopped at a predetermined position. The printing apparatus 100 detects the leading edge position of the printing medium 10 by obtaining the feed amount of the printing medium 10 from a reference position described later. Note that the reference voltage Ra, the reference voltage Rb, and the amplification gain G are assumed to have been determined using the method shown in FIG. 5 before executing the detection of the leading edge position.
[0131] At the start of the detection of the leading edge position, the leading edge of the printing medium 10 is located upstream of the platen 103 in the Y-direction. In a case where the feeding is started, the leading edge of the printing medium 10 passes through the reference position upstream of the platen 103 in the Y-direction. The Y coordinate of the reference position is defined as Y=0. The reference position is, for example, the detection position of a sensor disposed on the feed path for the printing medium 10.
[0132] The optical sensor 105 shown in FIG. 12 is similar to the optical sensor105 shown in FIG. 11. In other words, the first reflection region RZ1 and the second reflection region RZ2 are located point-symmetrical to each other with respect to the center IC of the irradiated region IZ, and the light quantities received by the first light receiving element 203 and the second light receiving element 204 are equivalent. The first reflection region RZ1 and the second reflection region RZ2 are located at positions where the positional ranges in the X-direction and the Y-direction do not overlap each other. The first reflection region RZ1 is located upstream of the second reflection region RZ2 in the Y-direction. The first reflection region RZ1 and the second reflection region RZ2 overlap the platen 103 at the beginning of the feeding of the printing medium 10, but overlap the printing medium 10 in a case where the feeding of the printing medium 10 progresses. This embodiment assumes that the positional range of the first reflection region RZ1 in the Y-direction is from the position Y1 to the position Y2 (where Y1<Y2), and the positional range of the second reflection region RZ2 in the Y-direction is from the position Y3 to the position Y4 (where Y2≤Y3<Y4). In addition, the position of the center IC of the irradiated region IZ in the Y-direction is referred to as a position YC.
[0133] The feed amount of the printing medium 10 from the reference position is obtained by a code wheel and an encoder sensor as described above. The feed amount of the printing medium 10 at the position Y1 is denoted by Q1. Similarly, the feed amounts of the printing medium 10 at the positions Y2 to Y4 are denoted by Q2 to Q4.
[0134] After the leading edge of the printing medium 10 being fed passes through the reference position, it passes through the positions Y1, Y2, Y3, and Y4 in this order. The printing medium 10 begins to overlap the first reflection region RZ1 at the position Y1, and completely overlaps the first reflection region RZ1 at the position Y2. In other words, the light quantity of the first reflected light RL1 begins to increase at the position Y1, and becomes maximum at the position Y2. Then, the printing medium 10 begins to overlap the second reflection region RZ2 at the position Y3, and completely overlaps the second reflection region RZ2 at the position Y4. In other words, the light quantity of the second reflected light RL2 begins to increase at the position Y3, and becomes maximum at the position Y4.
[0135] In FIG. 13, the output signal of the first light receiving element 203 is expressed as the output voltage (amplified output Va3) of the first amplifier circuit 404. In addition, the output signal of the second light receiving element 204 is expressed as the output voltage (amplified output Va4) of the second amplifier circuit 405. The amplified output Va3 varies in proportion to the light quantity of the first reflected light RL1 received by the first light receiving element 203. The amplified output Va4 varies in proportion to the light quantity of the second reflected light RL2 received by the second light receiving element 204. Note that due to space limitations in the drawing, the minimum value of the amplified output Va3 and the minimum value of the amplified output Va4 are shown shifted from each other, but they actually have the same value, and the maximum value of the amplified output Va3 and the maximum value of the amplified output Va4 are shown shifted from each other, but they actually have the same value.
[0136] FIG. 14 shows the output voltage (differential output Vd3) of the first differential amplifier circuit 406. The differential output Vd3 is calculated by the formula Vd3=Va3−Va4. The differential output Vd3 is compared with the reference voltage Ra in the first comparator circuit 410. As shown in FIG. 14, the feed amount at the position where the differential output Vd3 exceeds the reference voltage Ra is denoted by Q5, and the feed amount at the position where the differential output Vd3 falls below the reference voltage Ra is denoted by Q6. The output voltage of the first comparator circuit 410 (comparison output Vc3) switches from the Low level to the High level at the feed amount of Q5 and switches from the High level to the Low level at the feed amount of Q6, as shown in FIG. 15.
[0137] The comparison output Vc3 is input to the ASIC 401 from the first comparator circuit 410. In a case where the ASIC 401 receives an interrupt input due to switching of the comparison output Vc3, it obtains the feed amount of the printing medium 10 at that time. The ASIC 401 obtains the values of the feed amounts Q5 and Q6, and calculates the average feed amount Qe of them using the following formula (5):Qe=(Q5+Q6) / 2 (5)
[0138] Here, the feed amount of the printing medium 10 becomes Qe in a case where the leading edge of the printing medium 10 is located at the position YC. The ASIC 401 compares the feed amount Qe with the position YC, and if Qe=YC, it determines that the printing medium 10 is fed normally. If Qe≠YC, the ASIC 401 determines that the leading edge position of the printing medium 10 is misaligned from its original position. In this case, the ASIC 401 detects the leading edge position of the printing medium 10 from the difference between the feed amount Qe and the position YC, and adjusts the position in the Y-direction where the printing operation is started.
[0139] Since the positional ranges of the first reflection region RZ1 and the second reflection region RZ2 in the X-direction and the Y-direction do not overlap each other, the optical sensor 105 in this embodiment can be used for both the detection of the edge portion positions of the printing medium in the X-direction and the detection of the leading edge position of the printing medium. However, in a case where the optical sensor 105 is used only for the detection of the leading edge position of the printing medium, the positional ranges of the first reflection region RZ1 and the second reflection region RZ2 in the X-direction may overlap each other.<Summary>
[0140] In this embodiment, the positional ranges of the first reflection region RZ1 and the second reflection region RZ2 in the direction (Y-direction) intersecting the scanning direction of the optical sensor 105 do not overlap each other. Therefore, in a case of taking the differential between the output signals of the two light receiving elements, the reduction in the differential between the output signals due to overlap of at least portions of both reflection regions can be prevented, thereby making it possible to more accurately determine the leading edge position of the printing medium 10.Third Embodiment<Overview>
[0141] This embodiment is characterized in that the printing apparatus 100 has the height adjustment unit H that adjusts the installation height of the optical sensor 105 relative to the detection target object T. The height adjustment unit H can adjust the installation height of the optical sensor 105 or the carriage 101 in the Z-direction.
[0142] For example, assume that the leading edge position of the printing medium is determined using the optical sensor 105 shown in FIG. 11. In a case where the distance in the Z-direction between the optical sensor 105 and the detection target object T changes, the distance in the Y-direction between the center RC1 of the first reflection region RZ1 and the center RC2 of the second reflection region RZ2 changes. In some cases, the positional ranges of the first reflection region RZ1 and the second reflection region RZ2 in the Y-direction at least partially overlap each other. In that case, the differential between the output signals of the first light receiving element 203 and the second light receiving element 204 reduces, and the output voltages of the first differential amplifier circuit 406 and the second differential amplifier circuit 407 do not exceed the reference voltage. Therefore, an input from the first comparator circuit 410 and the second comparator circuit 411 to the ASIC 401 does not occur, and the leading edge position of the printing medium cannot be determined.
[0143] To avoid the above situation, the height adjustment unit H is effective. The height adjustment unit H adjusts the installation height of the optical sensor 105 so that the distance in the Y-direction between the center RC1 of the first reflection region RZ1 and the center RC2 of the second reflection region RZ2 is a predetermined value. Specifically, in a case where the distance in the Z-direction between the optical sensor 105 and the detection target object T is closer than its original distance, the height adjustment unit H moves the optical sensor 105 in the direction in which the distance from the detection target object T increases.
[0144] For example, in determining the leading edge position of the printing medium, the printing apparatus 100 initially installs the optical sensor 105 at an initial setting height in the Z-direction. Then, the printing apparatus 100 adjusts the installation height of the optical sensor 105 using the height adjustment unit H in a case where neither an output from the first comparator circuit 410 nor an output from the second comparator circuit 411 is input to the ASIC 401. Thereafter, the printing apparatus 100 may deter-mine the leading edge position of the printing medium again.<Summary>
[0145] In this embodiment, the accuracy of determining the leading edge position of the printing medium 10 can be kept by appropriately adjusting the distance in the Z-direction between the optical sensor 105 and the detection target object T using the height adjustment unit H.
[0146] While the present disclosure has been described with reference to embodiments, it is to be understood that the present disclosure is not limited to the disclosed embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
[0147] According to the present disclosure, it is possible to reduce the negative impact of external factors on detection accuracy in the detection of edge portion positions of a printing medium.
[0148] This application claims the benefit of Japanese Patent Application No. 2025-084191, filed May 20, 2025, which is hereby incorporated by reference herein in its en-tirety.
Claims
1. An edge portion position detection apparatus comprising an optical sensor for detecting an edge portion position of a printing medium, whereinthe optical sensor is capable of performing a scan in a width direction of the printing medium, and is capable of irradiating a detection target object including the printing medium with irradiation light,the optical sensor comprises:a light emitting element configured to emit the irradiation light;a first light receiving element configured to receive first reflected light resulting from the irradiation light reflecting off a first reflection region on the detection target object;a second light receiving element configured to receive second reflected light resulting from the irradiation light reflecting off a second reflection region on the detection target object, the second light receiving element being disposed on an opposite side of the light emitting element from the first light receiving element in a direction intersecting a scanning direction of the optical sensor;a first light receiving opening being an opening for the optical sensor to obtain the first reflected light; anda second light receiving opening being an opening for the optical sensor to obtain the second reflected light, andthe optical sensor is configured by the light emitting element, the first light receiving element, the second light receiving element, the first light receiving opening, and the second light receiving opening so that positional ranges of the first reflection region and the second reflection region in the scanning direction of the optical sensor do not overlap each other.
2. The edge portion position detection apparatus according to claim 1,wherein at least one memory and at least one processor of the edge portion position detection apparatus function as:an obtaining unit configured to obtain a differential between output of the first light receiving element and output of the second light receiving element; anda determination unit configured to determine the edge portion position of the printing medium based on the differential obtained by the obtaining unit.
3. The edge portion position detection apparatus according to claim 2, whereinthe determination unit determines the edge portion position of the printing medium based on positional coordinates of the optical sensor in the scanning direction at a time point at which the differential exceeds a predetermined threshold and a time point at which the differential falls below the predetermined threshold.
4. The edge portion position detection apparatus according to claim 3, whereinthe optical sensor comprises:a housing configured to store the light emitting element, the first light receiving element, and the second light receiving element; andan irradiation opening for emitting the irradiation light to an outside of the optical sensor, the irradiation opening being formed on the housing.
5. The edge portion position detection apparatus according to claim 4, whereinthe first light receiving opening and the second light receiving opening are formed on the housing.
6. The edge portion position detection apparatus according to claim 5, whereinthe optical sensor comprises a substrate provided parallel to the detection target object, the substrate having a first surface facing the detection target object, andthe light emitting element is disposed on the first surface of the substrate, and emits the irradiation light in a normal line direction of the first surface.
7. The edge portion position detection apparatus according to claim 6, whereinthe first light receiving element and the second light receiving element are disposed on the first surface of the substrate.
8. The edge portion position detection apparatus according to claim 7, whereinthe first light receiving element and the second light receiving element are components of the same type.
9. The edge portion position detection apparatus according to claim 8, whereinthe optical sensor is configured by the light emitting element, the first light receiving element, the second light receiving element, the first light receiving opening, and the second light receiving opening so thata central axis of the first reflected light is included in a first plane perpendicular to the scanning direction of the optical sensor, anda central axis of the second reflected light is included in a second plane perpendicular to the scanning direction of the optical sensor, the second plane being located on an opposite side of a central axis of the irradiation light from the first plane.
10. The edge portion position detection apparatus according to claim 9, whereina distance from a center of the first light receiving element to a center of the light emitting element is equal to a distance from a center of the second light receiving element to the center of the light emitting element.
11. The edge portion position detection apparatus according to claim 10, whereinthe first light receiving element and the second light receiving element are disposed at positions that are point-symmetrical to each other with respect to the center of the light emitting element.
12. The edge portion position detection apparatus according to claim 11, whereina distance from a center of the first light receiving opening to a center of the irradiation opening is equal to a distance from a center of the second light receiving opening to the center of the irradiation opening.
13. The edge portion position detection apparatus according to claim 12, whereinthe first light receiving opening and the second light receiving opening are provided at positions that are point-symmetrical to each other with respect to the center of the irradiation opening.
14. The edge portion position detection apparatus according to claim 13, whereinthe first light receiving opening and the second light receiving opening have the same area.
15. The edge portion position detection apparatus according to claim 14, whereinthe optical sensor is configured so that a distance from an intersection between the central axis of the irradiation light and the detection target object to a center of the first reflection region is equal to a distance from the intersection to a center of the second reflection region.
16. The edge portion position detection apparatus according to claim 15, whereinthe optical sensor is configured so that the first reflection region and the second reflection region are point-symmetrical to each other with respect to the intersection between the central axis of the irradiation light and the detection target object.
17. The edge portion position detection apparatus according to claim 16, whereinthe optical sensor is configured so that positional ranges of the first reflection region and the second reflection region in a direction intersecting the scanning direction of the optical sensor do not overlap each other.
18. The edge portion position detection apparatus according to claim 17, further comprisinga height adjustment unit configured to adjust an installation height of the optical sensor relative to the detection target object so that a distance between the center of the first reflection region and the center of the second reflection region in a direction intersecting the scanning direction of the optical sensor is a predetermined value.
19. A printing apparatus comprising an edge portion position detection apparatus including an optical sensor for detecting an edge portion position of a printing medium, whereinthe optical sensor is capable of performing a scan in a width direction of the printing medium, and is capable of irradiating a detection target object including the printing medium with irradiation light,the optical sensor comprises:a light emitting element configured to emit the irradiation light;a first light receiving element configured to receive first reflected light resulting from the irradiation light reflecting off a first reflection region on the detection target object;a second light receiving element configured to receive second reflected light resulting from the irradiation light reflecting off a second reflection region on the detection target object, the second light receiving element being disposed on an opposite side of the light emitting element from the first light receiving element in a direction intersecting a scanning direction of the optical sensor;a first light receiving opening being an opening for the optical sensor to obtain the first reflected light; anda second light receiving opening being an opening for the optical sensor to obtain the second reflected light, andthe optical sensor is configured by the light emitting element, the first light receiving element, the second light receiving element, the first light receiving opening, and the second light receiving opening so that positional ranges of the first reflection region and the second reflection region in the scanning direction of the optical sensor do not overlap each other.
