Stamp detection circuit and stamper machine
By using an optical sensor to detect the approach/remote state of the seal, the problem of low detection accuracy caused by mechanical fatigue and oxidation of microswitches is solved, achieving more efficient and reliable seal detection.
Patent Information
- Application Number
- CN202520294754.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2035-02-24
AI Technical Summary
In existing seal detection technologies, microswitches suffer from mechanical fatigue and oxidation, resulting in low detection accuracy, inconvenient installation, and easy damage.
It employs optical sensors, including infrared LEDs and optical proximity sensors, to determine the proximity/distance of the stamp by detecting the intensity of reflected light, replacing the traditional mechanical micro-switch.
It improves the accuracy of seal detection, simplifies the structural design, reduces installation difficulty, and extends the service life of the seal machine.
Smart Images

Figure CN223679551U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to circuit technical field especially relates to a seal detection circuit and seal machine. BACKGROUND
[0002] In the related art, the micro switch and the structure are matched to trigger the switch action to produce the electric signal change when the seal is loaded into and removed from the shell of the seal machine, thereby achieving the seal detection function.
[0003] However, the micro switch is a mechanical moving part, and there are problems of mechanical fatigue and contact oxidation, which leads to low precision of seal detection, and the micro switch has certain requirements for structure design and installation, which is inconvenient to install and easy to damage. UTILITY MODEL CONTENT
[0004] Therefore, the utility model embodiment aims to provide a seal detection circuit and seal machine to solve one or more technical problems in the prior art and at least provide a beneficial choice or create conditions.
[0005] In one aspect, the utility model embodiment provides a seal detection circuit applied to a seal machine, which comprises a single-chip microcomputer, an optical sensor, a driving chip and a motor.
[0006] The single-chip microcomputer is connected to the optical sensor and the driving chip respectively, the output end of the driving chip is connected to the motor, and one end of the motor is connected to a seal to adjust the extension and retraction of the seal in the shell.
[0007] The optical sensor is arranged at the top end of the inner wall of the shell, and the optical sensor comprises an infrared LED and an optical proximity sensor.
[0008] The single-chip microcomputer controls the infrared LED in the optical sensor to light up, obtains the reflected light intensity detected by the optical proximity sensor, and obtains the height of the extension and retraction of the seal in the shell.
[0009] Optionally, the optical sensor further comprises a digital illuminance sensor, the single-chip microcomputer controls the infrared LED in the optical sensor to light up, obtains the illuminance detected by the digital illuminance sensor, and obtains whether the seal is in the shell.
[0010] Optionally, the model of the optical sensor is RPR-0521RS.
[0011] Optionally, the model of the single-chip microcomputer is HC32L.
[0012] Optionally, the single-chip microcomputer connects the SCL pin of the optical sensor through a first I2C interface, connects the SDA pin of the optical sensor through a second I2C interface, and connects the INT pin of the optical sensor through an interrupt input pin.
[0013] Optionally, the seal detection circuit further comprises a direct current conversion circuit, an input end of the direct current conversion circuit being connected with a direct current power supply end, and an output end of the direct current conversion circuit being connected with a power input end of the optical sensor.
[0014] The single-chip microcomputer and the optical sensor have the same rated voltage, and the direct current conversion circuit converts the voltage of the direct current power supply end into a voltage suitable for the rated voltage of the single-chip microcomputer and the optical sensor, and then supplies power to the single-chip microcomputer and the optical sensor respectively.
[0015] Optionally, the direct current conversion circuit comprises a direct current conversion chip, and the model of the direct current conversion chip is CJ9221T5.
[0016] Optionally, the single-chip microcomputer connects an input end of the driving chip through a GPIO interface, an output end of the driving chip is connected with the motor, the single-chip microcomputer outputs a pulse signal to the driving chip through the GPIO interface, and the driving chip controls the rotation of the motor according to the pulse signal to adjust the extension and retraction of the seal.
[0017] Optionally, the model of the driving chip is DRV8837DSGR.
[0018] In another aspect, the utility model provides a seal machine, which comprises a shell, a seal located in the shell, and the seal detection circuit according to any one of the preceding aspects.
[0019] The utility model discloses a kind of seal detection circuits and seal machines, the light reflected by the light reflected by infrared LED emission, the reflected light intensity is detected by the reflected light of optical proximity sensor to the seal, according to reflected light intensity, the process of seal approaching / away can be detected, improve the accuracy of seal detection, reduce artificial error;The utility model uses optical proximity sensor to replace mechanical microswitch, simplifies structure design, reduces installation difficulty, avoids frequent mechanical wear, prolongs the service life of seal machine. BRIEF DESCRIPTION OF DRAWINGS
[0020] In order to more clearly illustrate the technical scheme in the embodiments of the utility model or prior art, the drawings needed to be used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the utility model, and other drawings can be obtained according to these drawings without creative labor for those skilled in the art.
[0021] Figure 1 The schematic diagram of the seal detection circuit provided for an embodiment. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical scheme and advantages of the utility model clearer and more understandable, the utility model will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the utility model and not to limit the utility model.
[0023] It should be noted that although the functional modules are divided in the schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in a different order than the order shown in the flowchart or the order of the module division. The terms "first", "second", etc. in the description and claims and the above drawings are used to distinguish similar objects and do not necessarily describe a specific order or sequence.
[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the utility model belongs. The terms used herein are only for the purpose of describing the embodiments of the utility model and are not intended to limit the utility model.
[0025] In addition, the described features, structures or characteristics can be combined in any suitable way in one or more embodiments. In the following description, many specific details are provided to give a sufficient understanding of the embodiments of the utility model. However, those skilled in the art will realize that the technical scheme of the utility model can be practiced without one or more of the specific details, or other methods, components, steps, etc. can be used. In other cases, well-known methods, implementations or operations are not shown or described in detail to avoid obscuring the aspects of the utility model.
[0026] As Figure 1 The utility model provides a kind of seal detection circuit, it is applied to seal machine, the seal detection circuit includes single-chip microcontroller 100, optical sensor 200, drive chip 300 and motor 400;The seal machine includes shell;
[0027] The single-chip microcontroller 100 is connected with the optical sensor 200 and the drive chip 300 respectively, the output end of the drive chip 300 is connected with motor 400, and one end of the motor 400 is connected with seal, to adjust the expansion and contraction of the seal in the shell;
[0028] The optical sensor 200 is arranged at the top end of the inner wall of the shell;The optical sensor 200 includes infrared LED 210 and optical proximity sensor 220;
[0029] The single-chip microcomputer 100 controls the infrared LED 210 in the optical sensor 200 to light up, obtains the reflected light intensity detected by the optical proximity sensor 220, and obtains the height of the seal extending in and out of the shell.
[0030] In the embodiments of the utility model, the infrared LED 210 is controlled by the single-chip microcomputer 100 to light up, the register of the optical sensor 200 is operated through the I2C interface, the reflected light intensity detected by the optical proximity sensor 220 can be obtained, the approaching or moving away state of the seal is detected, and thus the seal moving out detection is realized.
[0031] Specifically, the light emitted by the infrared LED 210 is reflected by the seal to generate reflected light, the optical proximity sensor 220 detects the reflected light to obtain the reflected light intensity, the greater the reflected light intensity detected by the optical proximity sensor 220, the smaller the seal shielding, and as the reflected light intensity decreases, it is determined that the seal is in a gradually approaching state.
[0032] The utility model discloses the process of detecting the approach / away of the seal, improves the mechanical life problem of the micro switch, and the light intensity can be calibrated through software, and the structure and installation precision requirement are not high. The signal detection reliability is improved and the design and installation difficulty are reduced.
[0033] In some embodiments, the optical sensor 200 further comprises a digital illuminance sensor 230, the single-chip microcomputer 100 controls the infrared LED 210 in the optical sensor 200 to light up, obtains the illuminance detected by the digital illuminance sensor 230, and obtains whether the seal is in the shell.
[0034] In the utility model, whether the seal is completely moved out of the shell of the seal machine can be judged by the digital illuminance sensor 230. When the seal is not installed into the shell of the seal machine, the signal received by the digital illuminance sensor 230 is strong, which can be used as the state of not starting to install the seal. When the installation position is blocked, the digital illuminance sensor 230 is weak, and is close to the optical proximity sensor 220, according to the reflected light intensity, the seal installation to position condition can also be judged.
[0035] In some embodiments, the model of the optical sensor 200 is RPR-0521RS.
[0036] The utility model uses the optical sensor 200 of RPR-0521RS to replace the traditional micro switch. RPR-0521RS is a kind of optical proximity sensor and digital illuminance sensor 230 module produced by ROHM company, integrates infrared LED 210, digital illuminance sensor 230 and optical proximity sensor 220. The module can detect the proximity object and ambient light intensity.
[0037] In some embodiments, the model of the single-chip microcomputer 100 is HC32L.
[0038] It should be noted that the HC32L single-chip microcomputer 100 has high performance and low power consumption characteristics, and can efficiently process sensor data to ensure rapid system response.
[0039] In some embodiments, the single-chip microcomputer 100 connects the SCL pin of the optical sensor 200 through the first I2C interface, connects the SDA pin of the optical sensor 200 through the second I2C interface, and connects the INT pin of the optical sensor 200 through the interrupt input pin.
[0040] It should be noted that the I2C interface is a kind of serial communication interface, which is widely used in short-distance, low-speed data transmission between devices. Through the I2C interface, the single-chip microcomputer 100 can efficiently exchange data with the optical proximity sensor 220, ensuring real-time monitoring of the seal status. In addition, the stability of the I2C interface also improves the anti-interference ability of the system, making the seal status detection more accurate.
[0041] In some embodiments, the seal detection circuit further comprises a direct current conversion circuit 500, the input end of the direct current conversion circuit 500 is connected with a direct current power supply end, and the output end is connected with the power input end of the optical sensor 200.
[0042] The rated voltage of the single-chip microcomputer 100 and the optical sensor 200 is the same, and the direct current conversion circuit 500 converts the voltage of the direct current power supply end into a voltage suitable for the rated voltage of the single-chip microcomputer 100 and the optical sensor 200, and then supplies power to the single-chip microcomputer 100 and the optical sensor 200 respectively.
[0043] It should be noted that the design of the direct current conversion circuit 500 ensures the stability and compatibility of the power supply, avoiding damage to the equipment caused by voltage mismatch. At the same time, this circuit layout simplifies the power supply system, reduces the overall energy consumption, and improves the endurance of the equipment. Through the optimization of power management, it can maintain efficient operation in different working states,
[0044] In some embodiments, the direct current conversion circuit 500 comprises a direct current conversion chip, and the model of the direct current conversion chip is CJ9221T5.
[0045] It should be noted that the CJ9221T5 chip has high conversion efficiency and low static power consumption characteristics, effectively improving the power utilization rate. Its built-in protection mechanism, such as overcurrent protection and overheat protection, further enhances the safety and reliability of the system, ensuring stable operation in complex environments.
[0046] In some embodiments, the single-chip microcomputer 100 connects the input end of the drive chip 300 through the GPIO interface, the output end of the drive chip 300 is connected with the motor 400, the single-chip microcomputer 100 outputs a pulse signal to the drive chip 300 through the GPIO interface, and the drive chip 300 controls rotation of the motor 400 according to the pulse signal to adjust the extension and retraction of the seal.
[0047] It should be noted that the GPIO interface is a general-purpose input-output interface, which is flexible and can realize various functions through programming to ensure accurate control between the single-chip microcomputer 100 and the drive chip 300. This design simplifies the circuit structure, improves the response speed and stability of the system, and makes the extension and retraction adjustment of the seal more accurate and efficient.
[0048] In some embodiments, the model of the drive chip 300 is DRV8837DSGR.
[0049] It should be noted that the DRV8837DSGR chip has high driving capability and low noise characteristics, which effectively improves the accuracy and stability of the motor 400 control, reduces vibration and noise during operation, and further optimizes the smoothness and reliability of the extension and retraction of the seal. The built-in current detection and protection function ensures the safe operation of the motor 400 under different loads, prolongs the service life of the equipment.
[0050] The utility model embodiment further provides a seal machine, include: shell, be located in the seal of shell and the seal detection circuit of any one embodiment.
[0051] The seal detection circuit provided by the utility model has the characteristics of small size and sensitive reaction, and can be arranged in the shell of the seal machine. It is convenient to design the shell of the seal machine with a simple structure, reduces the size of the equipment, and can realize the design of a panel without holes. Compared with the traditional mechanical switch, the utility model is convenient and fast in user operation, and also greatly improves the service life of the product and reduces the problem of bad repair and after-sales service.
[0052] The terms "first", "second", "third", "fourth" and the like in the description of the utility model and in the above drawings (if any) are used to distinguish similar objects, and do not have to be used to describe a particular order or chronological sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the utility model described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0053] It should be understood that in the utility model, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the association between the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean that there are three cases of only A, only B and A and B at the same time, wherein A and B can be singular or plural. The character " / " generally represents that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b and c can be single or multiple.
[0054] In several embodiments provided by the utility model, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed objects can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0055] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on multiple network units. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.
[0056] The preferred embodiments of the present application are described above with reference to the accompanying drawings, and are not intended to limit the scope of the present application. Any modification, equivalent replacement and improvement made by those skilled in the art without departing from the scope and essence of the present application shall be within the scope of the present application.
Claims
1. A seal detection circuit applied to a seal machine, characterized in that, The seal detection circuit comprises a single-chip microcomputer, an optical sensor, a driving chip and a motor; the seal machine comprises a shell; The single-chip microcomputer is connected with the optical sensor and the driving chip respectively, the output end of the driving chip is connected with the motor, one end of the motor is connected with the seal, so as to adjust the extension and retraction of the seal in the shell; The optical sensor is arranged at the top of the inner wall of the shell; the optical sensor comprises an infrared LED and an optical proximity sensor; The single-chip microcomputer controls the infrared LED in the optical sensor to light up, obtains the reflected light intensity detected by the optical proximity sensor, and obtains the height of the extension and retraction of the seal in the shell.
2. The stamp detection circuit of claim 1, wherein, The optical sensor further comprises a digital illumination sensor, the single-chip microcomputer controls the infrared LED in the optical sensor to light up, obtains the illumination detected by the digital illumination sensor, and obtains whether the seal is in the shell.
3. The stamp detection circuit of claim 2, wherein, The model of the optical sensor is RPR-0521RS.
4. The stamp detection circuit of claim 3, wherein, The model of the single-chip microcomputer is HC32L.
5. The stamp detection circuit of claim 4, wherein, The single-chip microcomputer is connected with the SCL pin of the optical sensor through a first I2C interface, is connected with the SDA pin of the optical sensor through a second I2C interface, and is connected with the INT pin of the optical sensor through an interrupt input pin.
6. The stamp detection circuit of claim 1, wherein, The seal detection circuit further comprises a direct current conversion circuit, the input end of the direct current conversion circuit is connected with a direct current power supply end, and the output end of the direct current conversion circuit is connected with the power input end of the optical sensor; The rated voltage of the single-chip microcomputer and the optical sensor is the same, the direct current conversion circuit converts the voltage of the direct current power supply end into the rated voltage suitable for the single-chip microcomputer and the optical sensor, and then supplies power to the single-chip microcomputer and the optical sensor.
7. The stamp detection circuit of claim 6, wherein, The direct current conversion circuit comprises a direct current conversion chip, and the model of the direct current conversion chip is CJ9221T5.
8. The stamp detection circuit of claim 1, wherein, The single-chip microcomputer is connected with the input end of the driving chip through a GPIO interface, the output end of the driving chip is connected with the motor, the single-chip microcomputer outputs a pulse signal to the driving chip through the GPIO interface, and the driving chip controls the rotation of the motor according to the pulse signal, so as to adjust the extension and retraction of the seal.
9. The stamp detection circuit of claim 8, wherein, The model of the driving chip is DRV8837DSGR.
10. A stamping machine characterized by, The seal detection circuit comprises a single-chip microcomputer, an optical sensor, a driving chip and a motor; the seal machine comprises a shell; The single-chip microcomputer is connected with the optical sensor and the driving chip respectively, the output end of the driving chip is connected with the motor, one end of the motor is connected with the seal, so as to adjust the extension and retraction of the seal in the shell; The optical sensor is arranged at the top of the inner wall of the shell; the optical sensor comprises an infrared LED and an optical proximity sensor; The single-chip microcomputer controls the infrared LED in the optical sensor to light up, obtains the reflected light intensity detected by the optical proximity sensor, and obtains the height of the extension and retraction of the seal in the shell. The optical sensor further comprises a digital illumination sensor, the single-chip microcomputer controls the infrared LED in the optical sensor to light up, obtains the illumination detected by the digital illumination sensor, and obtains whether the seal is in the shell. The model of the optical sensor is RPR-0521RS. The model of the single-chip microcomputer is HC32L. The single-chip microcomputer is connected with the SCL pin of the optical sensor through a first I2C interface, is connected with the SDA pin of the optical sensor through a second I2C interface, and is connected with the INT pin of the optical sensor through an interrupt input pin. The seal detection circuit further comprises a direct current conversion circuit, the input end of the direct current conversion circuit is connected with a direct current power supply end, and the output end of the direct current conversion circuit is connected with the power input end of the optical sensor; The rated voltage of the single-chip microcomputer and the optical sensor is the same, the direct current conversion circuit converts the voltage of the direct current power supply end into the rated voltage suitable for the single-chip microcomputer and the optical sensor, and then supplies power to the single-chip microcomputer and the optical sensor. The direct current conversion circuit comprises a direct current conversion chip, and the model of the direct current conversion chip is CJ9221T5. The single-chip microcomputer is connected with the input end of the driving chip through a GPIO interface, the output end of the driving chip is connected with the motor, the single-chip microcomputer outputs a pulse signal to the driving chip through the GPIO interface, and the driving chip controls the rotation of the motor according to the pulse signal, so as to adjust the extension and retraction of the seal. The model of the driving chip is DRV8837DSGR.