CN214111967U - Detecting device and thermal printer - Google Patents

Detecting device and thermal printer Download PDF

Info

Publication number
CN214111967U
CN214111967U CN202021798652.1U CN202021798652U CN214111967U CN 214111967 U CN214111967 U CN 214111967U CN 202021798652 U CN202021798652 U CN 202021798652U CN 214111967 U CN214111967 U CN 214111967U
Authority
CN
China
Prior art keywords
tube
sunlight
emitting tube
characteristic wavelength
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202021798652.1U
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Hanyin Electronic Technology Co Ltd
Original Assignee
Xiamen Hanyin Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Hanyin Electronic Technology Co Ltd filed Critical Xiamen Hanyin Electronic Technology Co Ltd
Priority to CN202021798652.1U priority Critical patent/CN214111967U/en
Application granted granted Critical
Publication of CN214111967U publication Critical patent/CN214111967U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

The utility model discloses a detecting device and a thermal printer, wherein the detecting device comprises a power supply, a photoelectric pair and a micro control unit; the photoelectric pair comprises a light emitting tube and a receiving tube arranged opposite to the light emitting tube; the first ends of the light-emitting tube and the receiving tube are connected with the power supply, and the other ends of the light-emitting tube and the receiving tube are grounded; the first end of the receiving pipe is connected to a sampling port of the micro control unit; the characteristic wavelength of the photoelectric pair is near a wave trapping point of the sunlight. Based on the utility model discloses, because the characteristic wavelength of the detection light of the launching tube transmission of photoelectricity pair is located near the trapped wave point of sunlight, the luminous intensity of sunlight under this characteristic wavelength is less promptly, consequently also corresponding less by the induced-current of the interference nature of shining the receiving tube and producing of sunlight, so reduced the influence of sunlight irradiation to the result of listening, improved thermal printer and listened stability and the degree of accuracy under the scene that the sunlight shines.

Description

Detecting device and thermal printer
Technical Field
The utility model relates to a print technical field, specifically relate to a detection device and thermal printer.
Background
In a thermal printer, it is a common and necessary function to detect the installation condition and printing position of consumables (including printing paper, carbon ribbon, etc.), and it is used to prompt a user whether consumables are installed correctly in the printer and provide heating start position location of the consumables, or to prompt the user whether paper at the paper outlet of the printer is taken away.
Because the photoelectric pair has the advantages of small volume, low cost, simple use and the like, the current thermal printer generally utilizes the photoelectric pair detection circuit to realize the detection function.
The photoelectric pair detection scheme principle commonly used by the current thermal printer is as follows:
on the paper path or at the paper exit, a pair of photoelectric pairs is disposed side by side, wherein the pair generally includes a light emitting tube and a receiving tube. The luminotron emits infrared light with a certain wavelength, and the receiving tube can receive the infrared light. In the paper state, the infrared light emitted from the light emitting tube is first irradiated to the surface of the paper and then reflected to the receiving tube. In the state of no paper, the infrared light emitted by the luminous tube is not reflected by the paper and is difficult to be received by the receiving tube. Therefore, the infrared light irradiation intensity received by the receiving tube is different between the two states of paper and no paper. Under the condition that the receiving tube is powered by the power supply, the induced current flowing through the receiving tube is in positive correlation with the light intensity irradiated to the surface of the receiving tube. Therefore, under the two states of paper and no paper, the voltage of the receiving tube changes correspondingly, and the voltage signal is transmitted to the AD port of the MCU, so that the position condition of the paper can be judged.
Specifically, the circuit is as shown in fig. 1:
VCC is a system power supply, U1 is a photoelectric pair, R1 is a current-limiting resistor of a light-emitting tube, R2 is a pull-up resistor of a receiving tube, and R3 and C1 are filter circuits (the filter circuits are not required) for receiving tube signals. The SENSOR is a sampling signal transmitted to an AD port of the MCU by the receiving tube, and the voltage of the signal is as follows:
V_SENSOR=VCC-R2*I_Q1
wherein, I _ Q1 is the induced current of the receiving tube, and it can be seen that V _ SENSOR reflects the light intensity irradiated to the surface of the receiving tube. The paper state and the paper state can be distinguished by sampling the voltage, so that paper detection is realized. Through further analysis of the AD value by the MCU, information such as the initial position of paper printing can be judged.
SUMMERY OF THE UTILITY MODEL
The inventor is implementing the utility model discloses an in-process discovery, current photoelectricity has higher detection stability to detecting the scheme under dark or closed environment, but in some needs expose under the scene of sunlight irradiation, then appear easily because of the interference of sunlight leads to detecting the unstable condition.
The inventors have further found that the main cause of this is that existing photoelectric pairs typically use a photoelectric pair in the infrared band, and accordingly, the receiving tube is sensitive to infrared light in the corresponding band. Taking a common ITR8307 photoelectric pair as an example, the spectral characteristics of the light emitting tube are shown in fig. 2. As can be seen from fig. 2, the characteristic wavelengths of the light emitting tube and the receiving tube of the photoelectric pair are concentrated near 840nm-1200nm, and the wavelength band of the characteristic wavelength is in the spectrum range of sunlight, so when the thermal printer is exposed to the sunlight to work, the receiving tube of the photoelectric pair generates interfering induced current due to the irradiation of the sunlight, and the detection cannot be correctly realized.
In view of this, an object of the present invention is to provide a thermal printer, which can still have a better detection effect under the irradiation of sunlight.
The embodiment of the utility model provides a detection device, which comprises a power supply, a photoelectric pair and a micro control unit; the photoelectric pair comprises a light emitting tube and a receiving tube arranged opposite to the light emitting tube; the first ends of the light-emitting tube and the receiving tube are connected with the power supply, and the other ends of the light-emitting tube and the receiving tube are grounded; the first end of the receiving pipe is connected to a sampling port of the micro control unit; wherein the characteristic wavelength of the photoelectric pair is near a wave trapping point of the sunlight.
Preferably, the characteristic wavelength is around 1100 nm.
Preferably, the characteristic wavelength is around 1300 nm.
Preferably, the characteristic wavelength is around 1700 nm.
Preferably, the characteristic wavelength is around 2400 nm.
Preferably, the micro control unit is connected to the light emitting tube through a GPIO port.
Preferably, a current limiting resistor is provided between the power source and the first end of the light emitting tube.
Preferably, a pull-up resistor is arranged between the power supply and the first end of the receiving tube.
Preferably, a filter circuit is arranged between the first end of the light-emitting tube and the sampling port.
The embodiment of the utility model also provides a thermal printer, which comprises a shell, wherein a printing channel is formed in the shell, and the thermal printer is characterized by comprising the detecting device; the detecting device is arranged on the shell, and the photoelectric pair is arranged in the printing channel.
In the above embodiment, since the characteristic wavelength of the photoelectric pair is located near the trap point of the sunlight, that is, the sunlight is attenuated by a sharp mutation under the characteristic wavelength, the induced current caused by the sunlight irradiating the receiving tube is correspondingly small, so that the influence of the sunlight irradiation on the detection result is reduced, and the detection stability and accuracy of the thermal printer under the sunlight irradiation scene are improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required for the embodiments will be briefly described below, and obviously, the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a circuit diagram of a prior art photoelectric pair detection scheme.
Fig. 2 is a graph of spectral characteristics of the photo-electric pair ITR 8307.
Fig. 3 is a schematic diagram of a detection circuit of a thermal printer according to an embodiment of the present invention.
Fig. 4 is a graph of spectral characteristics of sunlight.
FIG. 5 is a graph of spectral characteristics of a photo-electric versus FIR 91-01C/L816/2R.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
Referring to fig. 3, an embodiment of the present invention provides a detecting device, which includes a power source 20, a photoelectric pair 10 and a micro control unit 30; the photoelectric pair 10 comprises a light-emitting tube 11 and a receiving tube 12 arranged opposite to the light-emitting tube 11; first ends of the light-emitting tube 11 and the receiving tube 12 are connected to the power supply 20, and the other ends of the light-emitting tube 11 and the receiving tube 12 are grounded; a first end of the receiving tube 12 is connected to a sampling port of the micro control unit 30; wherein the characteristic wavelength of the photoelectric pair 10 is near a trap point of the sunlight.
In the present embodiment, specifically, as shown in fig. 4, fig. 4 shows a spectrum characteristic diagram of sunlight, and it can be seen from fig. 4 that notch points appear in the solar spectrum in the vicinity of 1100nm, 1300nm, 1700nm, 2400nm, that is, the light intensity of the light emitted from the sunlight in the vicinity of these wavelengths is attenuated by a sharp change. From such a viewpoint, since the light intensity of the sunlight around these wavelengths is attenuated sharply, if the characteristic wavelength of the photoelectric pair 10 is located right near the notch point, the disturbing induced current generated by the corresponding sunlight irradiation is also small, so that the disturbance of the photoelectric pair 10 is also reduced, and thus the detection stability and accuracy of the photoelectric pair 10 can be improved.
For this reason, in the present embodiment, the characteristic wavelength of the photoelectric pair 10 may be selected to be around 1100nm, or around 1300nm, or around 1700nm, or around 2400 nm.
Among these, it is noted that there is a very significant notch point in the solar spectrum around 1300nm, i.e. the infrared energy around 1300nm wavelength contained in the sunlight is almost 0, so its interference to the photoelectric pair 10 is minimal.
In addition, from the manufacturing point of view, the characteristic wavelength of 1300nm still belongs to the range of simple process and low cost for the manufacturing process of the photoelectric pair. For the higher characteristic wavelength of the photoelectric pair (e.g. 1700nm or 2400 nm), the difficulty of the manufacturing process increases, and the device cost also increases greatly.
Therefore, in view of both aspects, the present embodiment preferably employs a photoelectric pair with a characteristic wavelength of 1300 nm. Of course, the photoelectric pair with the characteristic wavelength near other trap points of the sunlight is also within the protection scope of the present invention, and the details are not described herein.
In this embodiment, for example, the model FIR91-01C/L816/2R is selected as the photoelectric pair 10 with the characteristic wavelength of 1300nm, and the corresponding spectral characteristic diagram is shown in fig. 5, and as can be seen from fig. 5, the characteristic wavelength of the photoelectric pair is concentrated near 1300nm, which is very suitable for the requirement of this embodiment. Of course, it should be noted that, in other embodiments of the present invention, other types of photoelectric pairs with characteristic wavelengths of 1300nm accessories can be selected, and these schemes are all within the protection scope of the present invention.
In summary, in the detection device provided in this embodiment, because the characteristic wavelength of the photoelectric pair 10 is located near the trap point of the sunlight, that is, the light intensity of the sunlight at the characteristic wavelength is small, the interference induced current generated by the sunlight irradiating the receiving tube is also correspondingly small, so that the influence of the sunlight irradiation on the detection result is reduced, and the detection stability and accuracy of the thermal printer in the sunlight irradiation scene are improved.
Preferably, the micro control unit 30 is connected to the light emitting tube 11 through a GPIO port.
Wherein, the micro control unit 30 can control the light emitting state of the light emitting tube 11 through the GPIO port.
Preferably, a current-limiting resistor is provided between the power supply 20 and the first end of the light-emitting tube 11.
The current limiting resistor can limit the current flowing through the light emitting tube 11 to prevent the light emitting tube 11 from being burnt out due to excessive current.
Preferably, a pull-up resistor is provided between the power source 20 and the first end of the receiving tube 12.
The pull-up resistor pulls up to clamp an uncertain signal at a high level through a resistor, and meanwhile, the function of limiting the current of the receiving tube 12 is achieved, and the receiving tube 12 is prevented from being burnt out.
Preferably, a filter circuit is disposed between the first end of the light-emitting tube 12 and the sampling port.
The filter circuit is an RC circuit and is used for filtering out high-frequency cost in the sampling signal so as to reduce high-frequency interference.
The utility model discloses the second embodiment still provides a thermal printer including the detection device of any above-mentioned embodiment, thermal printer has the casing to be formed with in the casing and print the passageway, detection device's photoelectricity to set up in print in the passageway.
In this embodiment, the printing channel is used to provide a path for a printing medium to pass through, and print the printing medium at the print head, the transmitting tube 11 and the receiving tube 12 of the photoelectric pair may be located on the same side of the printing channel or on both sides of the printing channel, and may detect the printing medium located in the printing channel to determine whether the printing medium exists in the printing channel or determine the position information of the printing medium, etc. The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention should be covered by the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A detection device comprises a power supply, a photoelectric pair and a micro control unit; the photoelectric pair comprises a light emitting tube and a receiving tube arranged opposite to the light emitting tube; the first ends of the light-emitting tube and the receiving tube are connected with the power supply, and the other ends of the light-emitting tube and the receiving tube are grounded; the first end of the receiving pipe is connected to a sampling port of the micro control unit; the characteristic wavelength of the photoelectric pair is near a trap point of sunlight.
2. A detection device as claimed in claim 1 wherein said characteristic wavelength is around 1100 nm.
3. A detection device as claimed in claim 1 wherein said characteristic wavelength is around 1300 nm.
4. A detection device as claimed in claim 1 wherein said characteristic wavelength is around 1700 nm.
5. A detection device as claimed in claim 1 wherein said characteristic wavelength is around 2400 nm.
6. The detection device as claimed in claim 1, wherein the micro control unit is connected to the light emitting tube through a GPIO port.
7. The detecting device as claimed in claim 1, wherein a current limiting resistor is disposed between the power source and the first end of the light emitting tube.
8. The detection device as claimed in claim 1, wherein a pull-up resistor is disposed between the power source and the first end of the receiving tube.
9. The detecting device as claimed in claim 1, wherein a filter circuit is disposed between the first end of the light emitting tube and the sampling port.
10. A thermal printer comprising a housing in which a print channel is formed, comprising a detection device according to any one of claims 1 to 9; the detecting device is arranged on the shell, and the photoelectric pair is arranged in the printing channel.
CN202021798652.1U 2020-08-25 2020-08-25 Detecting device and thermal printer Active CN214111967U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021798652.1U CN214111967U (en) 2020-08-25 2020-08-25 Detecting device and thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021798652.1U CN214111967U (en) 2020-08-25 2020-08-25 Detecting device and thermal printer

Publications (1)

Publication Number Publication Date
CN214111967U true CN214111967U (en) 2021-09-03

Family

ID=77484281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021798652.1U Active CN214111967U (en) 2020-08-25 2020-08-25 Detecting device and thermal printer

Country Status (1)

Country Link
CN (1) CN214111967U (en)

Similar Documents

Publication Publication Date Title
JP4276287B2 (en) Tube assembly
US20100192772A1 (en) Self-alarming air cleaner
US20210298670A1 (en) Hearing device with optical sensor at spout
CN214111967U (en) Detecting device and thermal printer
CN110148277B (en) MEMS smoke sensor based on dual-wavelength detection
TW200839154A (en) Fire detecting apparatus
JPH0568000B2 (en)
Al-rubaiai Design and development of an LED-based optical communication system
JPH0627021A (en) Detector for detecting presence of particle
CN219695831U (en) Flame detection equipment
KR102081761B1 (en) Hybrid photoelectric smoke detector and smoke detection method using light scattering and photosensitive effect
CN111144912A (en) Anti-counterfeiting device, anti-counterfeiting method and anti-counterfeiting structure of electronic cigarette
CN216670775U (en) Device based on reflective photosensitive automatic identification filter
CA2781034C (en) Low energy consumption detection system
CN111942028B (en) Thermal printer, method and device for detecting external light source interference and storage medium
CN114067127A (en) Device and method for automatically identifying filter based on reflective sensitization
JP2966541B2 (en) Photoelectric smoke detector
GB9802473D0 (en) Method and apparatus to detect the presence of water on a surface
KR20100085097A (en) Water treatment system with moisture detector
JPS638538A (en) Smoke sensor
CN105190718A (en) Fire alarm
JPH0452550A (en) Optical smoke sensor and optical smoke detector
CN2407356Y (en) Smoke and flame detector with laser reflection
JPS586480A (en) Reflection detector
US20240068942A1 (en) Masking to eliminate direct line of sight between light emitter and light receiver in a smoke detector

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant