Power-off processing method of washing machine and washing machine

文档序号:1842313 发布日期:2021-11-16 浏览:26次 中文

阅读说明:本技术 洗衣机的断电处理方法和洗衣机 (Power-off processing method of washing machine and washing machine ) 是由 王召兵 徐雯婷 薛凯 邢福涛 杨文� 于 2021-07-27 设计创作,主要内容包括:本发明属于洗衣机领域,具体涉及一种洗衣机的断电处理方法和洗衣机。本发明旨在解决目前在洗衣机短时间断电时,由于离合器和电机同时动作,导致齿轮噪音或者齿轮断裂的问题。本发明的洗衣机的断电处理方法,包括:电源板基于电流过零点确定洗衣机的外接电源是否断电;若外接电源断电,则电源板向驱动板发送断电信号,并向上位机发送故障信号;驱动板根据断电信号控制电机停止运转;上位机根据故障信号向驱动板发送停止运转指令,其中,停止运转指令用于驱动板控制电机停止运转。通过该方法,在洗衣机短时间断电时,通过驱动板强制停止电机运转,可以避免离合器和电机同时动作,从而进一步避免齿轮噪音或者齿轮断裂的问题。(The invention belongs to the field of washing machines, and particularly relates to a washing machine and a power failure processing method thereof. The invention aims to solve the problem that the gear noise or the gear fracture is caused by the simultaneous action of the clutch and the motor when the washing machine is powered off for a short time at present. The power-off processing method of the washing machine of the invention comprises the following steps: the power panel determines whether an external power supply of the washing machine is powered off or not based on the current zero crossing point; if the external power supply is powered off, the power panel sends a power-off signal to the drive board and sends a fault signal to the upper computer; the driving plate controls the motor to stop running according to the power-off signal; and the upper computer sends a stop instruction to the drive plate according to the fault signal, wherein the stop instruction is used for controlling the motor to stop running by the drive plate. By the method, when the washing machine is powered off for a short time, the motor is forcibly stopped by the driving plate, so that the clutch and the motor can be prevented from acting simultaneously, and the problem of gear noise or gear fracture is further avoided.)

1. The power failure processing method of the washing machine is characterized by being applied to the washing machine, wherein the washing machine comprises an upper computer, a power panel, a driving plate and a motor, and the method comprises the following steps:

the power panel determines whether an external power supply of the washing machine is powered off or not based on a current zero crossing point;

if the external power supply is powered off, the power panel sends a power-off signal to the drive board and sends a fault signal to the upper computer, wherein the power-off signal is used for indicating the power-off of the external power supply, and the fault signal is used for prompting the power-off of the external power supply to the upper computer;

the driving plate controls the motor to stop running according to the power-off signal;

and the upper computer sends a stop instruction to the drive plate according to the fault signal, wherein the stop instruction is used for controlling the motor to stop running by the drive plate.

2. The method of claim 1, wherein the power strip determining whether an external power supply of the washing machine is powered off based on a zero-crossing current, comprises:

the power panel detects the current zero crossing point based on an optocoupler circuit;

if the optical coupling circuit detects that the continuous loss number of the current zero crossing points is larger than a first number threshold value, determining that the external power supply is powered off, wherein the first number threshold value is a preset numerical value;

and if the continuous existence number of the current zero-crossing points detected by the optical coupling circuit is greater than a second number threshold value, determining that the external power supply is not powered off, wherein the second number threshold value is a preset numerical value.

3. The method of claim 2, further comprising:

if the optocoupler circuit detects that the continuous existence number of the current zero-crossing points is greater than the second number threshold value after the upper computer sends the operation stop instruction to the drive board, the power panel clears the fault signal and sends a clearing signal to the upper computer, wherein the clearing signal is used for prompting the upper computer that the fault signal is cleared;

and the upper computer sends a starting operation instruction to the drive plate according to the clearing signal, wherein the starting operation instruction is used for controlling the motor to start and operate by the drive plate.

4. The method of claim 3, further comprising:

after the driving plate receives the operation starting command, the control of stopping the operation of the motor by the operation stopping command is released;

and the driving plate controls the motor to start operation based on the starting operation instruction.

5. The method of claim 3, wherein the upper computer sends a start-up instruction to the drive board according to the clear signal, comprising:

the upper computer sends the starting operation instruction to the power panel;

and the power supply board transmits the starting operation instruction to the driving board.

6. The method of claim 1, wherein the driving plate controls the motor to stop operating according to the power-off signal, comprising:

the driving board generates a first control instruction according to the power-off signal;

and the driving plate controls the motor to stop running according to the first control instruction.

7. The method of claim 1, wherein the upper computer sends a shutdown instruction to the drive board according to the fault signal, and the shutdown instruction comprises:

the upper computer sends the operation stopping instruction to the power panel;

and the power supply board transmits the operation stopping instruction to the driving board.

8. A washing machine, characterized by comprising:

the power supply board, the motor, and the upper computer and the driving board which are connected with the power supply board;

the motor is connected with the driving board, and the power board can be connected with an external power supply of the washing machine;

the power panel is used for sending a fault signal to an upper computer, sending a power-off signal to the drive board and supplying power to the drive board, wherein the fault signal is used for prompting the upper computer that the external power supply is powered off, and the power-off signal is used for indicating the external power supply to be powered off;

the upper computer is used for sending a second control instruction to the drive board through the power panel, wherein the second control instruction comprises a stop operation instruction and a start operation instruction, the stop operation instruction is used for controlling the motor to stop operating by the drive board, and the start operation instruction is used for controlling the motor to start operating by the drive board;

the driving board is used for supplying power to the motor through the power panel, controlling the motor to stop running according to the power-off signal and controlling the motor according to the second control instruction;

the motor is used for responding to the power-off signal and the second control instruction so as to execute corresponding actions.

9. The washing machine as claimed in claim 8, wherein the power supply board comprises:

and the optical coupling circuit is used for detecting the current zero crossing point of the external power supply and determining whether the external power supply is powered off.

10. A computer program product, characterized by comprising a computer program which, when executed by a processor, is adapted to implement the power-off handling method of a laundry machine according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention belongs to the field of washing machines, and particularly relates to a washing machine and a power failure processing method thereof.

Background

In the present society, a washing machine becomes an indispensable household appliance, but as people use the washing machine more and more frequently, the problems of the washing machine are increased, especially in the case of short-time power failure of a power supply, the electric devices in the washing machine are susceptible to conflict among the electric devices due to different degrees of sensitivity to strong electricity.

For the above problems, the most obvious situation is that in the process of high-speed operation of the motor, the external power supply of the washing machine is suddenly powered off, the motor can be immediately decelerated and operated after receiving the change of the voltage, but due to the existence of the capacitor, the upper computer cannot be powered off immediately, and an operation instruction can be continuously sent to the motor, after the short-time power-off of the power supply of the washing machine is finished, the voltage rises back, the instruction of the upper computer received by the drive plate is not changed, and at the moment, the clutch and the motor can simultaneously act, so that the gear is not stably meshed, and the problem of gear noise or gear breakage is caused.

In summary, when the washing machine is powered off for a short time, the problem that the gear is noisy or broken due to unstable engagement of the gear caused by simultaneous operation of the clutch and the motor exists.

Disclosure of Invention

In order to solve the above problems in the prior art, that is, to solve the problem that when the current washing machine is powered off for a short time, the engagement of the gears is unstable due to the simultaneous action of the clutch and the motor, and the gear noise or the gear breakage occurs, an embodiment of the present invention provides a power-off processing method for a washing machine, which is applied to a washing machine, wherein the washing machine comprises an upper computer, a power panel, a driving panel and a motor, and the method comprises: the power panel determines whether an external power supply of the washing machine is powered off or not based on the current zero crossing point; if the external power supply is powered off, the power panel sends a power-off signal to the drive board and sends a fault signal to the upper computer, wherein the power-off signal is used for indicating the external power supply to be powered off, and the fault signal is used for prompting the external power supply to be powered off to the upper computer; the driving plate controls the motor to stop running according to the power-off signal; and the upper computer sends a stop instruction to the drive plate according to the fault signal, wherein the stop instruction is used for controlling the motor to stop running by the drive plate.

In a preferred technical solution of the above power-off processing method for a washing machine, the power board determines whether an external power supply of the washing machine is powered off based on a current zero crossing point, including: the power panel detects the current zero crossing point based on the optocoupler circuit; if the number of the continuous losses of the current zero crossing points detected by the optical coupling circuit is larger than a first number threshold, determining that the external power supply is powered off, wherein the first number threshold is a preset numerical value; and if the continuous existence quantity of the current zero crossing points detected by the optical coupling circuit is greater than a second quantity threshold value, determining that the external power supply is not powered off, wherein the second quantity threshold value is a preset numerical value.

In a preferred embodiment of the power-off processing method for a washing machine, the method further includes: if the optical coupling circuit detects that the continuous existence quantity of the current zero crossing points is larger than a second quantity threshold value after the upper computer sends a stop operation instruction to the drive board, clearing a fault signal by the power board and sending a clearing signal to the upper computer, wherein the clearing signal is used for prompting the upper computer that the fault signal is cleared; and the upper computer sends a starting operation instruction to the drive plate according to the clearing signal, wherein the starting operation instruction is used for controlling the motor to start and operate by the drive plate.

In a preferred embodiment of the power-off processing method for a washing machine, the method further includes: after receiving the operation starting command, the driving plate releases the operation stopping command to control the motor to stop operating; the drive plate controls the motor to start operation based on the start operation command.

In a preferred embodiment of the power-off processing method for a washing machine, the upper computer sends a start operation command to the drive board according to the clear signal, and the method includes: the upper computer sends a starting operation instruction to the power panel; and the power supply board transmits the starting operation instruction to the driving board.

In a preferred embodiment of the power-off processing method for a washing machine, the method for controlling a motor to stop operating by a driving board according to a power-off signal includes: the driving board generates a first control instruction according to the power-off signal; the driving plate controls the motor to stop running according to the first control instruction.

In a preferred embodiment of the power-off processing method for a washing machine, the method for transmitting the operation stop command to the drive plate by the upper computer according to the fault signal includes: the upper computer sends an operation stopping instruction to the power panel; and the power supply board transmits the stop operation instruction to the driving board.

An embodiment of the present invention further provides a washing machine, including: the power panel, the motor, and the upper computer and the driving board which are connected with the power panel; the motor is connected with the driving board, and the power board can be connected with an external power supply of the washing machine; the power panel is used for sending a fault signal to the upper computer, sending a power-off signal to the drive board and supplying power to the drive board, wherein the fault signal is used for prompting the external power supply to be powered off to the upper computer, and the power-off signal is used for indicating the external power supply to be powered off; the upper computer is used for sending a second control instruction to the drive board through the power panel, wherein the second control instruction comprises a stop operation instruction and a start operation instruction, the stop operation instruction is used for stopping the operation of the drive board control motor, and the start operation instruction is used for starting the operation of the drive board control motor; the driving board is used for supplying power to the motor through the power panel, controlling the motor to stop running according to the power-off signal and controlling the motor according to a second control instruction; the motor is used for responding to the power-off signal and the second control instruction so as to execute corresponding actions.

In a preferred embodiment of the above washing machine, the power supply board includes: and the optical coupling circuit is used for detecting the current zero crossing point of the external power supply and determining whether the external power supply is powered off.

The embodiment of the invention also provides a computer program product which comprises a computer program, and the computer program is used for realizing the power-off processing method of the washing machine when being executed by the processor.

The person skilled in the art can understand that, in the power-off processing method of the washing machine provided by the embodiment of the invention, whether the external power supply of the washing machine is powered off or not is determined by the power panel based on the current zero crossing point; if the external power supply is powered off, the power panel sends a power-off signal to the drive board and sends a fault signal to the upper computer, wherein the power-off signal is used for indicating the external power supply to be powered off, and the fault signal is used for prompting the external power supply to be powered off to the upper computer; the driving plate controls the motor to stop running according to the power-off signal; and the upper computer sends a stop instruction to the drive plate according to the fault signal, wherein the stop instruction is used for controlling the motor to stop running by the drive plate. By the method, when the washing machine is powered off for a short time, the power panel can send the power-off signal to the drive plate and send the fault signal to the upper computer, the upper computer sends the stop operation instruction to the drive plate according to the fault signal, and the drive plate forces the motor to stop operating according to the power-off signal or the stop operation instruction, so that the problem of unstable gear meshing caused by simultaneous action of the clutch and the motor can be avoided, and the problem of gear noise or gear breakage can be further avoided.

Drawings

A preferred embodiment of a power-off processing method of a washing machine of the present invention is described below with reference to the accompanying drawings. The attached drawings are as follows:

fig. 1 is a schematic structural diagram of a washing machine according to an embodiment of the present invention;

fig. 2 is a schematic view of an application scenario of the power-off processing method for a washing machine according to an embodiment of the present invention;

FIG. 3 is a flowchart illustrating a first method for processing power-off of a washing machine according to an embodiment of the present invention;

FIG. 4 is a flowchart of a second embodiment of a power-off processing method for a washing machine according to the present invention;

fig. 5 is a flowchart of a third embodiment of a power-off processing method of a washing machine according to an embodiment of the present invention.

Detailed Description

First, it should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention. And can be modified as needed by those skilled in the art to suit particular applications.

Furthermore, it should be noted that in the description of the embodiments of the present invention, the terms "first", "second", "third", "fourth", etc. (if present) are used for distinguishing similar objects, and are not necessarily used for describing a specific order or sequence. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.

Furthermore, it should be noted that in the description of the embodiments of the present invention, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, 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 case of short-time power failure of the washing machine as mentioned in the background art, there are at least the following technical problems:

at the high-speed in-process of moving of motor, washing machine's external power source cuts off the power supply suddenly, the motor can reduce the speed immediately after receiving the change of voltage and operate, but because the existence of electric capacity, the host computer can not cut off the power supply at once, can continuously send the moving instruction to the motor, after washing machine's power short time outage is ended, the voltage rises again, and the instruction of the host computer that the drive plate received does not change, at this moment, clutch and motor can move simultaneously, thereby cause the meshing of gear unstable, lead to the problem that gear noise or gear fracture appear.

Aiming at the problems, the invention provides a power-off processing method of a washing machine and the washing machine, wherein a power panel in the washing machine sends a power-off signal to a drive plate in the washing machine after determining that an external power supply of the washing machine is powered off, the drive plate controls a motor in the washing machine to stop running after receiving the power-off signal, the power panel also sends a fault signal to an upper computer to prompt the power-off of the external power supply of the upper computer while sending the power-off signal to the drive plate, the upper computer sends a running stop instruction to the drive plate after receiving the fault signal, the drive plate controls the motor to stop running according to the running stop instruction, and when the external power supply is powered on again, the voltage rises back, the motor still does not start running under the control of the running stop instruction sent by the upper computer, so that the problem of unstable gear engagement caused by the simultaneous action of the motor and a clutch can be avoided, thereby avoiding the problems of noise or gear breakage.

Fig. 1 is a schematic structural diagram of a washing machine according to an embodiment of the present invention, and as shown in fig. 1, the washing machine 10 includes:

the power panel 11, the motor 12, and the upper computer 13 and the driving board 14 which are connected with the power panel; the motor 12 is connected to the driving board 14, and the power board 11 is connected to an external power supply 15 of the washing machine 10.

The power panel 11 is used for sending a fault signal to the upper computer 13, sending a power-off signal to the drive board 14 and supplying power to the drive board 14, wherein the fault signal is used for prompting the external power supply 15 to be powered off to the upper computer 13, and the power-off signal is used for indicating the external power supply 15 to be powered off.

Specifically, external power supply 15 has connected power strip 11, therefore power strip 11 can supply power to drive plate 14, that is to say, power strip 11 can detect external power supply 15's current change, when external power supply 15 outage, power strip 11 sends outage signal to drive plate 14, indicate external power supply 15 outage to drive plate 14, so that drive plate 14 reacts to deal with the problem of external power supply 15 outage, simultaneously, power strip 11 sends fault signal to host computer 13, indicate external power supply 15 outage to host computer 13, so that host computer 13 can react, thereby send control instruction to drive plate 14 to deal with the problem of external power supply 15 outage.

The upper computer 13 is used for sending a second control instruction to the driving board 14 through the power board 11, wherein the second control instruction comprises a stop operation instruction and a start operation instruction, the stop operation instruction is used for controlling the driving board 14 to stop the operation of the motor 12, and the start operation instruction is used for controlling the driving board 14 to start the operation of the motor 12.

Specifically, after the power board 11 sends a fault signal to the upper computer 13, the upper computer 13 sends a stop instruction to the drive board 14 according to the fault signal, so that the drive board 14 controls the motor 12 to stop operating according to the stop instruction, until the power board 11 determines that the external power supply 15 is powered again and clears the fault signal, the upper computer 13 sends a start instruction to the drive board 14 again, so that the drive board 14 controls the motor 12 to restart operating according to the start instruction.

The driving board 14 is used for supplying power to the motor 12 through the power board 11, controlling the motor 12 to stop running according to the power-off signal, and controlling the motor 12 according to a second control instruction.

Specifically, the driving board 14 is connected to the power board 11, so that the driving board 14 can supply power to the motor 12 through the power board 11, when the driving board 14 receives a power-off signal, the motor 12 can be controlled to stop operating according to the power-off signal, when the driving board 14 receives a stop operating instruction, the motor 12 can be controlled to stop operating according to the stop operating instruction, and when the driving board 14 receives a start operating instruction, the motor 12 can be controlled to start operating according to the start operating instruction.

The motor 12 is used for responding to the power-off signal and the second control instruction so as to execute corresponding actions.

Specifically, the motor 12 is controlled by the driving board 14, when the driving board 14 receives a power-off signal, the motor 12 may respond to the power-off signal to stop operation, when the driving board 14 receives a stop operation instruction, the motor 12 may respond to the stop operation instruction to stop operation, and before the driving board 14 receives a start operation instruction, the motor 12 keeps a stop operation state, and when the driving board 14 receives a start operation instruction, the motor 12 may respond to the start operation instruction to restart operation.

In one particular implementation, the power strip 11 includes: and the optical coupling circuit is used for detecting the current zero crossing point of the external power supply 15 and determining whether the external power supply 15 is powered off or not.

Specifically, the optical coupling circuit in the power board 11 is also referred to as a current detection circuit, and is configured to detect a current zero crossing point of the external power supply 15, for example, when the optical coupling circuit detects that five consecutive current zero crossing points are lost, the power board 11 may determine that the external power supply 15 is powered off, and when the optical coupling circuit detects that ten consecutive current zero crossing points exist, the power board 11 may determine that the external power supply 15 is not powered off.

The washing machine provided by the embodiment of the invention comprises a power panel, a motor, an upper computer and a drive board, wherein the upper computer and the drive board are connected with the power panel, the motor is connected with the drive board, and the power panel can be connected with an external power supply of the washing machine. When the washing machine is powered off for a short time, the power panel can send the power-off signal to the drive plate and send the fault signal to the upper computer, the upper computer sends the stop operation instruction to the drive plate according to the fault signal, and the drive plate forces the motor to stop operating according to the power-off signal or the stop operation instruction, so that the clutch and the motor can be prevented from acting simultaneously, and the problem of gear noise or gear breakage can be further avoided.

Fig. 2 is a schematic view of an application scenario of the power failure processing method of the washing machine according to the embodiment of the present invention, as shown in fig. 2, in the scenario, the washing machine is connected to an external power supply, and a power board, an upper computer, a driving board, and a motor are disposed inside the washing machine. External power supply passes through the power strip and supplies power for washing machine's inside electrical part drive plate and motor, the power strip detects external power supply, whether the outage of external power supply is confirmed, and when external power supply outage, send outage signal to the drive plate, and send fault signal to the host computer, so that drive plate and host computer respond to the condition of external power supply outage, the motor stall is controlled after the outage signal that the drive plate sent is received to the drive plate, the host computer transmits the stall instruction to the drive plate through the power strip after receiving the fault signal that the power strip sent, control the motor stall through the drive plate. After the external power supply is powered on again, the power panel clears the fault signal and sends a clearing signal used for indicating that the fault signal is cleared to the upper computer, the upper computer transmits a starting operation instruction to the drive board through the power panel according to the clearing signal, and the motor is controlled to start to operate through the drive board.

In conjunction with the above scenario, the principle and features of the embodiments of the present invention are described below with reference to several specific embodiments and the accompanying drawings, which are only used for explaining the embodiments of the present invention and are not used to limit the scope of the embodiments of the present invention.

Fig. 3 is a flowchart of a first embodiment of a power-off processing method of a washing machine according to an embodiment of the present invention, the power-off processing method of the washing machine is applied to the washing machine shown in fig. 1, and as shown in fig. 3, the power-off processing method of the washing machine includes the following steps:

s301: the power panel determines whether an external power supply of the washing machine is powered off or not based on the current zero crossing point.

In this step, the ac power supply is in the form of a sine wave during civil use, and in the sine wave, there are two current zero-crossing points in each period, so that whether the power supply is turned on can be determined by detecting the current zero-crossing points, for example, the domestic power supply is 220V, 50Hz ac, and the current zero-crossing point is one 20ms, and the determination condition for whether the power supply is turned on is as follows: when detecting that 5 continuous current zero-crossing points are lost, determining that the power supply is powered off, and judging the time to be 110 ms; when the existence of 10 continuous current zero-crossing points is detected, the power supply is determined to be electrified. When the method is applied to the scheme, whether the external power supply of the washing machine is powered off or not can be determined by detecting the current zero crossing point of the external power supply of the washing machine.

S302: if the external power supply is powered off, the power panel sends a power-off signal to the drive board and sends a fault signal to the upper computer.

In this step, the power-off signal is used for indicating the external power supply to be powered off, the fault signal is used for prompting the external power supply to be powered off to the upper computer, and the fault signal can be a fault code which can be identified by the upper computer.

In the scheme, when the external power supply is powered off, the power panel sends a power-off signal to the drive board to prompt the drive board that the external power supply is in a power-off state, so that the drive board can conveniently react to the power-off problem of the external power supply. After the power panel sends a power-off signal to the drive board, the power panel sends a fault signal to the upper computer to prompt the external power supply of the upper computer to be in a power-off state, so that the upper computer can conveniently react to the problem of power-off of the external power supply.

S303: the driving plate controls the motor to stop running according to the power-off signal.

In this step, after the drive board receives the power-off signal sent by the power board, it is determined that the external power supply of the washing machine is in the power-off state at the moment, and because the capacitor exists in the washing machine, the motor can still continue to operate in a short time, therefore, in order to avoid the motor from continuing to operate, the drive board needs to forcibly control the motor to stop operating according to the power-off signal, even if the capacitor exists, the motor can also stop operating when the external power supply is powered off, so that the problem of unstable gear engagement caused by the simultaneous action of the motor and the clutch is avoided, and the problem of gear noise or gear breakage is further avoided.

S304: and the upper computer sends a stop operation instruction to the drive plate according to the fault signal.

In this step, the operation stopping instruction may be used to control the operation stop of the motor by the drive board, and the host computer determines that the external power supply of the washing machine is in a power-off state after receiving a fault signal sent by the power board, and since the drive board has controlled the operation stop of the motor, if a subsequent external power supply suddenly calls, the drive board inevitably controls the motor to restart after receiving a voltage change, which also leads to the sudden start of the motor when the external power supply suddenly calls, therefore, the host computer sends the operation stopping instruction to the drive board after determining that the power supply is in the power-off state, so that the drive board always controls the motor to stop operating, and even if the subsequent external power supply suddenly calls, the motor cannot be suddenly started due to the control of the operation stopping instruction received by the drive board on the motor.

According to the power-off processing method of the washing machine, whether an external power supply of the washing machine is powered off or not is determined through the power panel based on the current zero crossing point; if the external power supply is powered off, the power panel sends a power-off signal to the drive board and sends a fault signal to the upper computer; the driving plate controls the motor to stop running according to the power-off signal; and the upper computer sends a stop operation instruction to the drive plate according to the fault signal. By the method, when the washing machine is powered off for a short time, the power panel can send the power-off signal to the drive plate and send the fault signal to the upper computer, the upper computer sends the operation stop instruction to the drive plate according to the fault signal, and the drive plate forces the motor to stop operating according to the power-off signal or the operation stop instruction, so that the clutch and the motor can be prevented from acting simultaneously, and the problem of gear noise or gear breakage can be further avoided.

In one specific implementation, the power board determines whether an external power supply of the washing machine is powered off based on a current zero crossing point, and includes: the power panel detects the current zero crossing point based on the optocoupler circuit; if the number of the continuous losses of the current zero crossing points detected by the optical coupling circuit is larger than a first number threshold, determining that the external power supply is powered off, wherein the first number threshold is a preset numerical value; and if the continuous existence quantity of the current zero crossing points detected by the optical coupling circuit is greater than a second quantity threshold value, determining that the external power supply is not powered off, wherein the second quantity threshold value is a preset numerical value.

In the scheme, an optical coupling circuit is arranged in a power panel, the optical coupling circuit is also called a current detection circuit, the current zero crossing point of an external power supply can be detected, a first quantity threshold and a second quantity threshold are preset, the first quantity threshold is used for detecting the power failure of the external power supply by the optical coupling circuit, the second quantity threshold is used for detecting the power supply of the external power supply by the optical coupling circuit, namely, when the continuous loss quantity of the current zero crossing point detected by the optical coupling circuit is greater than the first quantity threshold, the external power supply is in a power failure state at the moment, when the continuous existence quantity of the current zero crossing point detected by the optical coupling circuit is greater than the second quantity threshold, the external power supply is not powered off at the moment, namely, the external power supply can supply power to the power panel, the driving board and the motor in the washing machine at the moment.

For example, when the optical coupling circuit detects that 5 continuous zero-crossing points of current are lost, the external power supply is in a power-off state at the moment, and when the optical coupling circuit detects that 10 continuous zero-crossing points of current exist, the external power supply is not powered off at the moment.

In one specific implementation, if the optical coupling circuit detects that the continuous existence number of current zero-crossing points is greater than a second numerical threshold value after the upper computer sends a stop operation instruction to the drive board, the power board clears a fault signal and sends a clearing signal to the upper computer, wherein the clearing signal is used for prompting the upper computer that the fault signal is cleared; and the upper computer sends a starting operation instruction to the drive plate according to the clearing signal, wherein the starting operation instruction is used for controlling the motor to start and operate by the drive plate.

In the scheme, after the upper computer sends the operation stopping instruction to the drive board, if the optical coupling circuit detects that the continuous existence number of the current zero crossing points is larger than a second number threshold value, the external power supply is not in a power-off state at the moment, namely, the external power supply can continuously supply power to electric devices in the washing machine at the moment, and the upper computer sends the operation stopping instruction to the drive board according to the fault signal after receiving the fault signal sent by the power board, so that the drive board controls the motor to be always in the operation stopping state, even if the external power supply can supply power to the motor through the power board at the moment, the drive board cannot control the motor to start and operate, and therefore, the upper computer needs to wait for the power board to clear the fault signal.

In the above scheme, the power panel sends the clearing signal to the upper computer after clearing the fault signal to indicate the fault signal to the upper computer to be cleared, at the moment, the external power supply recovers to be normal and can normally supply power to the electric device inside the washing machine, therefore, the upper computer can send a starting operation instruction to the drive board according to the clearing signal, and the drive board can control the motor to start operation again after receiving the starting operation instruction.

In one implementation, the method further comprises: after receiving the operation starting command, the driving plate releases the operation stopping command to control the motor to stop operating; the drive plate controls the motor to start operation based on the start operation command.

In the scheme, before the upper computer sends a starting operation instruction to the drive plate, the drive plate controls the motor to be in the stopping operation state all the time according to the stopping operation instruction sent by the upper computer, so that after the drive plate receives the starting operation instruction sent by the upper computer, the control of the stopping operation instruction sent by the upper computer on the motor to be in the stopping operation state all the time needs to be released, and then the drive plate can control the motor to restart operation according to the instruction of the starting operation instruction.

In one specific implementation, the upper computer sends a start operation instruction to the drive board according to the clear signal, and the start operation instruction includes: the upper computer sends a starting operation instruction to the power panel; and the power supply board transmits the starting operation instruction to the driving board.

In the scheme, when the upper computer sends the starting operation instruction to the drive board, the upper computer is not directly connected with the drive board, so that the drive board can send the starting operation instruction to the power board firstly, and the starting operation instruction is transmitted to the drive board by the power board, so that the excessively complex connection relation between internal electric devices of the washing machine can be avoided.

In one specific implementation, the driving board controls the motor to stop running according to a power-off signal, and the method comprises the following steps: the driving board generates a first control instruction according to the power-off signal; the driving plate controls the motor to stop running according to the first control instruction.

In the scheme, after the drive board receives a power-off signal sent by the power panel, the motor has no storage function because no chip exists in the motor, and the power-off signal cannot be transmitted to the motor, so that the drive board can generate a first control instruction according to the received power-off signal, and the motor is controlled to stop running directly according to the first control instruction.

In one specific implementation, the upper computer sends a shutdown instruction to the drive board according to the fault signal, and the shutdown instruction includes: the upper computer sends an operation stopping instruction to the power panel; and the power supply board transmits the stop operation instruction to the driving board.

In the scheme, when the upper computer sends the operation stopping instruction to the drive board, the upper computer is not directly connected with the drive board, so that the drive board can send the operation stopping instruction to the power panel firstly, and the operation stopping instruction is transmitted to the drive board by the power panel, so that the problem that the connection relation between internal electric devices of the washing machine is too complex can be avoided.

According to the power-off processing method of the washing machine, when the washing machine is powered off for a short time, the power board can send a power-off signal to the drive board, the drive board controls the motor to stop running forcibly according to the power-off signal, meanwhile, the power board also sends a fault signal to the upper computer, the upper computer sends a running stop instruction to the drive board according to the fault signal, the drive board receives the running stop instruction and then controls the motor to be in a running stop state all the time, after the power board clears the fault signal, the upper computer sends a running start instruction to the drive board, and the drive board receives the running start instruction and then controls the motor to restart running, so that the clutch and the motor can be prevented from acting simultaneously, the problem of gear noise or gear breakage can be further avoided, and the service life of the washing machine is prolonged.

Fig. 4 is a flowchart of a second embodiment of a power-off processing method of a washing machine according to an embodiment of the present invention, and as shown in fig. 4, the power-off processing method of the washing machine includes the following steps:

s401: the power panel detects the current zero crossing point of an external power supply of the washing machine.

In this step, the power panel may detect a zero crossing point of a current of an external power supply of the washing machine through the optical coupling circuit.

S402: the power panel judges whether 5 current zero crossings are continuously lost.

In this step, if the power board detects that 5 current zero-crossing points are continuously lost, which indicates that the external power supply is powered off at this time, the process jumps to step S403, and if the power board does not detect 5 current zero-crossing points, the process jumps to step S401 to detect again.

S403: the power panel detects whether there is a fault signal.

In this step, when the external power supply is turned off, the power board detects whether there is a fault signal, and if there is a fault signal, it jumps to step S405, and if there is no fault signal, it jumps to step S404.

S404: the power panel judges whether 10 current zero crossings exist continuously.

In this step, if the power panel detects that 10 current zero-crossing points continuously exist, the process jumps to step S410, and if the power panel does not detect that 10 current zero-crossing points continuously exist, the process jumps to step S401 to detect again.

S405: and sending a fault signal to the upper computer and sending a power-off signal to the drive board.

S406: and the upper computer sends a stop operation instruction to the drive plate according to the fault signal.

S407: the driving plate controls the motor to stop running according to the running stop instruction or the power-off signal.

S408: and after the power panel clears the fault signal, the upper computer sends a starting operation instruction to the drive board.

S409: and the driving plate controls the motor to start and operate according to the starting and operating instruction.

S410: the washing machine continues to operate.

According to the power-off processing method of the washing machine, when the washing machine is powered off for a short time, the power panel can send a power-off signal to the drive plate and send a fault signal to the upper computer, the upper computer sends a stop operation instruction to the drive plate according to the fault signal, and the drive plate forces the motor to stop operating according to the power-off signal or the stop operation instruction, so that the problem of unstable gear meshing caused by simultaneous action of the clutch and the motor can be avoided, and the problem of gear noise or gear breakage can be further avoided.

Fig. 5 is a flowchart of a third embodiment of a power-off processing method of a washing machine according to an embodiment of the present invention, and as shown in fig. 5, the power-off processing method of the washing machine includes the following steps:

s501: and the upper computer judges whether a fault signal is received.

In this step, the fault signal is used by the upper computer to determine whether the external power supply of the washing machine is in a power-off state, and when the external power supply of the washing machine is turned on, the upper computer determines whether the fault signal is received, and if the fault signal is received by the upper computer, the step S502 is skipped, and if the fault signal is not received by the upper computer, the step S503 is skipped.

S502: and the upper computer sends a stop operation instruction to the drive plate according to the fault signal.

S503: and the upper computer continues to operate according to the time sequence.

In this step, if the external power source of the washing machine is turned on, and the upper computer does not receive the fault signal, it indicates that the external power source of the washing machine is in a normal working state, and therefore, the upper computer can continue to operate according to the original time sequence.

According to the power-off processing method of the washing machine, when the washing machine is powered off for a short time, the power panel can send the fault signal to the upper computer, the upper computer sends the operation stop instruction to the drive plate according to the fault signal, and the drive plate forces the motor to stop operating according to the power-off signal or the operation stop instruction, so that the problem of unstable gear engagement caused by simultaneous action of the clutch and the motor can be avoided, and the problem of gear noise or gear breakage can be further avoided.

In summary, the technical scheme provided by the invention is that the power board sends the power-off signal of the external power supply to the drive board and the upper computer respectively, so that the motor can start or stop running according to the instruction of the upper edition, thereby avoiding the problem of unstable gear engagement caused by the simultaneous action of the motor and the clutch, further solving the problem of gear noise or gear fracture, ensuring that the washing machine can run better, and being a realization technical method capable of greatly protecting the washing machine and prolonging the service life of the washing machine.

The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program is used for realizing the power failure processing method of the washing machine provided by the foregoing method embodiment when being executed by a processor.

Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:网络系统以及信息处理方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!