Comparator control output circuit
By designing a comparator control output circuit on the periphery of the printer, setting the voltage trigger threshold and using LED to display the status, the problem of false triggering in the printer's peripheral trigger control is solved and the system stability and reliability are improved.
Patent Information
- Application Number
- CN202323610926.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2033-12-28
AI Technical Summary
The peripheral trigger control of the printer is prone to false triggering caused by environmental interference. It is difficult to effectively eliminate the impact of interference signals on trigger control with existing technology.
Design a comparator control output circuit, including an external trigger signal circuit, an LM393 comparator circuit and an LED load circuit. The voltage trigger threshold is set through the comparator, and the output is triggered only when the external trigger signal voltage exceeds the threshold, eliminating the influence of interference signals, and The validity of the trigger signal is displayed through LED.
It effectively improves the stability and reliability of the printer system, avoids the problem of false triggering, and intuitively displays the comparator output status through the LED status, enhancing the working stability and reliability of the system.
Smart Images

Figure CN221614950U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of printers, in particular to a comparator control output circuit. Background Art
[0002] There is a major pain point in the peripheral trigger control of the printer. First of all, due to the complex electrical environment of the machine, there is a lot of interference in the printer's use environment, and occasional false triggering may occur. The trigger control circuit design has advantages in ease of use, performance, and reliability in engineering implementation, but there is also a problem that cannot be ignored, that is, when there are some abnormal interferences in the construction of the machine's electrical environment, there is a high probability of false triggering. For this reason, it is proposed to use a comparator as a voltage setting trigger to ensure that there will be no false triggering in the case of some interference signals. Summary of the invention
[0003] In order to solve the above-mentioned technical problems, the utility model provides a comparator control output circuit, which is used for controlling the indicator light by the peripheral trigger signal of the printer board.
[0004] The technical solution of the utility model is achieved in this way:
[0005] A comparator control output circuit includes an external trigger signal circuit, an LM393 comparator circuit and an LED load circuit.
[0006] The external trigger signal circuit receives an external trigger signal and transmits it to the comparator circuit for processing, wherein the external trigger signal is a signal from a sensor;
[0007] The LM393 comparator circuit uses the LM393 comparator chip as the core component. The comparator has two input terminals, a positive input terminal and a negative input terminal, and can compare the magnitudes of two input voltages and generate corresponding output signals. In this case, the positive input terminal will be connected to an external trigger signal circuit, and the negative input terminal will be connected to an adjustable voltage source;
[0008] The LED load circuit is used to display the output state of the comparator. When the comparator detects that the voltage of the external trigger signal is higher than the adjustable voltage source, the LED will be lit, indicating that the trigger signal is valid. Conversely, if the voltage of the external trigger signal is lower than the adjustable voltage source, the LED will go out, indicating that the trigger signal is invalid.
[0009] Furthermore, the trigger signal circuit includes an external sensor, the external sensor is connected to the input end of the first resistor R394, and the output end of the first resistor R394 is connected to the non-phase input end of the comparator LM393 of the LM393 comparator circuit.
[0010] Furthermore, the LM393 comparator circuit includes a comparator LM393, an inverting input terminal of the comparator LM393 is respectively connected to one end of the second resistor R392 and the third resistor R393, the other end of the second resistor R392 is connected to the ground, the other end of the third resistor R393 is respectively connected to one end of the capacitor C355, the negative pin of the comparator LM393 and the LED load circuit through 3V3A, the other end of the capacitor C355 is connected to the ground, the positive pin of the comparator LM393 is connected to the ground, and the output terminal of the comparator LM393 is connected to the LED load circuit.
[0011] Furthermore, the output end of the comparator LM393 is respectively connected to one end of the fourth resistor R397, the fifth resistor R396 and the sixth resistor R395 of the LED load circuit, the other end of the fifth resistor R396 is connected to the LED load input end, the LED load output end is connected to the ground, and the other end of the sixth resistor R395 is connected to the external trigger signal.
[0012] Furthermore, the first resistor R394, the third resistor R393, the fourth resistor R397, the fifth resistor R396 and the sixth resistor R395 are 1 kΩ, the resistance of the second resistor R392 is 1.5 kΩ, and the capacitor C355 is 0.1 UF.
[0013] Furthermore, the 3V3A is a logic voltage, the capacitor C355 is a ceramic capacitor that can reduce ripple on the power supply, the inverting input of the LM393 comparator is Pin2, and the non-inverting input is Pin3.
[0014] This utility model has the following beneficial effects:
[0015] (1) By using the LM393 comparator to set the voltage trigger threshold, the comparator will trigger the output only when the voltage of the external trigger signal exceeds this threshold, effectively eliminating the influence of interference signals on the printer trigger control, improving the stability and reliability of the system, and solving the false triggering problem in the printer peripheral trigger control;
[0016] (2) The LED load circuit is used to display the output state of the comparator. When the comparator detects that the voltage of the external trigger signal is higher than the adjustable voltage source, the LED will light up, indicating that the trigger signal is valid. Conversely, if the voltage of the external trigger signal is lower than the adjustable voltage source, the LED will go out, indicating that the trigger signal is invalid. The output state of the comparator can be intuitively displayed through the state change of the LED.
[0017] (3) The external trigger signal is received through the external trigger signal circuit and passed to the comparator circuit for processing. The validity of the trigger signal is then judged through the LM393 comparator, and the state of the LED load is controlled to avoid the influence of interference signals on the system and improve the working stability and reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a structural block diagram of a comparator control output circuit of the utility model;
[0019] Figure 2 The utility model is a circuit structure diagram of a comparator control output circuit. DETAILED DESCRIPTION
[0020] like Figure 1-Figure 2 As shown, the utility model is a comparator control output circuit, including an external trigger signal circuit, an LM393 comparator circuit and an LED load circuit.
[0021] The external trigger signal circuit receives an external trigger signal and transmits it to the comparator circuit for processing. The external trigger signal may be a signal from other devices or sensors.
[0022] The LM393 comparator circuit uses the LM393 comparator chip as the core component. The comparator has two input terminals, a positive input terminal and a negative input terminal, and can compare the magnitudes of two input voltages and generate corresponding output signals. In this case, the positive input terminal will be connected to an external trigger signal circuit, and the negative input terminal will be connected to an adjustable voltage source;
[0023] The LED load circuit is used to display the output state of the comparator. When the comparator detects that the voltage of the external trigger signal is higher than the adjustable voltage source, the LED will be lit, indicating that the trigger signal is valid. Conversely, if the voltage of the external trigger signal is lower than the adjustable voltage source, the LED will go out, indicating that the trigger signal is invalid.
[0024] The comparator control output circuit can prevent false triggering in an interference environment. By using a comparator to set the voltage trigger threshold, the output will be triggered only when the voltage of the external trigger signal exceeds this threshold, effectively eliminating the influence of interference signals on the printer trigger control and improving the stability and reliability of the system.
[0025] Furthermore, the trigger signal circuit includes an external sensor, the external sensor is connected to the input end of the first resistor R394, and the output end of the first resistor R394 is connected to the non-phase input end of the comparator LM393 of the LM393 comparator circuit.
[0026] The signal of the external sensor is introduced into the trigger signal circuit, and the signal is transmitted to the LM393 comparator circuit for processing through the first resistor R394. Since the LM393 comparator has two input terminals, one of which is a positive input terminal and the other is a negative input terminal, the positive input terminal receives the signal from the first resistor R394, and the negative input terminal is connected to an adjustable voltage source;
[0027] When the external sensor detects a certain condition or event, it will generate a corresponding signal. After passing through the first resistor R394, this signal is transmitted to the positive input terminal of the LM393 comparator. The comparator will determine the validity of the trigger signal based on the voltage difference between the positive input terminal and the negative input terminal.
[0028] The printer operation is triggered when the external sensor detects a specific condition. The comparator can determine whether the trigger condition is met based on the external sensor signal and the set threshold, thereby controlling the working state of the printer, improving the sensitivity and reliability of the system, and avoiding false triggering or missed triggering.
[0029] Furthermore, the LM393 comparator circuit includes a comparator LM393, an inverting input terminal of the comparator LM393 is respectively connected to one end of the second resistor R392 and the third resistor R393, the other end of the second resistor R392 is connected to the ground, the other end of the third resistor R393 is respectively connected to one end of the capacitor C355, the negative pin of the comparator LM393 and the LED load circuit through 3V3A, the other end of the capacitor C355 is connected to the ground, the positive pin of the comparator LM393 is connected to the ground, and the output terminal of the comparator LM393 is connected to the LED load circuit.
[0030] The LM393 comparator circuit can receive input signals and perform comparison processing, and then control the state of the LED load through the output end. It can monitor and control the external trigger signal and control the on and off state of the LED load through the output signal of the comparator.
[0031] Furthermore, the output end of the comparator LM393 is respectively connected to one end of the fourth resistor R397, the fifth resistor R396 and the sixth resistor R395 of the LED load circuit, the other end of the fifth resistor R396 is connected to the LED load input end, the LED load output end is connected to the ground, and the other end of the sixth resistor R395 is connected to the external trigger signal.
[0032] The output signal of the LM393 comparator is transmitted to the LED load circuit for control and display. The output signal of the comparator is connected through the fourth resistor R397, the fifth resistor R396 and the sixth resistor R395, and then transmitted to the LED load circuit respectively;
[0033] The output signal of the comparator enters the LED load circuit through the fourth resistor R397, and then passes through the fifth resistor R396, one end of which is connected to the input end of the LED load, so that when the comparator outputs a high level, the LED load will be activated, that is, it will light up; and when the comparator outputs a low level, the LED load will be turned off, that is, it will go out; in addition, one end of the sixth resistor R395 is connected to the output end of the comparator, and the other end is connected to the external trigger signal. The purpose of this is to pass the output signal of the comparator as a trigger signal to other devices or circuits to achieve further control or feedback.
[0034] The on / off state of the LED load is controlled according to the output signal state of the comparator LM393, and the output signal of the comparator is passed to other components as a trigger signal. This can conveniently display the working state of the comparator and realize effective control and monitoring of the peripheral trigger control of the printer.
[0035] Furthermore, the first resistor R394, the third resistor R393, the fourth resistor R397, the fifth resistor R396 and the sixth resistor R395 are 1 kΩ, the resistance of the second resistor R392 is 1.5 kΩ, and the capacitor C355 is 0.1 UF.
[0036] Furthermore, the 3V3A is a logic voltage, the capacitor C355 is a ceramic capacitor that can reduce ripple on the power supply, the inverting input of the LM393 comparator is Pin2, and the non-inverting input is Pin3.
[0037] Working principle:
[0038] Pin 2 of the comparator is connected to the ground through the second resistor R392 and the third resistor R393 to form a voltage divider circuit. The calculation formula of the reference voltage is 3.3V*R392 / (R392+R393). This setting can divide the 3.3V power supply voltage into a reference voltage for setting the threshold of the comparator;
[0039] Input signal processing, the data signal enters Pin3 of the comparator through capacitor C355 and the third resistor R393. When the input signal rises and is higher than the reference voltage, the comparator will output Pin1 as a high level (3.3V), indicating that a valid trigger signal is detected. Conversely, when the input signal falls and is lower than the reference voltage, the comparator will output Pin1 as a low level, indicating that the trigger signal is invalid;
[0040] LED load control, Pin1 of the comparator is connected to the LED load circuit through the fifth resistor R396 and the fourth resistor R397. When the output of the comparator is high, that is, the output of Pin1 is 3.3V, the LED signal light in the LED load circuit lights up. The calculation formula of the LED load current is Iled = (3.3V-Uled) / (R396+R397), where Uled is the operating voltage of the LED;
[0041] The LM393 comparator can determine the trigger condition based on the relationship between the input signal and the reference voltage, and output the corresponding control signal to the LED load circuit, thereby turning the LED signal light on or off, and more conveniently displaying the working status of the comparator and the validity of the external trigger signal.
Claims
1. A comparator control output circuit, characterized in that: Including external trigger signal circuit, LM393 comparator circuit and LED load circuit, The external trigger signal circuit receives an external trigger signal and transmits it to the comparator circuit for processing, wherein the external trigger signal is a signal from a sensor; The LM393 comparator circuit uses the LM393 comparator chip as the core component. The comparator has two input terminals, a positive input terminal and a negative input terminal, and can compare the magnitudes of two input voltages and generate corresponding output signals. In this case, the positive input terminal will be connected to an external trigger signal circuit, and the negative input terminal will be connected to an adjustable voltage source; The LED load circuit is used to display the output state of the comparator. When the comparator detects that the voltage of the external trigger signal is higher than the adjustable voltage source, the LED will be lit, indicating that the trigger signal is valid. Conversely, if the voltage of the external trigger signal is lower than the adjustable voltage source, the LED will go out, indicating that the trigger signal is invalid.
2. A comparator control output circuit according to claim 1, characterized in that: The trigger signal circuit includes an external sensor, which is connected to the input end of the first resistor R394, and the output end of the first resistor R394 is connected to the non-phase input end of the comparator LM393 of the LM393 comparator circuit.
3. A comparator control output circuit according to claim 2, characterized in that: The LM393 comparator circuit includes a comparator LM393, an inverting input terminal of the comparator LM393 is respectively connected to one end of a second resistor R392 and a third resistor R393, the other end of the second resistor R392 is connected to the ground, the other end of the third resistor R393 is respectively connected to one end of a capacitor C355, a negative pin of the comparator LM393 and an LED load circuit through 3V3A, the other end of the capacitor C355 is connected to the ground, the positive pin of the comparator LM393 is connected to the ground, and the output terminal of the comparator LM393 is connected to the LED load circuit.
4. A comparator control output circuit according to claim 3, characterized in that: The output end of the comparator LM393 is respectively connected to one end of the fourth resistor R397, the fifth resistor R396 and the sixth resistor R395 of the LED load circuit, the other end of the fifth resistor R396 is connected to the LED load input end, the LED load output end is connected to the ground, and the other end of the sixth resistor R395 is connected to the external trigger signal.
5. A comparator control output circuit according to claim 4, characterized in that: The first resistor R394, the third resistor R393, the fourth resistor R397, the fifth resistor R396 and the sixth resistor R395 are 1 kΩ, the resistance of the second resistor R392 is 1.5 kΩ, and the capacitor C355 is 0.1 UF.
6. A comparator control output circuit according to claim 3, characterized in that: The 3V3A is a logic voltage, the capacitor C355 is a ceramic capacitor that can reduce the ripple on the power supply, the inverting input of the LM393 comparator is Pin2, and the non-inverting input is Pin3.
