CN116599001A - Protection method and system for stepping motor of printing terminal - Google Patents

Protection method and system for stepping motor of printing terminal Download PDF

Info

Publication number
CN116599001A
CN116599001A CN202310441162.8A CN202310441162A CN116599001A CN 116599001 A CN116599001 A CN 116599001A CN 202310441162 A CN202310441162 A CN 202310441162A CN 116599001 A CN116599001 A CN 116599001A
Authority
CN
China
Prior art keywords
stepping motor
phase
motor
data processing
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310441162.8A
Other languages
Chinese (zh)
Inventor
李晨晨
刘丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Xinye Electronic Technology Co Ltd
Original Assignee
Zhuhai Xinye Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Xinye Electronic Technology Co Ltd filed Critical Zhuhai Xinye Electronic Technology Co Ltd
Priority to CN202310441162.8A priority Critical patent/CN116599001A/en
Publication of CN116599001A publication Critical patent/CN116599001A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/0805Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors for synchronous motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/0833Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors for electric motors with control arrangements
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/085Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against excessive load
    • H02H7/0852Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against excessive load directly responsive to abnormal temperature by using a temperature sensor
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/085Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against excessive load
    • H02H7/0854Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against excessive load responsive to rate of change of current, couple or speed, e.g. anti-kickback protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/60Controlling or determining the temperature of the motor or of the drive
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

The invention discloses a protection method and a system for a stepping motor of a printing terminal, comprising the following steps: acquiring and recording a control waveform of a stepping motor of the printing terminal; detecting four phases of the control waveform to obtain waveforms of A phase and B phase, and obtaining current values of the stepping motor according to the waveforms of the A phase and the B phase; timing the running time of the stepping motor to obtain an running accumulated time length; and acquiring the data processing condition of a data processing module in the printing terminal, judging whether the stepping motor needs to enter a protection state according to the data processing condition, the current value, the running accumulated time length and an empirical formula, and closing the output. The invention is used for solving the technical problems of greatly increasing the cost, reducing the robustness of the system and poor flexibility of the existing detection and avoidance method of the stepping motor, thereby achieving the purposes of detecting various anomalies of the stepping motor and effectively protecting the stepping motor under the condition of basically not increasing the cost.

Description

Protection method and system for stepping motor of printing terminal
Technical Field
The invention relates to the technical field of motor control, in particular to a protection method and system for a stepping motor of a printing terminal.
Background
During the use of the printing terminal, abnormal control may occur, for example: abnormal motor phase control and phase current locked rotation can cause burning out of the stepping motor caused by excessive temperature rise.
In addition, in the use process of the printing terminal, accidents can occur due to the fact that the working time of the stepping motor is too long, the heating value is large, and the plastic shell is burnt.
Aiming at the abnormal situation of the stepping motor, the conventional processing scheme adopts a complex hardware circuit design method, comprising the following steps: the speed judging circuit (such as the one-shot CD 4538) is added, and the hardware schemes of the overcurrent and overtemperature detecting circuit (such as the voltage comparator LM 393) are added, so that the abnormality of the stepping motor is detected and avoided.
However, the hardware scheme has the following problems in practical application:
(1) As a plurality of components are added, the cost is directly increased;
(2) The hardware devices are added, so that the system design becomes more complex, and the system robustness is reduced;
(3) The hardware scheme has poor flexibility, one hardware can only detect and avoid one fault, if a new fault type occurs, the design of the circuit needs to be updated, and remote updating cannot be performed.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a protection method and a system for a stepping motor of a printing terminal, which are used for solving the technical problems of greatly increasing cost, reducing system robustness and poor flexibility of the existing detection and avoidance method of the stepping motor, so that the purposes of detecting various anomalies of the stepping motor and effectively protecting the stepping motor under the condition of basically not increasing the cost are achieved.
In order to solve the problems, the technical scheme adopted by the invention is as follows:
a protection method of a stepping motor of a printing terminal comprises the following steps:
acquiring and recording a control waveform of the stepping motor of the printing terminal;
detecting four phases of the control waveform to obtain waveforms of A phase and B phase, and obtaining a current value of the stepping motor according to the waveforms of the A phase and the B phase;
timing the operation time of the stepping motor to obtain an operation accumulated time length;
and acquiring the data processing condition of a data processing module in the printing terminal, and judging whether the stepping motor needs to enter a protection state or not according to the data processing condition, the current value, the running accumulated time length and an empirical formula, and closing output.
As a preferred embodiment of the present invention, when acquiring a data processing situation of a data processing module in the print terminal, the method includes:
in a timer processing program, continuously acquiring the state of a data receiving buffer, and setting a data empty mark if the state of the data receiving buffer is empty;
and if the state of the data receiving buffer is non-empty, resetting the data empty mark in a timer interrupt processing program.
As a preferred embodiment of the present invention, when acquiring the data processing situation of the data processing module in the print terminal, the method further includes:
and acquiring the duration of the data receiving buffer setting data null mark, and if the duration exceeds the null mark duration threshold, considering that the data processing is finished.
As a preferred embodiment of the present invention, when determining whether the stepper motor needs to enter a protection state according to the data processing situation and in combination with the running accumulated time length, the method includes:
if the data processing is finished, but the control waveform of the stepping motor still has output, when the running accumulated time length reaches the accumulated time length threshold value, the stepping motor is in a protection state, and the output is closed.
In a preferred embodiment of the present invention, when the stepping motor is put into a protection state and the output is turned off, the step motor includes:
resetting the state of the stepping motor, setting the phase control pin of the stepping motor to be in a high-resistance state, and outputting the phase control pin.
As a preferred embodiment of the present invention, when determining whether the stepper motor needs to enter a protection state according to the data processing situation in combination with an empirical formula, the method includes:
if the data is not processed, but the step motor is judged to be overheated according to an empirical formula, data receiving is paused, so that the step motor enters a protection state, and output is closed.
As a preferred embodiment of the present invention, when it is determined that there is overheating of the stepper motor according to an empirical formula, the method includes:
setting a motor running state mark, wherein the motor running state mark is True when the stepping motor is in a running state, and is False when the stepping motor is in a stop state;
collecting the motor running state mark according to a preset interval time, and counting the times that the motor running state mark is True in a preset time period;
if the number of times that the motor running state mark is True is larger than the experience threshold value, the running time of the stepping motor is considered to be too long, and overheat exists.
As a preferred embodiment of the present invention, when determining whether the stepper motor needs to enter a protection state according to the data processing situation in combination with the current value, the method includes:
and when the current value exceeds a preset current limit value and the duration time is greater than a duration time threshold value no matter whether the data is processed or not, enabling the stepping motor to enter a protection state and closing the output.
As a preferred embodiment of the present invention, when obtaining the current value of the stepping motor from the waveforms of the a phase and the B phase, the method includes:
obtaining a period Ta and a high-level duration Taon of the phase A according to the waveform of the phase A;
obtaining a period Tb and a high-level duration Tbon of the B phase according to the waveform of the B phase;
according to the voltage set value of the driving IC and the resistance value of the current limiting resistor, the current of the driving IC is obtained, specifically as shown in a formula 1:
Ichop=200mV/Rs (1);
wherein, ichop is the current of the drive IC, 200mV is the voltage set value of the drive IC, rs is the resistance value of the current limiting resistor;
according to the period Ta and the high-level duration Taon of the A phase, the current value of the A phase is obtained, and the current value is specifically shown as a formula 2:
Ia=(200mV/Rs)*(Taon/Ta) (2);
according to the period Ta and the high-level duration Taon of the B phase, the current value of the B phase is obtained, specifically as shown in formula 3:
Ib=(200mV/Rs)*(Tbon/Tb) (3);
according to the current value of the A phase and the current value of the B phase, the current value of the stepping motor is specifically shown as formula 4:
I=Ia+Ib (4)。
a print terminal stepper motor protection system comprising:
control waveform acquisition unit: the control waveform is used for acquiring and recording the control waveform of the stepping motor of the printing terminal;
a current value acquisition unit: the method comprises the steps of detecting four phases of the control waveform to obtain waveforms of A phase and B phase, and obtaining current values of the stepping motor according to the waveforms of the A phase and the B phase;
run-time acquisition unit: the method comprises the steps of timing the running time of the stepping motor to obtain running accumulated time length;
motor protection judging unit: and the step motor is used for acquiring the data processing condition of the data processing module in the printing terminal, judging whether the step motor needs to enter a protection state or not according to the data processing condition and the combination of the current value, the running accumulated time length and an empirical formula, and closing output.
Compared with the prior art, the invention has the beneficial effects that:
(1) The protection method provided by the invention can detect the running condition of phase current locked rotor, and effectively avoid the rapid temperature rise of the stepping motor to cause burning;
(2) The protection method provided by the invention can detect that the motor has overlong working time and the risk of overhigh temperature rise, actively let the motor system rest and dissipate heat, thereby effectively protecting the stepping motor;
(3) The protection method provided by the invention can be updated remotely, so that more fault types can be detected by updating in real time according to actual conditions.
The invention is described in further detail below with reference to the drawings and the detailed description.
Drawings
FIG. 1 is a step diagram of a method of protecting a print terminal stepper motor according to an embodiment of the present invention;
FIG. 2-is a logic block diagram of a method of protecting a print terminal stepper motor in accordance with an embodiment of the present invention;
FIG. 3-is a schematic diagram of the input of control signals according to an embodiment of the present invention;
fig. 4-is a waveform diagram of a control signal according to an embodiment of the present invention.
Detailed Description
The method for protecting the stepping motor of the printing terminal provided by the invention, as shown in figure 1, comprises the following steps:
step S1: acquiring and recording a control waveform of a stepping motor of the printing terminal;
step S2: detecting four phases of the control waveform to obtain waveforms of A phase and B phase, and obtaining current values of the stepping motor according to the waveforms of the A phase and the B phase;
step S3: timing the running time of the stepping motor to obtain an running accumulated time length;
step S4: and acquiring the data processing condition of a data processing module in the printing terminal, judging whether the stepping motor needs to enter a protection state according to the data processing condition, the current value, the running accumulated time length and an empirical formula, and closing the output.
Fig. 2 is a logic block diagram of the protection method of the present invention, and it can be seen from fig. 2 that, when the stepper motor starts to operate, the control signal, the operation duration of the stepper motor and the data processing condition of the data processing module are monitored at the same time. And judging whether the data is processed or not by monitoring the data processing condition of the data processing module, judging whether the stepping motor is in an operating state or not at the same time, and determining whether the stepping motor needs to enter a protection state or not by combining the judging results of the data processing module and the data processing condition. When the current value of the stepping motor is estimated by monitoring the control signal and calculating the control signal level, the current value of the stepping motor is used for judging whether the stepping motor needs to enter a protection state or not, the situation of data processing is not needed to be combined, and if the current value is larger than a preset value and the duration time is also larger than the preset value, the stepping motor is considered to need to enter the protection state. And by monitoring the operation time length and the stop operation time length of the stepping motor and combining an empirical formula, judging whether the stepping motor is overheated or not, and if the stepping motor is overheated, the stepping motor is considered to be in a protection state.
In the step S4, when acquiring the data processing condition of the data processing module in the printing terminal, the method includes:
in the timer processing program, continuously acquiring the state of the data receiving buffer, and setting a data empty mark if the state of the data receiving buffer is empty;
if the state of the data receiving buffer is not empty, the data empty flag is cleared in the timer interrupt processing program.
In the step S4, when the data processing condition of the data processing module in the printing terminal is acquired, the method further includes:
and acquiring the duration of the data receiving buffer setting the empty flag, and if the duration exceeds the duration threshold of the empty flag, considering that the data processing is finished.
In the step S4, when determining whether the stepper motor needs to enter the protection state according to the data processing situation and the running accumulated time length, the method includes:
if the data processing is finished, but the control waveform of the stepping motor still has output, when the running accumulated time length reaches the accumulated time length threshold value, the stepping motor is in a protection state, and the output is closed.
Further, when the stepping motor is put into a protection state and the output is turned off, the method includes:
resetting the state of the stepping motor, setting the phase control pin of the stepping motor to be in a high-resistance state, and not outputting.
Specifically, when the accumulated time of the data empty mark exceeds 2s, the data processing is considered to be finished at the moment, and if the phase is output, the danger is high because the temperature of the stepping motor is rapidly increased at the moment, and the shell is burnt. Therefore, the state of the stepping motor needs to be reset, and the phase control pin is set to be in a high-resistance state, so that the stepping motor does not output. This arrangement is used to prevent failure of the stepper motor when the data processing is complete.
In the step S4, when determining whether the stepper motor needs to enter the protection state according to the data processing situation and the empirical formula, the method includes:
if the data is not processed, but the step motor is judged to be overheated according to an empirical formula, data receiving is paused, the step motor is enabled to enter a protection state, and output is closed.
Further, when it is determined that there is overheat of the stepper motor according to the empirical formula, the method includes:
setting a motor running state mark, wherein the motor running state mark is True when the stepping motor is in a running state, and is False when the stepping motor is in a stopping state;
collecting motor running state marks according to preset interval time, and counting the times of the motor running state marks as True in preset time;
if the number of times that the motor running state mark is True is larger than the experience threshold value, the running time of the stepping motor is considered to be too long, and overheat exists.
Specifically, the timer is started to accumulate the running time of the stepper motor, a motor running state mark is set, the running state is True, the stopping state is False, for example, the motor running state mark is collected once every 1 minute (preset interval time), the numbers of True and False are accumulated within 30 minutes (preset duration), if True is greater than 28 (experience threshold), the stepper motor is considered to have overlong running time and overheat, the whole printing terminal needs to be immediately busy, data receiving is stopped, the current data is digested, the motor is stopped for more than 1 minute, heat dissipation is carried out, and the purpose of protecting the motor is achieved. The device is used for preventing the accumulated working time of the stepping motor from exceeding a limit value to cause faults.
In the step S4, when determining whether the stepper motor needs to enter the protection state according to the data processing situation and the current value, the method includes:
and when the current value exceeds a preset current limit value and the duration time is greater than a duration time threshold value, enabling the stepping motor to enter a protection state and closing output no matter whether the data are processed or not.
In the step S2, as shown in fig. 3, the single chip microcomputer inputs 4 control signals to the driver, which are ain+, AIN-, BIN-, respectively. The singlechip starts a timer and continuously collects the values of 2 phase waveforms: ain+ (phase a) and bin+ (phase B), as shown in fig. 4.
In the step S2, when the current value of the stepping motor is obtained from the waveforms of the a phase and the B phase, the step S includes:
obtaining a period Ta and a high-level duration Taon of the phase A according to the waveform of the phase A;
obtaining a period Tb and a high-level duration Tbon of the B phase according to the waveform of the B phase;
according to the voltage set value of the driving IC and the resistance value of the current limiting resistor, the current of the driving IC is obtained, specifically as shown in a formula 1:
Ichop=200mV/Rs (1);
wherein, ichop is the current of the drive IC, 200mV is the voltage set value of the drive IC, rs is the resistance value of the current limiting resistor;
according to the period Ta and the high-level duration Taon of the phase A, the current value of the phase A is obtained, and the current value is specifically shown as a formula 2:
Ia=(200mV/Rs)*(Taon/Ta) (2);
according to the period Ta and the high-level duration Taon of the B phase, the current value of the B phase is obtained, and the current value is specifically shown as a formula 3:
Ib=(200mV/Rs)*(Tbon/Tb) (3);
according to the current value of the A phase and the current value of the B phase, the current value of the stepping motor is specifically shown as a formula 4:
I=Ia+Ib (4)。
specifically, the current limiting resistors are R1 and R2 in fig. 3. The control method comprises the steps of obtaining the current value of the stepping motor, judging whether the current value is larger than a preset current limiting value (the preset current limiting value is 200 mV/Rs), if yes, immediately entering an early warning state, starting a timer, recording the duration, and if the duration is longer than 5 seconds, entering a protection state by the stepping motor. This arrangement is used to prevent overheating faults caused by abnormal phase output of the stepping motor.
The invention provides a protection system of a stepping motor of a printing terminal, which comprises the following components: the control waveform acquisition unit, the current value acquisition unit, the running time acquisition unit and the motor protection judgment unit.
The control waveform acquisition unit is used for acquiring and recording the control waveform of the stepping motor of the printing terminal.
The current value acquisition unit is used for detecting four phases of the control waveform to obtain waveforms of A phase and B phase, and obtaining the current value of the stepping motor according to the waveforms of the A phase and the B phase;
the running time obtaining unit is used for timing the running time of the stepping motor to obtain a running accumulated duration.
The motor protection judging unit is used for acquiring the data processing condition of the data processing module in the printing terminal, judging whether the stepping motor needs to enter a protection state or not according to the data processing condition, the current value, the running accumulated time length and an empirical formula, and closing output.
Compared with the prior art, the invention has the beneficial effects that:
(1) The protection method provided by the invention can detect the running condition of phase current locked rotor, and effectively avoid the rapid temperature rise of the stepping motor to cause burning;
(2) The protection method provided by the invention can detect that the motor has overlong working time and the risk of overhigh temperature rise, actively let the motor system rest and dissipate heat, thereby effectively protecting the stepping motor;
(3) The protection method provided by the invention can be updated remotely, so that more fault types can be detected by updating in real time according to actual conditions.
The above embodiments are only preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, but any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention are intended to be within the scope of the present invention as claimed.

Claims (10)

1. The protection method of the stepping motor of the printing terminal is characterized by comprising the following steps:
acquiring and recording a control waveform of the stepping motor of the printing terminal;
detecting four phases of the control waveform to obtain waveforms of A phase and B phase, and obtaining a current value of the stepping motor according to the waveforms of the A phase and the B phase;
timing the operation time of the stepping motor to obtain an operation accumulated time length;
and acquiring the data processing condition of a data processing module in the printing terminal, and judging whether the stepping motor needs to enter a protection state or not according to the data processing condition, the current value, the running accumulated time length and an empirical formula, and closing output.
2. The method for protecting a stepper motor of a printing terminal according to claim 1, wherein when acquiring the data processing condition of the data processing module in the printing terminal, comprising:
in a timer processing program, continuously acquiring the state of a data receiving buffer, and setting a data empty mark if the state of the data receiving buffer is empty;
and if the state of the data receiving buffer is non-empty, resetting the data empty mark in a timer interrupt processing program.
3. The method for protecting a stepper motor of a printing terminal according to claim 2, further comprising, when acquiring a data processing condition of a data processing module in the printing terminal:
and acquiring the duration of the data receiving buffer setting data null mark, and if the duration exceeds the null mark duration threshold, considering that the data processing is finished.
4. A method for protecting a stepper motor of a print terminal according to any one of claims 1 to 3, wherein when determining whether the stepper motor needs to enter a protecting state according to the data processing condition in combination with the running accumulated time length, the method comprises:
if the data processing is finished, but the control waveform of the stepping motor still has output, when the running accumulated time length reaches the accumulated time length threshold value, the stepping motor is in a protection state, and the output is closed.
5. The method for protecting a stepper motor of a printing terminal according to claim 4, wherein when the stepper motor is put into a protecting state and the output is turned off, comprising:
resetting the state of the stepping motor, setting the phase control pin of the stepping motor to be in a high-resistance state, and outputting the phase control pin.
6. The method for protecting a stepper motor of a print terminal according to claim 1, wherein when determining whether the stepper motor needs to enter a protecting state according to the data processing condition in combination with an empirical formula, comprising:
if the data is not processed, but the step motor is judged to be overheated according to an empirical formula, data receiving is paused, so that the step motor enters a protection state, and output is closed.
7. The method for protecting a stepper motor of a print terminal according to claim 4, wherein when it is determined that there is overheat of the stepper motor according to an empirical formula, comprising:
setting a motor running state mark, wherein the motor running state mark is True when the stepping motor is in a running state, and is False when the stepping motor is in a stop state;
collecting the motor running state mark according to a preset interval time, and counting the times that the motor running state mark is True in a preset time period;
if the number of times that the motor running state mark is True is larger than the experience threshold value, the running time of the stepping motor is considered to be too long, and overheat exists.
8. The method for protecting a stepper motor of a printing terminal according to claim 1, wherein when determining whether the stepper motor needs to enter a protecting state according to the data processing condition in combination with the current value, comprising:
and when the current value exceeds a preset current limit value and the duration time is greater than a duration time threshold value no matter whether the data is processed or not, enabling the stepping motor to enter a protection state and closing the output.
9. The method of protecting a stepping motor of a printing terminal according to claim 1, wherein when obtaining a current value of the stepping motor from waveforms of the a phase and the B phase, comprising:
obtaining a period Ta and a high-level duration Taon of the phase A according to the waveform of the phase A;
obtaining a period Tb and a high-level duration Tbon of the B phase according to the waveform of the B phase;
according to the voltage set value of the driving IC and the resistance value of the current limiting resistor, the current of the driving IC is obtained, specifically as shown in a formula 1:
Ichop=200mVRs(1);
wherein, ichop is the current of the drive IC, 200mV is the voltage set value of the drive IC, rs is the resistance value of the current limiting resistor;
according to the period Ta and the high-level duration Taon of the A phase, the current value of the A phase is obtained, and the current value is specifically shown as a formula 2:
Ia=(200mVRs)*(TaonTa)(2);
according to the period Ta and the high-level duration Taon of the B phase, the current value of the B phase is obtained, specifically as shown in formula 3:
Ib=(200mVRs)*(TbonTb)(3);
according to the current value of the A phase and the current value of the B phase, the current value of the stepping motor is specifically shown as formula 4:
I=Ia+Ib(4)。
10. a print terminal stepper motor protection system, comprising:
control waveform acquisition unit: the control waveform is used for acquiring and recording the control waveform of the stepping motor of the printing terminal;
a current value acquisition unit: the method comprises the steps of detecting four phases of the control waveform to obtain waveforms of A phase and B phase, and obtaining current values of the stepping motor according to the waveforms of the A phase and the B phase;
run-time acquisition unit: the method comprises the steps of timing the running time of the stepping motor to obtain running accumulated time length;
motor protection judging unit: and the step motor is used for acquiring the data processing condition of the data processing module in the printing terminal, judging whether the step motor needs to enter a protection state or not according to the data processing condition and the combination of the current value, the running accumulated time length and an empirical formula, and closing output.
CN202310441162.8A 2023-04-23 2023-04-23 Protection method and system for stepping motor of printing terminal Pending CN116599001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310441162.8A CN116599001A (en) 2023-04-23 2023-04-23 Protection method and system for stepping motor of printing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310441162.8A CN116599001A (en) 2023-04-23 2023-04-23 Protection method and system for stepping motor of printing terminal

Publications (1)

Publication Number Publication Date
CN116599001A true CN116599001A (en) 2023-08-15

Family

ID=87599852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310441162.8A Pending CN116599001A (en) 2023-04-23 2023-04-23 Protection method and system for stepping motor of printing terminal

Country Status (1)

Country Link
CN (1) CN116599001A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4939437A (en) * 1988-06-22 1990-07-03 Siemens Energy & Automation, Inc. Motor controller
CN201282444Y (en) * 2008-09-27 2009-07-29 深圳市华太节能科技有限公司 380V three-phase motor phase control electricity-saving device
CN107482584A (en) * 2017-08-18 2017-12-15 宁波汉浦工具有限公司 A kind of over-current protection method of electric tool
CN111221480A (en) * 2020-01-10 2020-06-02 珠海趣印科技有限公司 Print data processing method and system
CN113290854A (en) * 2021-04-27 2021-08-24 深圳市创必得科技有限公司 Photocuring 3D printing screen-pressing-resistant locked-rotor detection method and device
CN115534545A (en) * 2022-10-11 2022-12-30 珠海趣印科技有限公司 Printing control method of thermal printer based on motor and thermal sensitive sheet
CN115940744A (en) * 2022-10-28 2023-04-07 重庆青山工业有限责任公司 Motor locked-rotor detection method based on vector control

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4939437A (en) * 1988-06-22 1990-07-03 Siemens Energy & Automation, Inc. Motor controller
CN201282444Y (en) * 2008-09-27 2009-07-29 深圳市华太节能科技有限公司 380V three-phase motor phase control electricity-saving device
CN107482584A (en) * 2017-08-18 2017-12-15 宁波汉浦工具有限公司 A kind of over-current protection method of electric tool
CN111221480A (en) * 2020-01-10 2020-06-02 珠海趣印科技有限公司 Print data processing method and system
CN113290854A (en) * 2021-04-27 2021-08-24 深圳市创必得科技有限公司 Photocuring 3D printing screen-pressing-resistant locked-rotor detection method and device
CN115534545A (en) * 2022-10-11 2022-12-30 珠海趣印科技有限公司 Printing control method of thermal printer based on motor and thermal sensitive sheet
CN115940744A (en) * 2022-10-28 2023-04-07 重庆青山工业有限责任公司 Motor locked-rotor detection method based on vector control

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋英华: "基于G4芯片的微型热敏打印机的实现", 电脑知识与技术, no. 13, pages 120 - 121 *

Similar Documents

Publication Publication Date Title
US20040115325A1 (en) "Method for conducting a cooking process with a cooking process probe"
US7622876B2 (en) Overload prevention device for permanent magnet DC motors
US20140190240A1 (en) Method and device for detecting clogging of a filter
JP5576264B2 (en) Charger
US9065275B2 (en) Driving circuit for an electric motor
US8315021B2 (en) Motor detecting and protecting apparatus and its method
CN103064303A (en) Control apparatus for switching device
CN111963298B (en) Electromagnetic clutch water pump fault detection method and device, controller and vehicle
SE521256C2 (en) Method and apparatus for monitoring the functionality of a power consumer
CN101752948B (en) Detection and protection device for motor anomalies and method thereof
JPH0870580A (en) Alarm circuit
CN109149520A (en) A kind of overheat overcurrent protective device, motor and its overheat over-current protection method
CN101173976B (en) Fault detection method of zero-cross triggering circuit
CN111919127B (en) Method for testing a bridge of output stages in a rotating machine
CN116599001A (en) Protection method and system for stepping motor of printing terminal
JP6056631B2 (en) Motor control device and blower motor protection processing management method
CN110874094A (en) Detection device and detection system of soft starter
JPH09284999A (en) Motor-driven fan control system
CN112664310A (en) Fault diagnosis method and system for temperature control module of engine
EP1489509B1 (en) Control system
JP2011038654A (en) Failure diagnosing device
CN114489290A (en) Fan control method, system, equipment and medium
JP2000032650A (en) Load controlling method and its apparatus
JP4958924B2 (en) Glow plug fault diagnosis device
CN110943437A (en) IPM output short circuit protection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination