Protection device for solenoid, solenoid assembly, electronic device and control method

By designing a solenoid protection device including a switching unit and a control unit, detecting and responding to the increase in the solenoid temperature, the service life and safety hazards of the solenoid due to excessive temperature are solved, and effective power outage protection is achieved.

CN119993677APending Publication Date: 2025-05-13HANNTO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510249822.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

After a long period of power-on, the internal resistance generates heat, resulting in excessive temperature, reducing service life and posing safety hazards.

Method used

A protection device for a solenoid is designed, including a switching unit and a control unit. By detecting the output voltage of the switching unit, when the output voltage is less than the preset voltage value, the switching unit is controlled to disconnect the power supply of the solenoid.

Benefits of technology

Effectively prevent the solenoid temperature from being too high, extend the service life, and reduce safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119993677A_ABST
    Figure CN119993677A_ABST
Patent Text Reader

Abstract

The invention discloses a solenoid protection device, a solenoid assembly, electronic equipment and a control method. The protection device comprises a switch unit and a control unit, the switch unit comprises an input end, an output end and a control end; the input end of the switch unit is used for being connected with the solenoid, and the output end and the control end of the switch unit are connected with the control unit. The control unit is used for controlling the switch unit to be switched on so as to switch on a branch circuit where the solenoid is located, and controlling the switch unit to be switched off so as to switch off the branch circuit where the solenoid is located under the condition that the output voltage of the switch unit is smaller than a first voltage value after the branch circuit is switched on; wherein the output voltage of the switch unit is inversely correlated with the temperature of the solenoid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of solenoids, and in particular to a solenoid protection device, a solenoid assembly, an electronic device, and a control method. Background Art

[0002] Solenoids are used in many applications to generate magnetic fields for mechanical movement or control. When a solenoid is powered for a long time, its coil will generate heat due to internal resistance. Excessive temperature will not only reduce the service life of the solenoid, but may also cause damage to the solenoid and even cause safety hazards. Therefore, it is necessary to design a solenoid protection device to protect the solenoid when the solenoid temperature is too high. Summary of the invention

[0003] In a first aspect, an embodiment of the present application provides a solenoid protection device, the protection device comprising: a switch unit and a control unit; the switch unit comprises an input end, an output end and a control end; the input end of the switch unit is used to connect the solenoid, and the output end and the control end of the switch unit are respectively connected to the control unit; the control unit is used to control the switch unit to be turned on to turn on the branch where the solenoid is located, and after the branch is turned on, when the output voltage of the switch unit is less than a first voltage value, control the switch unit to be turned off to disconnect the branch where the solenoid is located; wherein the output voltage of the switch unit is inversely correlated with the temperature of the solenoid.

[0004] In some embodiments, the protection device further includes an amplifying unit connected between the output end of the switch unit and the control unit.

[0005] In some embodiments, the amplification unit includes an operational amplifier, an input resistor and a feedback resistor; the input resistor is connected between the inverting input terminal of the operational amplifier and ground, and the feedback resistor is connected between the inverting input terminal of the operational amplifier and the output terminal of the operational amplifier.

[0006] In some embodiments, the protection device further includes: an alarm unit connected to the control unit; the control unit controls the alarm unit to output alarm information when the output voltage of the switch unit is less than a first voltage value.

[0007] In some embodiments, the switch unit includes an NPN transistor, the input end of the switch unit is the collector of the NPN transistor, the output end of the switch unit is the emitter of the NPN transistor, and the control end of the switch unit is the base of the NPN transistor.

[0008] In some embodiments, the switch unit includes an NMOS tube, the input end of the switch unit is the drain of the NMOS tube, the output end of the switch unit is the source of the NMOS tube, and the control end of the switch unit is the gate of the NMOS tube.

[0009] In some embodiments, the protection device further includes: a backflow protection unit connected in parallel with the solenoid, for preventing the current on the solenoid from backflowing after the switch unit is disconnected.

[0010] In some embodiments, the control unit is further configured to: after controlling the switch unit to be turned off, re-control the switch unit to be turned on.

[0011] In some embodiments, the control unit controls the switch unit to turn on again when a control operation of the user is detected.

[0012] In some embodiments, the control unit controls the switch unit to be turned on again when the time duration for controlling the switch unit to be turned off reaches a first preset time duration.

[0013] In some embodiments, the solenoid is applied to an electronic device; if the electronic device has an unfinished task, the control unit re-controls the switch unit to turn on when the time duration for controlling the switch unit to turn off reaches a first preset time duration; the task is executed when the branch where the solenoid is located is turned on.

[0014] In some embodiments, the control unit is also used to: control the switch unit to turn on and start timing, and when the timing reaches a second preset time, control the switch unit to turn off; during the timing, re-detect the output voltage of the switch unit; if the re-detected output voltage is greater than or equal to the first voltage value, re-control the switch unit to turn on.

[0015] In some embodiments, the solenoid is applied to an electronic device; the control unit is used to: determine whether the electronic device is executing a task when the output voltage of the switch unit is less than a first voltage value; the task is executed when the branch where the solenoid is located is turned on; if so, after the task is completed, control the switch unit to disconnect.

[0016] In some embodiments, the control unit is used to: when the output voltage of the switch unit is less than a second voltage value and greater than or equal to the first voltage value, output a prompt message to prompt the user to disconnect the branch where the solenoid is located; if a confirmation instruction for the prompt message is received, control the switch unit to disconnect to disconnect the branch where the solenoid is located; otherwise, when the output voltage of the switch unit is less than the first voltage value, control the switch unit to disconnect to disconnect the branch where the solenoid is located; wherein the second voltage value is greater than the first voltage value.

[0017] In a second aspect, an embodiment of the present application provides a solenoid assembly, comprising: a solenoid; and the protection device described in the first aspect.

[0018] In a third aspect, an embodiment of the present application provides an electronic device, comprising: the solenoid assembly described in the second aspect; and a moving part driven by the solenoid assembly.

[0019] In some embodiments, the electronic device is a printer, a cutting machine, or an all-in-one printer and cutter.

[0020] In a fourth aspect, an embodiment of the present application provides a control method, which is applied to the control unit in the protection device described in the first aspect; the method includes: controlling the switch unit to be turned on to turn on the branch where the solenoid is located; after the branch is turned on, when the output voltage of the switch unit is less than a first voltage value, controlling the switch unit to be turned off to disconnect the branch where the solenoid is located.

[0021] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the method described in the fourth aspect when executed by a processor.

[0022] In an embodiment of the present application, a solenoid protection device is designed based on a switch unit and a control unit, wherein the input end of the switch unit is used to connect the solenoid, and the output end and the control end of the switch unit are respectively connected to the control unit. After the control unit controls the switch unit to be turned on, the branch where the solenoid is located is turned on, and the solenoid works normally. As the working time increases, the temperature of the solenoid will gradually increase, thereby causing the internal resistance of the solenoid to increase, and then causing the output voltage of the switch unit to gradually decrease. The control unit can detect the output voltage of the switch unit after the branch where the solenoid is located is turned on. If the detected output voltage is less than the first voltage value, the switch unit is controlled to be disconnected, thereby disconnecting the branch where the solenoid is located. In the above manner, the solenoid can be powered off when the temperature of the solenoid is too high, thereby increasing the service life of the solenoid and reducing safety hazards.

[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings herein are incorporated into the specification and constitute a part of the present application. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solutions of the present application.

[0025] Figure 1 It is a schematic diagram of the structure of the solenoid protection device of the embodiment of the present application.

[0026] Figure 2 4 is a circuit diagram of a solenoid protection device according to an embodiment of the present application.

[0027] Figure 3 It is a schematic structural diagram of the solenoid assembly of an embodiment of the present application.

[0028] Figure 4 It is a schematic diagram of an electronic device according to an embodiment of the present application.

[0029] Figure 5 It is a flow chart of the control method of an embodiment of the present application. DETAILED DESCRIPTION

[0030] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0031] The terms used in this application are only for the purpose of describing specific embodiments, and are not intended to limit the application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a variety of.

[0032] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0033] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.

[0034] In the related art, the solenoid is usually controlled by an open-loop control method, that is, the working state of the solenoid is completely controlled by the received switch control command. However, when the solenoid is powered for a long time, its coil will generate heat due to internal resistance. Excessive temperature will not only reduce the service life of the solenoid, but may also cause damage to the solenoid and even cause safety hazards.

[0035] Based on this, the present application designs a solenoid protection device 200, which uses a closed-loop control method to protect the solenoid. Figure 1 , the protection device 200 comprises:

[0036] The switch unit 101 and the control unit 102; the switch unit 101 includes an input terminal, an output terminal and a control terminal;

[0037] The input end of the switch unit 101 is used to connect to the solenoid L, and the output end and the control end of the switch unit 101 are respectively connected to the control unit 102;

[0038] The control unit 102 is used to control the switch unit 101 to be turned on so as to turn on the branch R where the solenoid L is located, and after the branch R where the solenoid L is located is turned on, when the output voltage of the switch unit 101 is less than the first voltage value, the switch unit 101 is controlled to be turned off so as to disconnect the branch R where the solenoid L is located; wherein the output voltage of the switch unit 101 is inversely correlated with the temperature of the solenoid L.

[0039] The control unit 102 of the embodiment of the present application can control the switch unit 101 to be turned on, so as to turn on the branch R where the solenoid L is located, so that the solenoid L can work normally. In addition, the control unit 102 can also control the switch unit 101 to be turned off when the output voltage of the switch unit 101 is less than the first voltage value, so as to disconnect the branch R where the solenoid L is located. Since the output voltage of the switch unit 101 is inversely correlated with the temperature of the solenoid L, the above-mentioned means can cut off the power supply to protect the solenoid L when the temperature of the solenoid L is too high, thereby increasing the service life of the solenoid L and reducing safety hazards. The implementation details of the embodiment of the present application are illustrated below.

[0040] The switch unit 101 of the embodiment of the present application is used to realize the switch function. The switch unit 101 includes two states: on and off. When the switch unit 101 is in the on state, the switch unit 101 can conduct the branch R where the solenoid L is located; when the switch unit 101 is in the off state, the switch unit 101 can disconnect the branch R where the solenoid L is located. Among them, the branch R where the solenoid L is located includes the power supply branch where the solenoid L is located, that is, the branch where the power supply VCC supplies power to the solenoid L.

[0041] The switch unit 101 can be implemented based on components such as transistors, relays, mechanical switches, and electric switches. Figure 2 The embodiment of the switch unit 101 is illustrated by taking the implementation of the switch unit 101 based on transistors as an example.

[0042] like Figure 2 As shown, the switch unit 101 includes a transistor Q1. The transistor Q1 is an NPN transistor, the input end of the switch unit 101 is the collector c of the NPN transistor, the output end of the switch unit 101 is the emitter e of the NPN transistor, and the control end of the switch unit 101 is the base b of the NPN transistor. In some embodiments, the base b of the NPN transistor is grounded through a resistor R3, the emitter e is grounded through a resistor R4, and the base b is connected to the control unit 102 through a resistor R5.

[0043] The control unit 102 can output a high-level control signal to the base b of the NPN transistor to turn on the NPN transistor, thereby turning on the branch R where the solenoid L is located. After the branch R where the solenoid L is located is turned on, the control unit 102 can detect the output voltage of the emitter e of the NPN transistor. As the working time of the solenoid L increases, the internal resistance of the solenoid L gradually increases, so that the current flowing through the solenoid L decreases, thereby reducing the output voltage of the emitter e of the NPN transistor. When the output voltage of the emitter e of the NPN transistor is less than the first voltage value, it can be inferred that the temperature of the solenoid L is too high, so that the control unit 102 can stop outputting a high-level control signal to the base b of the NPN transistor to disconnect the NPN transistor, thereby disconnecting the branch R where the solenoid L is located. In the above manner, the protection of the solenoid L is achieved.

[0044] In other embodiments, the NPN transistor may be replaced by a MOS transistor. The MOS transistor is an NMOS transistor, the input end of the switch unit 101 is the drain D of the NMOS transistor, the output end of the switch unit 101 is the source S of the NMOS transistor, and the control end of the switch unit 101 is the gate G of the NMOS transistor. In some embodiments, the gate G of the NMOS transistor is grounded through a resistor R3, the source S is grounded through a resistor R4, and the gate G is connected to the control unit 102 through a resistor R5.

[0045] The control unit 102 can output a high-level control signal to the gate G of the NMOS tube to turn on the NMOS tube, thereby turning on the branch R where the solenoid L is located. After the branch R where the solenoid L is located is turned on, the control unit 102 can detect the output voltage of the source S of the NMOS tube. As the working time of the solenoid L increases, the internal resistance of the solenoid L gradually increases, so that the current flowing through the solenoid L decreases, thereby reducing the output voltage of the source S of the NMOS tube. When the output voltage of the source S of the NMOS tube is less than the first voltage value, it can be inferred that the temperature of the solenoid L is too high, so that the control unit 102 can stop outputting a high-level control signal to the gate G of the NMOS tube to disconnect the NMOS tube, thereby disconnecting the branch R where the solenoid L is located. In the above manner, the protection of the solenoid L is achieved.

[0046] In addition to triodes and MOS tubes, the switch unit 101 may also be other types of switches, such as an electric switch. The control unit 102 may output a conduction control signal to the switch unit 101 to control the switch unit 101 to be turned on, and may output a disconnection control signal to the switch unit 101 to control the switch unit 101 to be disconnected. The specific type and principle of the switch unit 101 are not described in detail in this application.

[0047] In the above embodiment, the first voltage value can be set by the user. The first voltage value can be an absolute value. For example, the user can set the first voltage value to 5V. When the output voltage of the switch unit 101 is less than 5V, the control unit 102 controls the switch unit 101 to disconnect. Alternatively, the first voltage value can also be a proportional value, which represents the ratio between the voltage when the control unit 102 controls the switch unit 101 to disconnect and the voltage when the control unit 102 controls the switch unit 101 to turn on. For example, the user can set the first voltage value to 20%. When the output voltage of the switch unit 101 is less than 20% of the voltage when the control unit 102 controls the switch unit 101 to turn on, the control unit 102 controls the switch unit 101 to disconnect. In some embodiments, the control unit 102 may include a human-computer interaction component (such as a touch screen or a button), and the user can input the first voltage value through the human-computer interaction component.

[0048] In some embodiments, the solenoid L is applied to an electronic device, and when the branch R where the solenoid L is located is turned on, the electronic device can perform a task. Specifically, the electronic device may include a moving part, and the solenoid L can generate an electromagnetic field when working, and the moving part can move under the action of the electromagnetic field generated by the solenoid L, so that the electronic device performs a task. For example, the electronic device may be a printer, a cutting machine, or a printing and cutting machine. The moving part may include a print head of a printer and / or a cutter head of a cutting machine. The solenoid L can drive the print head of the printer to move to perform a printing task, or drive the cutter head of the cutting machine to move to perform a cutting task. In order to maintain the integrity of the task, the control unit 102 can determine whether the electronic device is performing a task when the output voltage of the switch unit 101 is less than the first voltage value. If so, the control unit 102 can control the switch unit 101 to disconnect after the task is completed. Alternatively, the control unit 102 can also output selection information when the output voltage of the switch unit 101 is less than the first voltage value, so that the user can choose whether to disconnect the switch unit 101 immediately or disconnect the switch unit 101 after the task is completed. If the user chooses to disconnect the switch unit 101 immediately, the control unit 102 can disconnect the switch unit 101 immediately in response to the user's choice; if the user chooses to disconnect the switch unit 101 after the task is completed, the control unit 102 can detect the task status and disconnect the switch unit 101 after the task is completed.

[0049] In some embodiments, the control unit 102 may output a prompt message to prompt the user to disconnect the branch R where the solenoid L is located when the output voltage of the switch unit 101 is less than the second voltage value and greater than or equal to the first voltage value. If a confirmation instruction for the prompt message is received, the switch unit 101 is controlled to disconnect to disconnect the branch R where the solenoid L is located. Otherwise, when the output voltage of the switch unit 101 is less than the first voltage value, the switch unit 101 is controlled to disconnect to disconnect the branch R where the solenoid L is located. Among them, the second voltage value is greater than the first voltage value. The embodiment of the present application sets two voltage gears, the first voltage value and the second voltage value. When the output voltage of the switch unit 101 is less than the second voltage value and greater than or equal to the first voltage value, the temperature of the solenoid L rises, and the user can decide whether to let the solenoid L continue to work. When the output voltage of the switch unit 101 is less than the first voltage value, the temperature of the solenoid L rises further. At this time, the switch unit 101 can be directly controlled to disconnect, and it is no longer selected by the user.

[0050] In some embodiments, see Figure 2 , the protection device 200 further includes an amplifying unit connected between the output end of the switch unit 101 and the control unit 102. The amplifying unit is used to amplify the output voltage of the output end of the switch unit 101, so as to facilitate the control unit 102 to detect and judge with the first voltage value. In the example where the protection device 200 includes the amplifying unit, the output voltage of the switch unit 101 and the preset voltage are both voltages amplified by the amplifying unit, which are recorded as Vout.

[0051] like Figure 2 As shown, the amplification unit includes an operational amplifier U1, an input resistor R1 and a feedback resistor R2, the input resistor R1 is connected between the inverting input terminal of the operational amplifier U1 and the ground, and the feedback resistor R2 is connected between the inverting input terminal of the operational amplifier U1 and the output terminal of the operational amplifier U1. In the above circuit, the operational amplifier U1 is used to amplify the output voltage of the output terminal of the switch unit 101, and the input resistor R1 and the feedback resistor R2 are used to adjust the amplification factor. In some embodiments, the resistor R1 and / or the resistor R2 are variable resistors, so that the user can adjust the amplification factor conveniently.

[0052] In some embodiments, see Figure 2 The protection device 200 further includes a reverse flow protection unit connected in parallel with the solenoid L, which is used to prevent the current on the solenoid L from reversely flowing after the switch unit 101 is disconnected. Figure 2As shown, the backflow protection unit may include a freewheeling diode D1, the anode of which is connected to one end of the switch unit connected to the solenoid L, and the cathode of which is connected to one end of the switch unit not connected to the solenoid L. As an energy storage element, the solenoid L converts electrical energy into magnetic energy for storage, and may generate a reverse electromotive force when the power is off, causing current to flow backward, which may damage the device. By providing a backflow protection unit, the embodiment of the present application can prevent sudden changes in voltage and current in the circuit, provide a power consumption path for the reverse electromotive force, thereby slowly releasing the reverse electromotive force and improving the safety of the device.

[0053] In some embodiments, the protection device 200 also includes an alarm unit connected to the control unit 102. When the output voltage of the switch unit 101 is less than the first voltage value, the control unit 102 can control the alarm unit to output an alarm message. The control unit 102 can control the alarm unit to output an alarm message while controlling the switch unit 101 to disconnect, or can first control the alarm unit to output an alarm message and then control the switch unit 101 to disconnect, or first control the switch unit 101 to disconnect and then control the alarm unit to output an alarm message. The alarm unit can realize an alarm based on sound, vision and / or vibration. Accordingly, the alarm unit may include a speaker, an indicator light and / or a vibration motor.

[0054] In the second implementation, the control unit 102 first controls the alarm unit to output an alarm message and starts timing. When the timing reaches a preset time, the switch unit 101 is controlled to be disconnected. In this way, a certain reaction time can be given to the user before the solenoid L is powered off. Furthermore, while timing, a prompt message can be output to prompt the user that the solenoid L is about to be powered off. If a confirmation power-off indication sent by the user in response to the above prompt message is received, the switch unit 101 is controlled to be disconnected; if a cancellation power-off indication sent by the user in response to the above prompt message is received, the switch unit 101 is maintained in the on state.

[0055] In some embodiments, the protection device 200 further includes a heat dissipation unit, such as a fan. The control unit 102 may control the heat dissipation unit to start working when the output voltage of the switch unit 101 is less than the third voltage value and greater than or equal to the first voltage value, so as to dissipate heat for the solenoid L. The third voltage value is greater than the first voltage value. Optionally, the third voltage value is the voltage when the control unit 102 controls the switch unit 101 to be turned on, that is, the control unit 102 controls the heat dissipation unit to start working when the branch where the solenoid L is located is turned on. After the heat dissipation unit starts working, as the working time of the solenoid L continues to increase, the temperature of the solenoid L may continue to increase, so that the output voltage of the switch unit 101 is reduced from the third voltage value to the first voltage value. The control unit 102 may control the switch unit 101 to be disconnected when the output voltage of the switch unit 101 is less than the first voltage value, thereby disconnecting the branch where the solenoid L is located. By setting the heat dissipation unit, the solenoid L can be dissipated when the solenoid L is working, thereby slowing down the temperature rise of the solenoid L. In this way, before the control unit 102 controls the switch unit 101 to be disconnected, the working time of the solenoid L is increased, thereby preventing the solenoid L from being frequently powered off and affecting the user's experience.

[0056] In some embodiments, the control unit 102 may further control the switch unit 101 to be turned on again after controlling the switch unit 101 to be turned off, so that the solenoid L works again.

[0057] Optionally, the control unit 102 can re-control the switch unit 101 to turn on when the user's control operation is detected. Specifically, the control unit 102 can include an operation control for restarting the solenoid L. The control unit 102 can re-control the switch unit 101 to turn on when the user's control operation on the operation control is detected.

[0058] Optionally, the control unit 102 may control the switch unit 101 to be turned on again when the duration of the switch unit 101 being turned off reaches a first preset duration. After the switch unit 101 is turned off, the temperature of the solenoid L gradually decreases over time. When the duration of the switch unit 101 being turned off reaches the first preset duration, it can be inferred that the temperature of the solenoid L has decreased to a desired level, and therefore, the control unit 102 may control the switch unit 101 to be turned on again.

[0059] Further, when the solenoid L is applied to an electronic device, if the electronic device has an unfinished task, the control unit 102 may control the switch unit 101 to be turned on again when the time duration of the switch unit 101 being turned off reaches a first preset time duration, so that the electronic device continues to perform the unfinished task. If the electronic device does not have an unfinished task, the control unit 102 may not need to control the switch unit 101 to be turned on again.

[0060] In some embodiments, the control unit 102 is further used to control the switch unit 101 to turn on and start timing, and when the timing reaches a second preset time, the switch unit 101 is controlled to turn off. During the timing, the output voltage of the switch unit 101 is re-detected. If the re-detected output voltage is greater than or equal to the first voltage value, the switch unit 101 is controlled to turn on again. In this embodiment, after controlling the switch unit 101 to turn off, the control unit first controls the switch unit 101 to temporarily turn on, and detects the output voltage of the switch unit 101. If the detected voltage is greater than or equal to the first voltage value, it can be inferred that the temperature of the solenoid L has dropped to the desired level, and therefore, the switch unit 101 can be controlled to turn on again to make the solenoid L work again.

[0061] A specific embodiment of the present application is described below. Figure 2 As shown, the switch unit 101 includes an NPN transistor, the control unit 102 includes a central processing unit (CPU), the amplification unit includes an operational amplifier U1, an input resistor R1 and a feedback resistor R2, the reverse current protection unit includes a freewheeling diode, and the protection device 200 also includes a speaker 105. The working principle of the protection device 200 of this embodiment is as follows:

[0062] (1) Voltage detection circuit:

[0063] In the power supply circuit of the solenoid L (i.e. the branch where the solenoid L is located), a current detection resistor R3 is set, which monitors the current value I passing through the solenoid in real time. When working, a voltage will be generated at both ends of the resistor R3, which is detected by the operational amplifier U1 and output to the CPU. The voltage detected by the CPU can be recorded as: Vout = (1 + R2 / R1) * I * R3.

[0064] (2) Relationship between temperature and internal resistance:

[0065] When powered on, the internal resistance of the solenoid L increases as the temperature rises. Usually, the current decreases as a result. When the current changes beyond the preset safety range, it indicates that the temperature of the solenoid may be too high.

[0066] (3) Control circuit:

[0067] The voltage detection circuit is connected to the control circuit CPU. When it is detected that the voltage change exceeds the set range (ie the first voltage value), the control circuit CPU will immediately trigger the transistor Q1 to cut off the power supply of the solenoid L to prevent further temperature rise.

[0068] (4) System feedback mechanism:

[0069] The system can be configured with an alarm mechanism to alert the user through a speaker when the power is cut off. After the temperature returns to normal, the system can automatically or manually restore power to the solenoid.

[0070] The embodiments of the present application have the following advantages:

[0071] Real-time monitoring: It can monitor the working status of solenoid L in real time and respond to temperature changes in time.

[0072] Automatic protection: Automatically cut off power when the temperature is too high to prevent solenoid L from being damaged.

[0073] Improve safety: Reduce safety hazards caused by overheating.

[0074] Extended life: By preventing overheating, the service life of the solenoid L is effectively extended.

[0075] See also Figure 3 The embodiment of the present application further provides a solenoid assembly 100, the solenoid assembly 100 comprising: a solenoid L; and a protection device 200 as described in any of the above embodiments. The protection device 200 in the solenoid assembly is described in detail in the above embodiments, and will not be described again here.

[0076] See also Figure 4 The embodiment of the present application further provides an electronic device 10, which includes: the solenoid assembly 100 described in the above embodiment; and a moving part 20 driven by the solenoid assembly.

[0077] In some embodiments, the electronic device 10 is a printer, a cutting machine, or an all-in-one printer and cutter.

[0078] See also Figure 5 The embodiment of the present application also provides a control method, which is applied to the control unit in the protection device 200 described in any of the above embodiments; the method includes:

[0079] Step S1: controlling the switch unit to be turned on to turn on the branch where the solenoid is located;

[0080] Step S2: After the branch is turned on, when the output voltage of the switch unit is less than a first voltage value, the switch unit is controlled to be turned off to disconnect the branch where the solenoid is located.

[0081] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any of the foregoing embodiments.

[0082] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computer device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0083] Each embodiment in the present application is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment. The device embodiment described above is merely schematic, wherein the modules described as separate components may or may not be physically separated, and the functions of each module can be implemented in the same one or more software and / or hardware when implementing the embodiment scheme of the present application. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the embodiment scheme. Those of ordinary skill in the art can understand and implement it without paying creative work.

[0084] The above is only a specific implementation of the embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the embodiment of the present application. These improvements and modifications should also be regarded as the protection scope of the embodiment of the present application.

Claims

1. A solenoid protection device, characterized in that: The protection device comprises: A switch unit and a control unit; the switch unit comprises an input terminal, an output terminal and a control terminal; The input end of the switch unit is used to connect the solenoid, and the output end and the control end of the switch unit are respectively connected to the control unit; The control unit is used to control the switch unit to be turned on so as to turn on the branch where the solenoid is located, and after the branch is turned on, when the output voltage of the switch unit is less than a first voltage value, control the switch unit to be turned off so as to disconnect the branch where the solenoid is located; wherein the output voltage of the switch unit is inversely correlated with the temperature of the solenoid.

2. The device according to claim 1, characterized in that The protection device further includes an amplifying unit connected between the output end of the switch unit and the control unit.

3. The device according to claim 2, characterized in that The amplification unit includes an operational amplifier, an input resistor and a feedback resistor; The input resistor is connected between the inverting input terminal of the operational amplifier and the ground, and the feedback resistor is connected between the inverting input terminal of the operational amplifier and the output terminal of the operational amplifier.

4. The device according to claim 1, characterized in that The protection device also includes: an alarm unit connected to the control unit; The control unit controls the alarm unit to output alarm information when the output voltage of the switch unit is less than the first voltage value.

5. The device according to claim 1, characterized in that The switch unit comprises an NPN transistor, the input end of the switch unit is the collector of the NPN transistor, the output end of the switch unit is the emitter of the NPN transistor, and the control end of the switch unit is the base of the NPN transistor.

6. The device according to claim 1, characterized in that The switch unit comprises an NMOS tube, the input end of the switch unit is the drain of the NMOS tube, the output end of the switch unit is the source of the NMOS tube, and the control end of the switch unit is the gate of the NMOS tube.

7. The device according to claim 1, characterized in that The protection device also includes: The reverse flow protection unit connected in parallel with the solenoid is used to prevent the current on the solenoid from reversely flowing after the switch unit is disconnected.

8. The device according to claim 1, characterized in that The control unit is also used for: After the switch unit is controlled to be turned off, the switch unit is controlled to be turned on again.

9. The device according to claim 8, characterized in that The control unit controls the switch unit to turn on again when a control operation by the user is detected.

10. The device according to claim 8, characterized in that The control unit controls the switch unit to be turned on again when the time duration for controlling the switch unit to be turned off reaches a first preset time duration.

11. The device according to claim 10, characterized in that The solenoid is applied to an electronic device; if the electronic device has an unfinished task, the control unit controls the switch unit to be turned on again when the time for which the switch unit is controlled to be turned off reaches a first preset time; the task is executed when the branch where the solenoid is located is turned on.

12. The device according to claim 8, characterized in that The control unit is also used for: Controlling the switch unit to turn on and start timing, and when the timing reaches a second preset time, controlling the switch unit to turn off; During the timing period, re-detecting the output voltage of the switch unit; If the re-detected output voltage is greater than or equal to the first voltage value, the switch unit is controlled to be turned on again.

13. The device according to claim 1, characterized in that The solenoid is applied to electronic equipment; the control unit is used for: When the output voltage of the switch unit is less than the first voltage value, determining whether the electronic device is executing a task; the task is executed when the branch where the solenoid is located is turned on; If so, after the task is completed, the switch unit is controlled to be disconnected.

14. The device according to claim 1, characterized in that The control unit is used for: When the output voltage of the switch unit is less than the second voltage value and greater than or equal to the first voltage value, outputting a prompt message to prompt the user to disconnect the branch where the solenoid is located; If a confirmation instruction for the prompt information is received, the switch unit is controlled to be disconnected to disconnect the branch where the solenoid is located; Otherwise, when the output voltage of the switch unit is less than the first voltage value, the switch unit is controlled to be disconnected to disconnect the branch where the solenoid is located; Wherein, the second voltage value is greater than the first voltage value.

15. A solenoid assembly, characterized in that: The solenoid assembly comprises: solenoid; and A protective device as claimed in any one of claims 1 to 14.

16. An electronic device, characterized in that: The electronic device comprises: The solenoid assembly of claim 15; and A moving member driven by the solenoid assembly.

17. The electronic device according to claim 16, characterized in that: The electronic device is a printer, a cutting machine or a printing and cutting all-in-one machine.

18. A control method, characterized in that: A control unit applied to a protection device according to any one of claims 1 to 14; the method comprising: Controlling the switch unit to conduct, so as to conduct the branch where the solenoid is located; After the branch is turned on, when the output voltage of the switch unit is less than a first voltage value, the switch unit is controlled to be turned off to disconnect the branch where the solenoid is located.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 18 is implemented.