Control circuit and device

文档序号:15087 发布日期:2021-09-21 浏览:31次 中文

阅读说明:本技术 控制电路及设备 (Control circuit and device ) 是由 周选光 马春光 赵超全 刘春刚 于 2021-06-23 设计创作,主要内容包括:本发明提供了一种控制电路及设备,包括:指示灯模组、任务执行模组、指示灯驱动电路组、任务驱动电路组和处理器;指示灯模组与指定电源电连接,以通过指定电源为指示灯模组内的电源指示灯提供工作电压;指示灯驱动电路组分别与指示灯模组和第二输出端电连接,指示灯驱动电路组接收到第二输出端发送的异常信号时导通,以通过指定电源为指示灯模组内的异常指示灯提供工作电压;任务驱动电路组分别与任务执行模组和第一输出端电连接,任务驱动电路组接收到第一输出端发送的工作信号时,驱动任务执行模组执行与工作信号对应的目标任务。本发明可以有效降低控制电路的复杂程度,还可以监测打印设备的工作状态,从而有效提高打印效率和切纸的安全性。(The invention provides a control circuit and a device, comprising: the system comprises an indicator lamp module, a task execution module, an indicator lamp driving circuit group, a task driving circuit group and a processor; the indicating lamp module is electrically connected with the appointed power supply so as to provide working voltage for the power indicating lamp in the indicating lamp module through the appointed power supply; the indicating lamp driving circuit group is electrically connected with the indicating lamp module and the second output end respectively, and is conducted when receiving an abnormal signal sent by the second output end so as to provide working voltage for the abnormal indicating lamp in the indicating lamp module through a specified power supply; the task driving circuit group is respectively electrically connected with the task execution module and the first output end, and when the task driving circuit group receives the working signal sent by the first output end, the task execution module is driven to execute the target task corresponding to the working signal. The invention can effectively reduce the complexity of the control circuit and monitor the working state of the printing equipment, thereby effectively improving the printing efficiency and the safety of paper cutting.)

1. A control circuit, comprising: the system comprises an indicator lamp module, a task execution module, an indicator lamp driving circuit group, a task driving circuit group and a processor;

wherein the processor comprises a first output for outputting a working indication signal and a second output for outputting an error indication signal;

the indicating lamp module is electrically connected with a specified power supply so as to provide working voltage for the power supply indicating lamp in the indicating lamp module through the specified power supply;

the indicating lamp driving circuit group is electrically connected with the indicating lamp module and the second output end respectively, and is conducted when receiving an abnormal signal sent by the second output end so as to provide working voltage for the abnormal indicating lamp in the indicating lamp module through the specified power supply;

the task driving circuit group is respectively electrically connected with the task execution module and the first output end, and when receiving the working signal sent by the first output end, the task driving circuit group drives the task execution module to execute the target task corresponding to the working signal.

2. The control circuit of claim 1, wherein the indicator light module further comprises a first pin, and the indicator light driving circuit group further comprises a first resistor, a second resistor, a third resistor, and a transistor;

the first pin is electrically connected with an emitting electrode of the triode, a base electrode of the triode is electrically connected with the second output end through the second resistor, and a collector electrode of the triode is electrically connected with the specified power supply through the first resistor;

the base electrode of the triode is grounded through the second resistor and the third resistor.

3. The control circuit of claim 1, wherein the indicator light module comprises a second pin, and the indicator light driving circuit group comprises a fourth resistor;

wherein the second pin is electrically connected with the specified power supply through the fourth resistor.

4. The control circuit according to claim 1, wherein the indicator lamp module comprises a third pin and a fourth pin, and the task driving circuit group comprises a first task driving sub-circuit and/or a second task driving sub-circuit;

the first task driving sub-circuit is electrically connected with the third pin, and the second task driving sub-circuit is electrically connected with the fourth pin.

5. The control circuit of claim 4, wherein the first task driving sub-circuit comprises a fifth resistor and a first capacitor;

the third pin is electrically connected with the first output end through the fifth resistor; the third pin is also grounded through the fifth resistor and the first capacitor.

6. The control circuit of claim 4, wherein the first task drive sub-circuit group further comprises a sixth resistor;

one end of the sixth resistor is electrically connected with the specified power supply, and the other end of the sixth resistor is electrically connected with the third pin.

7. The control circuit of claim 4, wherein the first task driving sub-circuit further comprises a first diode and a second diode;

the P electrode of the first diode is electrically connected with the third pin, the N electrode of the first diode is electrically connected with the appointed power supply, the N electrode of the second diode is electrically connected with the third pin, and the P electrode of the second diode is grounded.

8. The control circuit of claim 1, wherein the transistor is an NPN transistor.

9. The control circuit of claim 1, wherein the indicator light module further comprises a fifth pin, and wherein the fifth pin is connected to ground.

10. A printing apparatus comprising the control circuit of any one of claims 1 to 9, and a housing disposed outside the control circuit.

Technical Field

The invention relates to the technical field of control, in particular to a control circuit and control equipment.

Background

At present, printing equipment is widely applied to various industries, such as market collection and the like, working states need to be monitored in the printing process, but some existing control circuits are complex, the implementation cost is high, in addition, the working states of the printing equipment cannot be mastered in real time, and certain potential safety hazards may exist particularly when the printing equipment is in paper cutting operation.

Disclosure of Invention

In view of the above, an object of the present invention is to provide a control circuit and a device, which can effectively reduce the complexity of the control circuit and monitor the operating state of the printing device, thereby effectively improving the printing efficiency and the safety of paper cutting.

In a first aspect, an embodiment of the present invention provides a control circuit, including: the system comprises an indicator lamp module, a task execution module, an indicator lamp driving circuit group, a task driving circuit group and a processor; wherein the processor comprises a first output for outputting a working indication signal and a second output for outputting an error indication signal; the indicating lamp module is electrically connected with a specified power supply so as to provide working voltage for the power supply indicating lamp in the indicating lamp module through the specified power supply; the indicating lamp driving circuit group is electrically connected with the indicating lamp module and the second output end respectively, and is conducted when receiving an abnormal signal sent by the second output end so as to provide working voltage for the abnormal indicating lamp in the indicating lamp module through the specified power supply; the task driving circuit group is respectively electrically connected with the task execution module and the first output end, and when receiving the working signal sent by the first output end, the task driving circuit group drives the task execution module to execute the target task corresponding to the working signal.

In one embodiment, the indicator light module further includes a first pin, and the indicator light driving circuit group further includes a first resistor, a second resistor, a third resistor, and a triode; the first pin is electrically connected with an emitting electrode of the triode, a base electrode of the triode is electrically connected with the second output end through the second resistor, and a collector electrode of the triode is electrically connected with the specified power supply through the first resistor; the base electrode of the triode is grounded through the second resistor and the third resistor.

In one embodiment, the indicator lamp module comprises a second pin, and the indicator lamp driving circuit group comprises a fourth resistor; wherein the second pin is electrically connected with the specified power supply through the fourth resistor.

In one embodiment, the indicator light module comprises a third pin and a fourth pin, and the task driving circuit group comprises a first task driving sub-circuit and/or a second task driving sub-circuit; the first task driving sub-circuit is electrically connected with the third pin, and the second task driving sub-circuit is electrically connected with the fourth pin.

In one embodiment, the first task driving sub-circuit includes a fifth resistor and a first capacitor; the third pin is electrically connected with the first output end through the fifth resistor; the third pin is also grounded through the fifth resistor and the first capacitor.

In one embodiment, the first task driving sub-circuit group further includes a sixth resistor; one end of the sixth resistor is electrically connected with the specified power supply, and the other end of the sixth resistor is electrically connected with the third pin.

In one embodiment, the first task driving sub-circuit further comprises a first diode and a second diode; the P electrode of the first diode is electrically connected with the third pin, the N electrode of the first diode is electrically connected with the appointed power supply, the N electrode of the second diode is electrically connected with the third pin, and the P electrode of the second diode is grounded.

In one embodiment, the triode is an NPN transistor.

In one embodiment, the indicator light module further comprises a fifth pin, and the fifth pin is grounded.

In a second aspect, an embodiment of the present invention further provides a printing apparatus, including the control circuit of any one of claims 1 to 9, and a housing disposed outside the control circuit.

The control circuit and the equipment provided by the embodiment of the invention comprise: the indicating lamp module comprises a first output end for outputting a working indicating signal and a second output end for outputting an error indicating signal, the indicating lamp module is electrically connected with a specified power supply to provide working voltage for a power indicator lamp in the indicating lamp module through the specified power supply, the indicating lamp driving circuit group is respectively electrically connected with the indicating lamp module and the second output end, the indicating lamp driving circuit group is conducted when receiving an abnormal signal sent by the second output end to provide working voltage for the abnormal indicating lamp in the indicating lamp module through the specified power supply, the task driving circuit group is respectively electrically connected with the task executing module and the first output end, and when receiving the working signal sent by the first output end, and driving the task execution module to execute a target task corresponding to the working signal. The embodiment of the invention can effectively reduce the complexity of the control circuit and monitor the working state of the printing equipment, thereby effectively improving the printing efficiency and the safety of paper cutting.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

Fig. 1 is a schematic structural diagram of a control circuit according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of another control circuit according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of another control circuit according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of a printing apparatus according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the embodiments, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In the market collection industry, printing equipment plays an important role, printing operations such as paper feeding and paper cutting need to be controlled by a complex control circuit, and the working state is difficult to monitor in real time, so that certain potential safety hazards exist in the printing operations, particularly the paper cutting operations. Based on this, the embodiment of the invention provides a control circuit and a device, which can effectively reduce the complexity of the control circuit and monitor the working state of printing equipment, thereby effectively improving the printing efficiency and the safety of paper cutting.

For the understanding of the present embodiment, a detailed description will be given to a control circuit disclosed in the embodiment of the present invention.

The present invention provides a control circuit, comprising: the system comprises an indicator lamp module, a task execution module, an indicator lamp driving circuit group, a task driving circuit group and a processor; wherein, the processor (CPU) comprises a first output end used for outputting the work indication signal and a second output end used for outputting the error indication signal; the indicating lamp module is electrically connected with the appointed power supply so as to provide working voltage for the power indicating lamp in the indicating lamp module through the appointed power supply; the indicating lamp driving circuit group is electrically connected with the indicating lamp module and the second output end respectively, and is conducted when receiving an abnormal signal sent by the second output end so as to provide working voltage for the abnormal indicating lamp in the indicating lamp module through a specified power supply; the task driving circuit group is respectively electrically connected with the task execution module and the first output end, and when the task driving circuit group receives the working signal sent by the first output end, the task execution module is driven to execute the target task corresponding to the working signal.

For easy understanding, fig. 1 illustrates a schematic structure of a control circuit, as shown in fig. 1, the control circuit includes an indicator light module 110, a task execution module 120, an indicator light driving circuit group 130, and a task driving circuit group 140, wherein the processor includes a first output terminal for outputting a work indication signal and a second output terminal for outputting an error indication signal.

In one embodiment, the indicator light module 110 is electrically connected to a designated power source to provide operating voltage to the power indicator light in the indicator light module through the designated power source, and the power indicator light in the indicator light module 110 is used to indicate whether the power source is normally connected, and since the power indicator light is connected to the designated power source, for example, 3.3V power source, the power indicator light (green light) will be normally on when the power switch is turned on. In addition, the power indicator can be used to detect circuit problems, for example, if the power indicator is not on after power is turned on, the failure may be caused by a specified voltage not being applied to the power indicator, which requires a check of the specified power.

In an embodiment, the indicator light driving circuit set 130 is electrically connected to the indicator light module 110 and the second output end, and the indicator light driving circuit set 130 is turned on when receiving the abnormal signal sent by the second output end, so as to provide the operating voltage for the abnormal indicator light in the indicator light module 110 through the designated power source. For example, when the second output terminal of the CPU outputs the ERROR signal (i.e., the above-mentioned abnormal signal), and the second output terminal is at a high level, the indicator driving circuit group 130 is in a conducting state, so that the voltage of the designated power source can be applied to the abnormal indicator to provide the required voltage for the operation of the abnormal indicator, and the abnormal indicator (red light) may emit light or flash.

In an embodiment, the task driving circuit group 140 is electrically connected to the task execution module 120 and the first output end, respectively, and when the task driving circuit group 140 receives the working signal sent by the first output end, the task execution module 120 is driven to execute the target task corresponding to the working signal. The target tasks may include a paper feeding task, a paper cutting task, a resetting task, and the like, and specifically, the required tasks may be configured based on actual requirements. For example, when a paper feeding task needs to be executed, the corresponding key is controlled to set the working signal corresponding to the second output end to a low level, and the low level is transmitted to the pin corresponding to the CPU, and when the monitoring program detects the low level, the driving task execution module 120 is controlled to execute the corresponding processing subprogram, so as to drive the printer to perform the paper feeding operation.

The control circuit provided by the embodiment of the invention can effectively simplify the complexity of the control circuit, can control the display of the abnormal indicator lamp by utilizing the indicator lamp driving circuit group, and can monitor the working state of the printer, thereby improving the printing working efficiency of the printer and the safety coefficient of paper cutting of the printer.

In one embodiment, the task driving circuit group includes a first task driving sub-circuit and/or a second task driving sub-circuit, and for easy understanding, referring to the schematic structural diagram of another control circuit shown in fig. 2, the task driving circuit group 140 includes a first task driving sub-circuit 1402 and a second task driving sub-circuit 1404, wherein one end of each of the first task driving sub-circuit 1402 and the second task driving sub-circuit is connected to the task execution module 120, and the other end is connected to the processor.

On the basis of fig. 2, the embodiment of the present invention provides a specific structure of a control circuit by taking two task driving sub-circuits as an example, and specifically refers to a structural schematic diagram of a control circuit shown in fig. 3.

Specifically, fig. 3 shows the indicator light module 110, the indicator light driving circuit group 130 and the task driving circuit group 140, wherein the indicator light module includes five pins, which are a second pin, a first pin, a fifth pin, a third pin and a fourth pin from top to bottom, the indicator light driving circuit group 130 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a triode Q, the task driving circuit group 140 includes two task driving sub-circuits, each task driving sub-circuit includes a fifth resistor R5 (a seventh resistor R7), a sixth resistor R6 (an eighth resistor R8), a first diode D1 (a third diode D3), a second diode D2 (a fourth diode D4) and a first capacitor C1 (a second capacitor C2). The transistor Q1 may be an NPN (Negative-Positive-Negative) transistor.

In one embodiment, the indicator light module further includes a first pin, please continue to refer to fig. 3, and the indicator light driving circuit set further includes a first resistor R1, a second resistor R2, a third resistor R3, and a transistor Q; the first pin is electrically connected with an emitting electrode of the triode Q, a base electrode of the triode Q is electrically connected with the second output end through a second resistor R2, and a collector electrode of the triode Q is electrically connected with a designated power supply through a first resistor R1; the base of the transistor Q is also connected to ground via a second resistor R2 and a third resistor R3. Illustratively, a first pin in the indicator light module is connected with an emitter of a triode, a collector of the triode is connected with a designated power supply through a first resistor R1, and meanwhile, a base of the triode is connected with a second output end through a second resistor R2, when the second output end of the CPU outputs an ERROR signal, that is, the second output end is at a high level, at this time, the emitter and the collector of the triode are conducted, so that the voltage of the designated power supply is directly applied to the abnormal indicator light in the indicator light module. In addition, the second output is also grounded via a second resistor R2 in order to function as a protection circuit. In practical application, if the abnormal indicator light is on normally, the triode or the CPU may be burned out, because the first pin of the indicator light module is in a high level state, and at this time, only the collector and the emitter of the triode are turned on.

In order to judge whether the triode is damaged or the CPU is damaged, the power supply needs to be turned off firstly, whether the collector and the emitter of the triode are short-circuited or not is measured, and if the collector and the emitter of the triode are short-circuited, a new triode is replaced and then the test is carried out. After the power supply is specified to provide voltage, whether the base voltage of the triode is always at a high level is measured, if the base voltage of the triode is always at the high level, the damage of a CPU is possible, and if the base voltage of the triode is not always at the high level, the damage of the triode is possible.

In one embodiment, the indicator light module includes a second pin, and in addition, as shown in fig. 3, the indicator light driving circuit group includes a fourth resistor R4; the second pin is electrically connected with a designated power supply through a fourth resistor R4. Illustratively, the second pin of the indicator light module is connected to a designated power source via a fourth resistor R4, which corresponds to a power indicator light, and in addition, if the power indicator light is not on, the reason may be as follows:

(1) the power indicator is damaged or cold-soldered.

(2) The voltage of 3.3V is not applied to the corresponding pin of the indicator light module 110.

(3) The fourth resistor R4 is damaged or cold-soldered.

In order to detect the reason that the power indicator is not on, a well-confirmed indicator is replaced at first, and if the power indicator is not on, the test is continued. The fourth resistor R4 was visually inspected for cold solder problems and the test was continued if cold solder was not present. And measuring whether the voltage (about 1.3V) exists on the second pin of the indicator lamp, if not, continuously measuring whether the voltage (about 3.3V) exists on the other side of the fourth resistor R4, if so, replacing the fourth resistor R4 to continue testing, if not, measuring whether the specified power supply is normal, and if not, determining that the specified power supply has a problem.

In one embodiment, the indicator light module comprises a third pin and a fourth pin, and the task driving circuit group comprises a first task driving sub-circuit and/or a second task driving sub-circuit; the first task driving sub-circuit is electrically connected with the third pin, and the second task driving sub-circuit is electrically connected with the fourth pin. In practical applications, the indicator light module has a plurality of pins, the task driving circuit includes at least one task driving sub-circuit, the plurality of pins of the indicator light module are respectively connected with the task driving sub-circuit, for example, the task driving circuit group includes two task driving sub-circuits, which are respectively a first task driving sub-circuit and a second task driving sub-circuit, and a third pin and a fourth pin of the indicator light module are respectively connected with the first task driving sub-circuit and the second task driving sub-circuit.

To facilitate understanding, the present invention describes task driving sub-circuits, and in one embodiment, the first task driving sub-circuit includes a fifth resistor R5 and a first capacitor C1; the third pin is electrically connected with the first output end through a fifth resistor R5; the third pin is also connected to ground via a fifth resistor R5 and a first capacitor C1. For example, the first task driving sub-circuit is one of the task driving sub-circuits, and includes a fifth resistor R5 and a first capacitor C1, the fifth pin of the indicator light module is connected to the first output terminal, when the CPU receives the KEY1 from the first output terminal, the monitoring program may run the related processing sub-program according to the monitoring result, in practical application, the first task driving sub-circuit further includes a second task driving sub-resistor, which includes a seventh resistor R7 and a second capacitor C2, the fourth pin is connected to the first output terminal through a seventh resistor R7, and the third pin and the fourth pin are grounded through the fifth resistor R5, the first capacitor C1, the seventh resistor R7, and the second capacitor C2, respectively, so as to function as a protection circuit.

In one embodiment, the first task driving sub-circuit group further includes a sixth resistor R6; one end of the sixth resistor R6 is electrically connected with a designated power supply, and the other end of the sixth resistor R6 is electrically connected with the third pin. In practical applications, the second task driving sub-circuit further includes an eighth resistor R8, wherein one end of the eighth resistor R8 is electrically connected to the designated power source, and the other end of the eighth resistor R8 is electrically connected to the fourth pin.

In one embodiment, the first task driving sub-circuit further comprises a first diode and a second diode; the P electrode of the first diode is electrically connected with the third pin, the N electrode of the first diode is electrically connected with the appointed power supply, the N electrode of the second diode is electrically connected with the third pin, and the P electrode of the second diode is grounded. In practical application, the second task driving sub-circuit further comprises a third diode and a fourth diode; the P pole of the third diode is electrically connected with the fourth pin, the N pole of the third diode is electrically connected with the designated power supply, the N pole of the fourth diode is electrically connected with the fourth pin, and the P pole of the fourth diode is grounded.

Fig. 3 further illustrates that the indicator light module further includes a fifth pin, and the fifth pin is grounded.

In summary, the control circuit provided in the embodiments of the present invention can control the voltage indicator and the abnormal indicator through the indicator driving circuit group, so as to show the working state of the circuit to the user, and at the same time, the task driving circuit group is used to execute the task to be processed, and the indicator driving circuit group and the task driving circuit group are matched, so that not only is the complexity of the control circuit simplified, but also the working state can be shown to the user in real time through the indicator, and the paper feeding efficiency and the paper cutting safety are improved.

With regard to the control circuit provided in the foregoing embodiment, an embodiment of the present invention further provides a printing apparatus, and referring to a schematic structural diagram of a printing apparatus shown in fig. 4, the printing apparatus includes the control circuit 100 provided in the foregoing embodiment, and a housing 200 disposed outside the control circuit 100.

The printing equipment provided by the embodiment of the invention can effectively simplify the complexity of the control circuit, and the indicating lamp is controlled by the indicating lamp driving circuit group, so that the working state of the printing equipment is shown to a user, and the printing working efficiency and the printing safety are improved.

It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the printing apparatus described above may refer to the corresponding process in the foregoing embodiment, and is not described herein again.

In the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.

In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种紫外光防伪碳带及其制备方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类