Washing machine control method and device based on zero-cross detection correction, medium and washing machine

By obtaining the zero-crossing detection of the corrected optocoupler using the operating temperature of the washing machine, the problem of device damage caused by inaccurate zero-crossing detection of the washing machine is solved, and stable and precise control is achieved.

CN120608387AActive Publication Date: 2025-09-09GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511123843.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-12
Publication Date
2025-09-09
Estimated Expiration
2045-08-12

AI Technical Summary

Technical Problem

In the prior art, the zero-crossing detection method of a washing machine is affected by the operating temperature, resulting in inaccurate zero-crossing detection and easy damage to the device.

Method used

By obtaining the operating temperature of the washing machine, determining the surface temperature and forward conduction voltage of the optocoupler, and correcting the zero-crossing point of the optocoupler, precise control of the valve load of the washing machine can be achieved, avoiding the influence of temperature changes on zero-crossing detection.

Benefits of technology

The operating stability of the washing machine is improved, the risk of device damage is reduced, and the accuracy of zero-crossing detection is ensured to be unaffected by temperature and voltage fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120608387A_ABST
    Figure CN120608387A_ABST
Patent Text Reader

Abstract

The invention provides a washing machine control method and device based on zero-cross detection correction, a medium and a washing machine, and the method comprises the steps: obtaining the working temperature of the washing machine, determining the surface temperature of an optocoupler in a zero-cross detection circuit of the washing machine according to the working temperature, and obtaining a first target temperature; determining a forward conduction voltage of the optocoupler under the action of the first target temperature to obtain a first target voltage; and determining a zero crossing point of the optocoupler according to the first target voltage, and controlling the valve load operation of the washing machine according to the zero crossing point. According to the method, the interference of the temperature on the forward conduction voltage is corrected, so that the problem that the zero-cross detection is inaccurate and devices are easily damaged due to the influence of the working temperature when the zero-cross detection method in the prior art is applied to the washing machine is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of washing machine control, and in particular to a washing machine control method, device, computer-readable storage medium, and washing machine based on zero-crossing detection and correction. Background Art

[0002] Modern washing machines often experience temperature fluctuations during operation due to functional requirements, such as heating wash water to sterilize and remove stains or blowing hot air into the drum to dry clothes. These temperature fluctuations within the washing machine, caused by these specific functions, can also affect the temperature of the controller, causing it to heat up, which in turn affects the controller's electrical characteristics, leading to performance degradation and shortening its service life.

[0003] In order to prevent abnormal temperature from causing controller performance degradation or shortening service life, the existing technology proposes to adjust the power supply voltage according to the ambient temperature to reduce circuit damage caused by high temperature, or to apply a thick film heater with integrated electronic omnidirectional sensing technology in the over-temperature protection circuit.

[0004] It can be seen that the existing technology solves the impact of temperature on the controller by detecting the ambient temperature through a separate temperature detection circuit and making processing. That is, the existing technology does not take into account the heat interference generated inside the washing machine during operation, nor does it involve improvements to the problem of inaccurate control caused by inaccurate zero-crossing detection of the controller after changes in the working environment, thereby reducing the service life of the device. Summary of the Invention

[0005] The main purpose of the present application is to provide a washing machine control method, device, computer-readable storage medium and washing machine based on zero-crossing detection correction, so as to at least solve the problem that the zero-crossing detection method in the prior art is affected by the operating temperature when applied to the washing machine, resulting in inaccurate zero-crossing detection and easy damage to the device.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a washing machine control method based on zero-crossing detection correction is provided, including: obtaining the operating temperature of the washing machine, determining the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtaining a first target temperature; determining the forward conduction voltage of the optocoupler under the action of the first target temperature, and obtaining a first target voltage; determining the zero-crossing point of the optocoupler according to the first target voltage, and controlling the valve load operation of the washing machine according to the zero-crossing point.

[0007] Optionally, determining the forward conduction voltage of the optocoupler under the action of the first target temperature to obtain the first target voltage includes: obtaining a preset curve corresponding to the first target temperature to obtain a target curve, each preset curve being a curve of the input current of the input-side light-emitting diode of the optocoupler changing with the forward conduction voltage of the optocoupler at different surface temperatures; obtaining the input current of the input-side light-emitting diode at the current moment to obtain the first current; determining the forward conduction voltage corresponding to the first current according to the target curve to obtain the first target voltage.

[0008] Optionally, determining the zero crossing point of the optocoupler based on the first target voltage includes: obtaining the peak voltage of the bus voltage detection circuit of the washing machine to obtain the second target voltage, obtaining the bus voltage of the bus voltage detection circuit to obtain the third target voltage; determining the input voltage of the optocoupler based on the second target voltage and the third target voltage to obtain the fourth target voltage; determining the zero crossing point based on the first target voltage and the fourth target voltage.

[0009] Optionally, the input voltage of the optocoupler is determined based on the second target voltage and the third target voltage to obtain a fourth target voltage, including: when the third target voltage is equal to the preset voltage, calculating the fourth target voltage based on the second target voltage; when the third target voltage is not equal to the preset voltage, calculating the fourth target voltage based on the third target voltage.

[0010] Optionally, the zero crossing point is determined based on the first target voltage and the fourth target voltage, including: when the fourth target voltage is greater than or equal to the first target voltage, calculating the turn-on time and turn-off time of the optocoupler based on the fourth target voltage; determining the zero crossing point closest to the current time based on the turn-on time and the turn-off time to obtain the first zero crossing point; and recursively deducing based on the first zero crossing point according to the period of the third target voltage to determine other zero crossing points.

[0011] Optionally, obtaining the working temperature of the washing machine includes: determining the working stage of the washing machine, the working stage including at least a washing heating stage and a drying heating stage; when the working stage is the washing heating stage, determining the washing temperature as the working temperature; when the working stage is the drying heating stage, determining the air outlet temperature as the working temperature.

[0012] Optionally, the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine is determined according to the operating temperature to obtain a first target temperature, including: obtaining the ambient temperature of the washing machine, the thermal radiation attenuation coefficient between the washing machine and the optocoupler, and the operating temperature of the optocoupler; determining the second target temperature transmitted by the washing machine to the optocoupler according to the thermal radiation attenuation coefficient and the operating temperature; and obtaining the first target temperature by summing the operating temperature, the ambient temperature, and the second target temperature.

[0013] According to another aspect of the present application, a washing machine control device based on zero-crossing detection correction is provided, and the device includes: an acquisition unit, used to acquire the operating temperature of the washing machine, and determine the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature to obtain a first target temperature; a determination unit, used to determine the forward conduction voltage of the optocoupler under the action of the first target temperature to obtain a first target voltage; a control unit, used to determine the zero-crossing point of the optocoupler according to the first target voltage, and control the valve load operation of the washing machine according to the zero-crossing point.

[0014] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described.

[0015] According to another aspect of the present application, a washing machine is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any one of the methods described.

[0016] Applying the technical solution of the present application, in the above-mentioned washing machine control method based on zero-crossing detection, first, the operating temperature of the washing machine is obtained, and the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine is determined according to the operating temperature to obtain a first target temperature; then, the forward conduction voltage of the optocoupler under the action of the first target temperature is determined to obtain a first target voltage; finally, the zero-crossing point of the optocoupler is determined according to the first target voltage, and the operation of the valve load of the washing machine is controlled according to the zero-crossing point. The present application determines the surface temperature of the optocoupler based on the operating temperature of the washing machine and the heat conduction between the washing machine and the zero-crossing detection circuit, and corrects the forward conduction voltage of the optocoupler based on the surface temperature of the optocoupler, thereby eliminating the influence of temperature on the forward conduction voltage of the optocoupler, and further compensates the zero-crossing point according to the corrected forward conduction voltage, thereby avoiding the use of the forward conduction voltage under standard conditions for zero-crossing detection under different temperatures and controlling the operation of the washing machine according to the detection results, resulting in a deviation between the control time and the zero-crossing point, and the loss of the driving circuit caused by the instantaneous induced current. The present application solves the problem that the zero-crossing detection method in the prior art is affected by the operating temperature when applied to the washing machine, resulting in inaccurate zero-crossing detection and easy damage to the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic flow chart of a washing machine control method based on zero-crossing detection according to an embodiment of the present application is shown;

[0018] Figure 2A circuit diagram of a zero-crossing detection circuit provided according to an embodiment of the present application is shown;

[0019] Figure 3 shows a reference voltage waveform diagram provided according to an embodiment of the present application;

[0020] Figure 4 A schematic diagram showing the corresponding relationship between IF and VF at different temperatures provided in an embodiment of the present application is shown;

[0021] Figure 5 A circuit diagram of a bus voltage detection circuit provided according to an embodiment of the present application is shown;

[0022] Figure 6 A structural block diagram of a washing machine control device based on zero-crossing detection provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] As introduced in the background technology, the existing technologies do not take into account the heat interference generated inside the washing machine during operation, nor do they involve improvements to the problem of inaccurate control caused by inaccurate zero-crossing detection of the controller after changes in the working environment, thereby reducing the service life of the device. In order to solve the problem that the zero-crossing detection method in the existing technology is affected by the working temperature when applied to the washing machine, resulting in inaccurate zero-crossing detection and easy damage to the device, the embodiments of the present application provide a washing machine control method, device, computer-readable storage medium and washing machine based on zero-crossing detection correction.

[0027] The technical solutions in the embodiments of the present invention will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present invention.

[0028] In this embodiment, a washing machine control method based on zero-crossing detection is provided, which operates on a controller of the washing machine or a similar computing device. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] Figure 1 FIG is a flow chart of a washing machine control method based on zero-crossing detection according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:

[0030] Step S201, obtaining the operating temperature of the washing machine, determining the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtaining a first target temperature;

[0031] Specifically, the operating temperature of the washing machine is the temperature of the internal environment when it runs the heating program. By monitoring the above operating temperature, it is possible to control the partial temperature changes of the environment in which the optocoupler is located in real time, and then determine the performance changes of the optocoupler.

[0032] In a specific implementation, the zero-crossing detection circuit is as follows: Figure 2 As shown in FIG, the zero-crossing detection circuit consists of four resistors R1, R2, R3, and R4 and an optocoupler. L and N are the live wire and the neutral wire, and INPUT is the circuit input.

[0033] It can be understood that from the conduction characteristics of the optocoupler, when the primary voltage of the optocoupler is greater than 1V, the optocoupler is turned on, and at this time the input INPUT of the circuit is pulled down from a high level to ground.

[0034] Assume that the standard voltage of the washing machine is 220V, with an allowable fluctuation range of ±10%, that is, 198V to 242V; the standard frequency is 50Hz, with an allowable fluctuation range of ±0.5Hz, that is, 49.5Hz to 50.5Hz; the voltage waveform is a sine wave, and its mathematical expression is , where V peak is the peak voltage, f is the frequency, t is the time, The phase angle is the waveform from zero to positive peak, then to negative peak and then to zero in one complete cycle. Figure 3 shown.

[0035] Step S202, determining the forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage;

[0036] Specifically, the electrical characteristics of the optocoupler are affected by temperature, especially its forward conduction voltage, which decreases with increasing temperature. This includes, but is not limited to, the possibility of a drop in the forward conduction voltage of the optocoupler in high-temperature environments. If not corrected, this can lead to inaccurate zero-crossing detection, thereby affecting the precise control of the washing machine's heating element. Therefore, the present application provides a method for correcting this temperature effect through calibration, thereby avoiding zero-crossing detection errors caused by temperature changes and achieving stable operation of the washing machine.

[0037] Step S203 , determining a zero-crossing point of the optocoupler according to the first target voltage, and controlling the operation of a valve load of the washing machine according to the zero-crossing point.

[0038] Specifically, taking the first target voltage as a reference and combining it with the voltage waveform of the washing machine, the zero-crossing point of the optocoupler can be determined, and the conduction state of the optocoupler can be accurately captured, thereby achieving precise control of the valve load of the washing machine to avoid the valve load generating instantaneous induced voltage on the drive circuit at the moment of opening / closing, causing damage to the device.

[0039] Through this embodiment, first, the operating temperature of the washing machine is obtained, and the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine is determined according to the operating temperature to obtain a first target temperature; then, the forward conduction voltage of the optocoupler under the action of the first target temperature is determined to obtain a first target voltage; finally, the zero-crossing point of the optocoupler is determined according to the first target voltage, and the valve load operation of the washing machine is controlled according to the zero-crossing point. The present application determines the surface temperature of the optocoupler based on the operating temperature of the washing machine and the heat conduction between the washing machine and the zero-crossing detection circuit, and corrects the forward conduction voltage of the optocoupler based on the surface temperature of the optocoupler, thereby eliminating the influence of temperature on the forward conduction voltage of the optocoupler, and further compensates the zero-crossing point according to the corrected forward conduction voltage, thereby avoiding the use of the forward conduction voltage under standard conditions for zero-crossing detection under different temperatures and controlling the operation of the washing machine according to the detection results, resulting in a deviation between the control time and the zero-crossing point, and the loss of the driving circuit caused by the instantaneous induced current. The present application solves the problem that the zero-crossing detection method in the prior art is affected by the operating temperature when applied to the washing machine, resulting in inaccurate zero-crossing detection and easy damage to the device.

[0040] In order to correct the forward conduction voltage of the optocoupler, in an optional implementation, the above step S202 includes:

[0041] Step S2021, obtaining a preset curve corresponding to the first target temperature to obtain a target curve, wherein each preset curve is a curve showing a change in the input current of the input-side light-emitting diode of the optocoupler versus the forward conduction voltage of the optocoupler at different surface temperatures;

[0042] Specifically, the current transfer ratio (CTR) of an optocoupler (photocoupler) is an important parameter for measuring the performance of an optocoupler. It is defined as the collector current IC on the output side of the coupler and the light-emitting diode current IF on the input side, that is, CTR=IF / IC. Changes in ambient temperature will have a significant impact on the CTR of the optocoupler. When the temperature rises, the forward voltage drop VF of the light-emitting diode will decrease, resulting in an increase in the current IF of the light-emitting diode at the same input power. When the temperature drops, the forward voltage drop VF of the light-emitting diode will increase, resulting in a decrease in the current IF of the light-emitting diode at the same input power. Figure 4 As shown, examples of the above preset curves at temperatures of 25, -55 and 100°C are shown.

[0043] Step S2022, obtaining the current input current of the input-side light-emitting diode to obtain a first current;

[0044] Specifically, the input current of the input-side light-emitting diode at the current moment is acquired to obtain the first current IF.

[0045] Step S2023: Determine the forward conduction voltage corresponding to the first current according to the target curve to obtain a first target voltage.

[0046] It can be understood that, according to the above preset curve, the first target voltage VF can be queried according to IF.

[0047] Through the above embodiment, by calibrating the forward conduction voltage at different operating temperatures, the accuracy of the zero-crossing detection circuit is ensured to be unaffected by temperature fluctuations, thereby improving the stability of the washing machine's operation. This also prevents damage to washing machine components caused by control time deviations of valve loads. Furthermore, compared to traditional independent temperature detection circuits and compensation circuits, this application utilizes the temperature characteristics of the optocoupler itself for adjustment, reducing the complexity and cost of hardware design.

[0048] In order to determine the zero-crossing point, in an optional implementation, step S203 includes:

[0049] Step S2031, obtaining a peak voltage of a bus voltage detection circuit of the washing machine to obtain a second target voltage, obtaining a bus voltage of the bus voltage detection circuit to obtain a third target voltage;

[0050] Specifically, the peak voltage V is obtained by the voltage detection circuit. peak , obtain the above second target voltage, and obtain the bus voltage V sense , obtaining the above-mentioned third target voltage, wherein the bus voltage may vary due to grid voltage fluctuations, load changes or other factors.

[0051] In specific implementation, Figure 5 As shown in FIG, the bus voltage detection circuit is composed of two voltage-dividing resistors R5 and R6. According to the characteristics of the voltage-dividing circuit, Vsense=Vpeak*R6 / (R5+R6).

[0052] Step S2032, determining the input voltage of the optocoupler according to the second target voltage and the third target voltage to obtain a fourth target voltage;

[0053] Specifically, it is determined whether there is a grid voltage fluctuation at present according to the second target voltage and the third target voltage, so as to determine the actual input voltage of the optocoupler and obtain the fourth target voltage.

[0054] Step S2033: determining a zero-crossing point according to the first target voltage and the fourth target voltage.

[0055] Specifically, the turn-on time and turn-off time of the optocoupler can be determined according to the first target voltage and the fourth target voltage, thereby determining the zero-crossing point.

[0056] Through the above embodiments, by adjusting the zero-crossing detection threshold in real time to adapt to temperature changes, the present application ensures the zero-crossing detection accuracy of the washing machine in high-temperature operating modes such as heating, and the present application introduces the impact of grid voltage fluctuations on equipment performance to ensure the zero-crossing detection accuracy under any circumstances.

[0057] In order to determine the actual input voltage of the optocoupler, in an optional implementation, the above step S2032 includes:

[0058] Step S20321, when the third target voltage is equal to the preset voltage, calculating the fourth target voltage according to the second target voltage;

[0059] Specifically, if Vsense=311, it means that the mains power is not affected by the grid voltage fluctuation. .

[0060] Step S20322: when the third target voltage is not equal to the preset voltage, calculating a fourth target voltage according to the third target voltage.

[0061] Specifically, if Vsense≠311, it means that the mains voltage is subject to grid voltage fluctuations. At this time, VF1=UR2=V(t)*R2 / .

[0062] The above embodiment ensures that the input voltage of the optocoupler can be accurately calculated in both standard voltage environments and voltage fluctuation environments, ensuring that the accuracy of zero-crossing detection is not affected by voltage fluctuations. This avoids the transient current generated when switching loads at non-zero-crossing points, reducing the risk of device damage.

[0063] In order to determine the zero-crossing point, in an optional implementation, the above step S2033 includes:

[0064] Step S20331, when the fourth target voltage is greater than or equal to the first target voltage, calculating the turn-on time and turn-off time of the optocoupler according to the fourth target voltage;

[0065] Specifically, when the fourth target voltage, i.e., the actual input voltage of the optocoupler, is greater than or equal to the first target voltage, the temperature-compensated forward voltage, the optocoupler will begin to conduct when the AC voltage reaches this threshold voltage. The turn-on and turn-off times are then calculated.

[0066] The calculation formula for the turn-on time is t0=arcsin[Vf1*(R1+R2) / (R2*V peak )] / 2πf;

[0067] The calculation formula for the turn-off time is, t1=arccos[Vf1*(R1+R2) / (R2*V peak )] / 2πf.

[0068] Step S20332, determining the zero-crossing point closest to the current time according to the turn-on time and the turn-off time, and obtaining a first zero-crossing point;

[0069] Specifically, after the turn-on time and the turn-off time are determined, the first zero-crossing point may be determined, that is, the time when the first zero-crossing point is generated.

[0070] The calculation formula for the position of the first zero-crossing point is T1=t1+t0.

[0071] Step S20336: recursively determine other zero-crossing points based on the period of the third target voltage and the first zero-crossing point.

[0072] Specifically, the periodicity of the alternating current determines that after the first zero-crossing point is determined, a zero-crossing point can be determined every time half a cycle is recursively deduced from the first zero-crossing point.

[0073] Through the above embodiment, accurate calculation of the zero-crossing point is achieved, the transient current generated at the moment of load control of the washing machine valve is reduced, and the damage to the device caused by the transient current is reduced.

[0074] In order to ensure the accuracy of obtaining the internal temperature of the washing machine, in an optional embodiment, the above step S201 includes:

[0075] Step S2011, determining the working stage of the washing machine, which includes at least a washing and heating stage and a drying and heating stage;

[0076] The first step is to determine the current operating stage of the washing machine. Typically, washing machine operating stages can be categorized as wash, rinse, spin, wash and heat, and dry and heat. The wash and heat stages require heating, significantly increasing the ambient temperature and significantly impacting the performance of the optocoupler. The remaining stages have a minimal impact on the controller's temperature and are therefore ignored for this application.

[0077] Step S2012: when the working stage is the washing and heating stage, the washing temperature is determined as the working temperature;

[0078] When the washing machine is in the washing heating stage, the main heat source is the heating of the washing water. Therefore, the washing temperature obtained by the built-in temperature sensor can be used as the operating temperature for subsequent temperature compensation calculations.

[0079] Step S2013: When the working stage is the drying and heating stage, the air outlet temperature is determined as the working temperature.

[0080] Specifically, when the washing machine enters the drying and heating phase, the outlet air temperature becomes the primary temperature indicator. The built-in outlet air temperature sensor provides real-time temperature data to represent the current operating temperature.

[0081] Through the above embodiment, by identifying the working stage of the washing machine and obtaining the corresponding working temperature, the temperature influence of the optical coupler can be accurately compensated, ensuring that the zero-crossing detection circuit can maintain high-precision zero-crossing point detection during the washing heating and drying heating stages.

[0082] In order to determine the surface temperature of the optocoupler according to the ambient temperature inside the washing machine, in an optional implementation, the above step S201 further includes:

[0083] Step S2014, obtaining the ambient temperature of the washing machine, the thermal radiation attenuation coefficient between the washing machine and the optocoupler, and the operating temperature of the optocoupler;

[0084] Specifically, obtain the external ambient temperature Te of the washing machine, the thermal radiation attenuation coefficient k (which represents the attenuation ratio when the heat inside the washing machine is transferred to the optocoupler, taking into account the structural layout and transmission medium characteristics), and the optocoupler operating temperature Tg (the temperature generated by the optocoupler due to its own operation, which is the thermal effect caused by the power consumption of the device itself).

[0085] Step S2015, determining a second target temperature transmitted by the washing machine to the optical coupler according to the thermal radiation attenuation coefficient and the operating temperature;

[0086] Step S2016: Summing the operating temperature, the ambient temperature, and the second target temperature to obtain a first target temperature.

[0087] Specifically, the first target calculation formula is: Tb=k*T+Tg+Te, where Tb is the first target temperature and T is the operating temperature.

[0088] According to the above embodiment, by accurately calculating the surface temperature of the optocoupler, i.e., the first target temperature, the threshold of the zero-crossing detection circuit can be precisely adjusted, thereby maintaining high accuracy of zero-crossing detection even during the heating phase of the washing machine and avoiding zero-crossing point deviation caused by temperature.

[0089] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0090] The embodiment of the present application also provides a washing machine control device based on zero-crossing detection. It should be noted that the washing machine control device based on zero-crossing detection of the embodiment of the present application can be used to execute the washing machine control method based on zero-crossing detection provided by the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred embodiments, and the details that have been described will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and contemplated.

[0091] The following introduces a washing machine control device based on zero-crossing detection provided in an embodiment of the present application.

[0092] Figure 6 FIG is a block diagram of a washing machine control device based on zero-crossing detection according to an embodiment of the present application. Figure 6 As shown, the device includes:

[0093] An acquisition unit 10 is configured to acquire an operating temperature of the washing machine, determine a surface temperature of an optocoupler in a zero-crossing detection circuit of the washing machine according to the operating temperature, and obtain a first target temperature;

[0094] Specifically, the operating temperature of the washing machine is the temperature of the internal environment when it runs the heating program. By monitoring the above operating temperature, it is possible to control the partial temperature changes of the environment in which the optocoupler is located in real time, and then determine the performance changes of the optocoupler.

[0095] In a specific implementation, the zero-crossing detection circuit is as follows: Figure 2 As shown in FIG, the zero-crossing detection circuit consists of four resistors R1, R2, R3, and R4 and an optocoupler. L and N are the live wire and the neutral wire, and INPUT is the circuit input.

[0096] It can be understood that from the conduction characteristics of the optocoupler, when the primary voltage of the optocoupler is greater than 1V, the optocoupler is turned on, and at this time the input INPUT of the circuit is pulled down from a high level to ground.

[0097] Assume that the standard voltage of the washing machine is 220V, with an allowable fluctuation range of ±10%, that is, 198V to 242V; the standard frequency is 50Hz, with an allowable fluctuation range of ±0.5Hz, that is, 49.5Hz to 50.5Hz; the voltage waveform is a sine wave, and its mathematical expression is , where V peak is the peak voltage, f is the frequency, t is the time, The phase angle is the waveform from zero to positive peak, then to negative peak and then to zero in one complete cycle. Figure 3 shown.

[0098] A determination unit 20 is configured to determine a forward conduction voltage of the optocoupler under a first target temperature to obtain a first target voltage;

[0099] Specifically, the electrical characteristics of the optocoupler are affected by temperature, especially its forward conduction voltage, which decreases with increasing temperature. This includes, but is not limited to, the possibility of a drop in the forward conduction voltage of the optocoupler in high-temperature environments. If not corrected, this can lead to inaccurate zero-crossing detection, thereby affecting the precise control of the washing machine's heating element. Therefore, the present application provides a method for correcting this temperature effect through calibration, thereby avoiding zero-crossing detection errors caused by temperature changes and achieving stable operation of the washing machine.

[0100] The control unit 30 is configured to determine a zero-crossing point of the optocoupler according to the first target voltage, and control the operation of the valve load of the washing machine according to the zero-crossing point.

[0101] Specifically, taking the first target voltage as a reference and combining it with the voltage waveform of the washing machine, the zero-crossing point of the optocoupler can be determined, and the conduction state of the optocoupler can be accurately captured, thereby achieving precise control of the valve load of the washing machine to avoid the valve load generating instantaneous induced voltage on the drive circuit at the moment of opening / closing, causing damage to the device.

[0102] Through this embodiment, the acquisition unit acquires the operating temperature of the washing machine, determines the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtains the first target temperature; the determination unit determines the forward conduction voltage of the optocoupler under the action of the first target temperature to obtain the first target voltage; the control unit determines the zero-crossing point of the optocoupler according to the first target voltage, and controls the valve load operation of the washing machine according to the zero-crossing point. The present application determines the surface temperature of the optocoupler based on the operating temperature of the washing machine and the heat conduction between the washing machine and the zero-crossing detection circuit, and corrects the forward conduction voltage of the optocoupler based on the surface temperature of the optocoupler, thereby eliminating the influence of temperature on the forward conduction voltage of the optocoupler, and further compensates the zero-crossing point according to the corrected forward conduction voltage, thereby avoiding the use of the forward conduction voltage under standard conditions for zero-crossing detection under different temperatures and controlling the operation of the washing machine according to the detection results, resulting in deviations between the control time and the zero-crossing point, and the loss of the driving circuit caused by the instantaneous induced current. The present application solves the problem that the zero-crossing detection method in the prior art is affected by the operating temperature when applied to the washing machine, resulting in inaccurate zero-crossing detection and easy damage to the device.

[0103] In order to correct the forward conduction voltage of the optocoupler, in an optional implementation manner, the determining unit includes:

[0104] A first acquisition module is configured to acquire a preset curve corresponding to a first target temperature to obtain a target curve, wherein each preset curve is a curve showing a change in an input current of a light-emitting diode on an input side of the optocoupler versus a forward conduction voltage of the optocoupler at different surface temperatures;

[0105] Specifically, the current transfer ratio (CTR) of an optocoupler (photocoupler) is an important parameter for measuring the performance of an optocoupler. It is defined as the collector current IC on the output side of the coupler and the light-emitting diode current IF on the input side, that is, CTR=IF / IC. Changes in ambient temperature will have a significant impact on the CTR of the optocoupler. When the temperature rises, the forward voltage drop VF of the light-emitting diode will decrease, resulting in an increase in the current IF of the light-emitting diode at the same input power. When the temperature drops, the forward voltage drop VF of the light-emitting diode will increase, resulting in a decrease in the current IF of the light-emitting diode at the same input power. Figure 4 As shown, examples of the above preset curves at temperatures of 25, -55 and 100°C are shown.

[0106] A second acquisition module is used to acquire the input current of the input-side light-emitting diode at a current moment to obtain a first current;

[0107] Specifically, the input current of the input-side light-emitting diode at the current moment is acquired to obtain the first current IF.

[0108] The first determining module is configured to determine a forward conduction voltage corresponding to the first current according to a target curve to obtain a first target voltage.

[0109] It can be understood that, according to the above preset curve, the first target voltage VF can be queried according to IF.

[0110] Through the above embodiment, by calibrating the forward conduction voltage at different operating temperatures, the accuracy of the zero-crossing detection circuit is ensured to be unaffected by temperature fluctuations, thereby improving the stability of the washing machine's operation. This also prevents damage to washing machine components caused by control time deviations of valve loads. Furthermore, compared to traditional independent temperature detection circuits and compensation circuits, this application utilizes the temperature characteristics of the optocoupler itself for adjustment, reducing the complexity and cost of hardware design.

[0111] In order to determine the zero-crossing point, in an optional embodiment, the control unit includes:

[0112] a third acquisition module, configured to acquire a peak voltage of a bus voltage detection circuit of the washing machine to obtain a second target voltage, and acquire a bus voltage of the bus voltage detection circuit to obtain a third target voltage;

[0113] Specifically, the peak voltage V is obtained by the voltage detection circuit. peak , obtain the above second target voltage, and obtain the bus voltage V sense , obtaining the above-mentioned third target voltage, wherein the bus voltage may vary due to grid voltage fluctuations, load changes or other factors.

[0114] In specific implementation, Figure 5 As shown in FIG, the bus voltage detection circuit is composed of two voltage-dividing resistors R5 and R6. According to the characteristics of the voltage-dividing circuit, Vsense=Vpeak*R6 / (R5+R6).

[0115] a second determining module, configured to determine an input voltage of the optocoupler according to the second target voltage and the third target voltage to obtain a fourth target voltage;

[0116] Specifically, it is determined whether there is a grid voltage fluctuation at present according to the second target voltage and the third target voltage, so as to determine the actual input voltage of the optocoupler and obtain the fourth target voltage.

[0117] The third determining module is configured to determine a zero-crossing point according to the first target voltage and the fourth target voltage.

[0118] Specifically, the turn-on time and turn-off time of the optocoupler can be determined according to the first target voltage and the fourth target voltage, thereby determining the zero-crossing point.

[0119] Through the above embodiments, by adjusting the zero-crossing detection threshold in real time to adapt to temperature changes, the present application ensures the zero-crossing detection accuracy of the washing machine in high-temperature operating modes such as heating, and the present application introduces the impact of grid voltage fluctuations on equipment performance to ensure the zero-crossing detection accuracy under any circumstances.

[0120] In order to determine the actual input voltage of the optocoupler, in an optional implementation manner, the second determination module includes:

[0121] a first calculation submodule, configured to calculate a fourth target voltage based on the second target voltage when the third target voltage is equal to a preset voltage;

[0122] Specifically, if Vsense=311, it means that the mains power is not affected by the grid voltage fluctuation. .

[0123] The second calculation submodule is configured to calculate a fourth target voltage based on the third target voltage when the third target voltage is not equal to the preset voltage.

[0124] Specifically, if Vsense≠311, it means that the mains voltage is subject to grid voltage fluctuations. At this time, VF1=UR2=V(t)*R2 / .

[0125] The above embodiment ensures that the input voltage of the optocoupler can be accurately calculated in both standard voltage environments and voltage fluctuation environments, ensuring that the accuracy of zero-crossing detection is not affected by voltage fluctuations. This avoids the transient current generated when switching loads at non-zero-crossing points, reducing the risk of device damage.

[0126] In order to determine the zero-crossing point, in an optional implementation manner, the third determination module includes:

[0127] a third calculation submodule, configured to calculate a turn-on time and a turn-off time of the optocoupler according to the fourth target voltage when the fourth target voltage is greater than or equal to the first target voltage;

[0128] Specifically, when the fourth target voltage, i.e., the actual input voltage of the optocoupler, is greater than or equal to the first target voltage, the temperature-compensated forward voltage, the optocoupler will begin to conduct when the AC voltage reaches this threshold voltage. The turn-on and turn-off times are then calculated.

[0129] The calculation formula for the turn-on time is t0=arcsin[Vf1*(R1+R2) / (R2*V peak )] / 2πf;

[0130] The calculation formula for the turn-off time is, t1=arccos[Vf1*(R1+R2) / (R2*Vpeak )] / 2πf.

[0131] A fourth calculation submodule is configured to determine a zero-crossing point closest to the current moment according to the turn-on moment and the turn-off moment, to obtain a first zero-crossing point;

[0132] Specifically, after the turn-on time and the turn-off time are determined, the first zero-crossing point may be determined, that is, the time when the first zero-crossing point is generated.

[0133] The calculation formula for the position of the first zero-crossing point is T1=t1+t0.

[0134] The fifth calculation submodule is configured to perform recursion based on the period of the third target voltage and the first zero-crossing point as a reference to determine other zero-crossing points.

[0135] Specifically, the periodicity of the alternating current determines that after the first zero-crossing point is determined, a zero-crossing point can be determined every time half a cycle is recursively deduced from the first zero-crossing point.

[0136] Through the above embodiment, accurate calculation of the zero-crossing point is achieved, the transient current generated at the moment of load control of the washing machine valve is reduced, and the damage to the device caused by the transient current is reduced.

[0137] In order to ensure the accuracy of obtaining the internal temperature of the washing machine, in an optional embodiment, the obtaining unit includes:

[0138] A fourth determining module is used to determine the working stage of the washing machine, where the working stage includes at least a washing and heating stage and a drying and heating stage;

[0139] The first step is to determine the current operating stage of the washing machine. Typically, washing machine operating stages can be categorized as wash, rinse, spin, wash and heat, and dry and heat. The wash and heat stages require heating, significantly increasing the ambient temperature and significantly impacting the performance of the optocoupler. The remaining stages have a minimal impact on the controller's temperature and are therefore ignored for this application.

[0140] a fifth determining module, configured to determine the washing temperature as the working temperature when the working stage is the washing and heating stage;

[0141] When the washing machine is in the washing heating stage, the main heat source is the heating of the washing water. Therefore, the washing temperature obtained by the built-in temperature sensor can be used as the operating temperature for subsequent temperature compensation calculations.

[0142] The sixth determining module is configured to determine the air outlet temperature as the operating temperature when the operating stage is the drying and heating stage.

[0143] Specifically, when the washing machine enters the drying and heating phase, the outlet air temperature becomes the primary temperature indicator. The built-in outlet air temperature sensor provides real-time temperature data to represent the current operating temperature.

[0144] Through the above embodiment, by identifying the working stage of the washing machine and obtaining the corresponding working temperature, the temperature influence of the optical coupler can be accurately compensated, ensuring that the zero-crossing detection circuit can maintain high-precision zero-crossing point detection during the washing heating and drying heating stages.

[0145] In order to determine the surface temperature of the optical coupler according to the ambient temperature inside the washing machine, in an optional embodiment, the first obtaining unit further includes:

[0146] The fourth acquisition block is used to obtain the ambient temperature of the washing machine, the thermal radiation attenuation coefficient between the washing machine and the optical coupler, and the operating temperature of the optical coupler;

[0147] Specifically, obtain the external ambient temperature Te of the washing machine, the thermal radiation attenuation coefficient k (which represents the attenuation ratio when the heat inside the washing machine is transferred to the optocoupler, taking into account the structural layout and transmission medium characteristics), and the optocoupler operating temperature Tg (the temperature generated by the optocoupler due to its own operation, which is the thermal effect caused by the power consumption of the device itself).

[0148] a seventh determining module, configured to determine a second target temperature transmitted by the washing machine to the optical coupler according to the thermal radiation attenuation coefficient and the operating temperature;

[0149] The calculation module is used to obtain the first target temperature by summing the operating temperature, the ambient temperature and the second target temperature.

[0150] Specifically, the first target calculation formula is: Tb=k*T+Tg+Te, where Tb is the first target temperature and T is the operating temperature.

[0151] According to the above embodiment, by accurately calculating the surface temperature of the optocoupler, i.e., the first target temperature, the threshold of the zero-crossing detection circuit can be precisely adjusted, thereby maintaining high accuracy of zero-crossing detection even during the heating phase of the washing machine and avoiding zero-crossing point deviation caused by temperature.

[0152] The zero-crossing detection-based washing machine control device includes a processor and memory. The acquisition unit, determination unit, and control unit are all stored as program units in the memory. The processor executes the program units stored in the memory to implement the corresponding functions. All of the above modules are located in the same processor; alternatively, the above modules can be located in different processors in any combination.

[0153] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be set, and the accuracy of the washing machine's zero-crossing detection can be improved by adjusting the core parameters.

[0154] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0155] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program. When the program is executed, the device containing the computer-readable storage medium is controlled to execute the washing machine control method based on zero-crossing detection.

[0156] Specifically, the washing machine control method based on zero-crossing detection includes:

[0157] Step S201, obtaining the operating temperature of the washing machine, determining the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtaining a first target temperature;

[0158] Step S202, determining the forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage;

[0159] Step S203 , determining a zero-crossing point of the optocoupler according to the first target voltage, and controlling the operation of a valve load of the washing machine according to the zero-crossing point.

[0160] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the above-mentioned washing machine control method based on zero-crossing detection when it is run.

[0161] Specifically, the washing machine control method based on zero-crossing detection includes:

[0162] Step S201, obtaining the operating temperature of the washing machine, determining the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtaining a first target temperature;

[0163] Step S202, determining the forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage;

[0164] Step S203 , determining a zero-crossing point of the optocoupler according to the first target voltage, and controlling the operation of a valve load of the washing machine according to the zero-crossing point.

[0165] An embodiment of the present invention provides a washing machine, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are performed:

[0166] Step S201, obtaining the operating temperature of the washing machine, determining the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtaining a first target temperature;

[0167] Step S202, determining the forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage;

[0168] Step S203 , determining a zero-crossing point of the optocoupler according to the first target voltage, and controlling the operation of a valve load of the washing machine according to the zero-crossing point.

[0169] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:

[0170] Step S201, obtaining the operating temperature of the washing machine, determining the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtaining a first target temperature;

[0171] Step S202, determining the forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage;

[0172] Step S203 , determining a zero-crossing point of the optocoupler according to the first target voltage, and controlling the operation of a valve load of the washing machine according to the zero-crossing point.

[0173] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0174] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0175] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0176] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0178] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0179] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

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

[0181] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0182] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0183] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0184] 1) The washing machine control method based on zero-crossing detection of the present application first obtains the operating temperature of the washing machine, determines the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtains a first target temperature; then, determines the forward conduction voltage of the optocoupler under the action of the first target temperature to obtain a first target voltage; finally, determines the zero-crossing point of the optocoupler according to the first target voltage, and controls the valve load operation of the washing machine according to the zero-crossing point. The present application determines the surface temperature of the optocoupler based on the operating temperature of the washing machine and the heat conduction between the washing machine and the zero-crossing detection circuit, and corrects the forward conduction voltage of the optocoupler based on the surface temperature of the optocoupler, thereby eliminating the influence of temperature on the forward conduction voltage of the optocoupler, and further compensates the zero-crossing point according to the corrected forward conduction voltage, thereby avoiding the use of the forward conduction voltage under standard conditions for zero-crossing detection under different temperatures and controlling the operation of the washing machine according to the detection results, resulting in a deviation between the control time and the zero-crossing point, and the loss of the driving circuit caused by the instantaneous induced current. The present application solves the problem that the zero-crossing detection method in the prior art is affected by the operating temperature when applied to the washing machine, resulting in inaccurate zero-crossing detection and easy damage to the device.

[0185] 2) The washing machine control device based on zero-crossing detection of the present application, the acquisition unit acquires the operating temperature of the washing machine, determines the surface temperature of the optocoupler in the zero-crossing detection circuit of the washing machine according to the operating temperature, and obtains a first target temperature; the determination unit determines the forward conduction voltage of the optocoupler under the action of the first target temperature to obtain a first target voltage; the control unit determines the zero-crossing point of the optocoupler according to the first target voltage, and controls the valve load operation of the washing machine according to the zero-crossing point. The present application determines the surface temperature of the optocoupler based on the operating temperature of the washing machine and the heat conduction between the washing machine and the zero-crossing detection circuit, and corrects the forward conduction voltage of the optocoupler based on the surface temperature of the optocoupler, thereby eliminating the influence of temperature on the forward conduction voltage of the optocoupler, and further compensates the zero-crossing point according to the corrected forward conduction voltage, thereby avoiding the use of the forward conduction voltage under standard conditions for zero-crossing detection under different temperatures and controlling the operation of the washing machine according to the detection results, resulting in deviations between the control time and the zero-crossing point, and the loss of the driving circuit caused by the instantaneous induced current. The present application solves the problem that the zero-crossing detection method in the prior art is affected by the operating temperature when applied to the washing machine, resulting in inaccurate zero-crossing detection and easy damage to the device.

[0186] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A washing machine control method based on zero-crossing detection and correction, characterized in that: include: Acquiring an operating temperature of the washing machine, and determining a surface temperature of an optocoupler in a zero-crossing detection circuit of the washing machine according to the operating temperature to obtain a first target temperature; determining a forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage; A zero-crossing point of the optocoupler is determined according to the first target voltage, and the operation of a valve load of the washing machine is controlled according to the zero-crossing point.

2. The method according to claim 1, characterized in that Determining the forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage includes: Obtaining a preset curve corresponding to the first target temperature to obtain a target curve, wherein each preset curve is a curve showing a change in the input current of the input-side light-emitting diode of the optocoupler as a function of the forward conduction voltage of the optocoupler at different surface temperatures; Obtaining the input current of the input-side light-emitting diode at a current moment to obtain a first current; The forward conduction voltage corresponding to the first current is determined according to the target curve to obtain the first target voltage.

3. The method according to claim 1, characterized in that Determining a zero-crossing point of the optocoupler according to the first target voltage includes: Obtaining a peak voltage of a bus voltage detection circuit of the washing machine to obtain a second target voltage, and obtaining a bus voltage of the bus voltage detection circuit to obtain a third target voltage; determining an input voltage of the optocoupler according to the second target voltage and the third target voltage to obtain a fourth target voltage; The zero-crossing point is determined according to the first target voltage and the fourth target voltage.

4. The method according to claim 3, characterized in that Determining the input voltage of the optocoupler according to the second target voltage and the third target voltage to obtain a fourth target voltage includes: When the third target voltage is equal to a preset voltage, calculating the fourth target voltage according to the second target voltage; When the third target voltage is not equal to the preset voltage, the fourth target voltage is calculated according to the third target voltage.

5. The method according to claim 3, characterized in that Determining the zero-crossing point according to the first target voltage and the fourth target voltage includes: When the fourth target voltage is greater than or equal to the first target voltage, calculating a turn-on time and a turn-off time of the optocoupler according to the fourth target voltage; Determine the zero-crossing point closest to the current moment according to the turn-on moment and the turn-off moment to obtain a first zero-crossing point; Recursion is performed based on the period of the third target voltage and the first zero-crossing point is used as a reference to determine the other zero-crossing points.

6. The method according to claim 1, characterized in that Get the operating temperature of the washing machine, including: Determining a working stage of the washing machine, wherein the working stage includes at least a washing and heating stage and a drying and heating stage; When the working stage is the washing and heating stage, the washing temperature is determined as the working temperature; When the working stage is the drying and heating stage, the air outlet temperature is determined as the working temperature.

7. The method according to claim 1, characterized in that Determining a surface temperature of an optocoupler in a zero-crossing detection circuit of the washing machine according to the operating temperature to obtain a first target temperature includes: Acquire the ambient temperature of the washing machine, the thermal radiation attenuation coefficient between the washing machine and the optical coupler, and the operating temperature of the optical coupler; determining a second target temperature transmitted by the washing machine to the optical coupler according to the thermal radiation attenuation coefficient and the operating temperature; The first target temperature is obtained by summing the operating temperature, the ambient temperature, and the second target temperature.

8. A washing machine control device based on zero-crossing detection and correction, characterized in that: The device comprises: an acquisition unit, configured to acquire an operating temperature of the washing machine, determine a surface temperature of an optocoupler in a zero-crossing detection circuit of the washing machine according to the operating temperature, and obtain a first target temperature; a determining unit, configured to determine a forward conduction voltage of the optocoupler under the first target temperature to obtain a first target voltage; A control unit is used to determine a zero-crossing point of the optocoupler according to the first target voltage, and control the operation of a valve load of the washing machine according to the zero-crossing point.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

10. A washing machine, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing the method of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Communication circuit, control method and device thereof and electronic equipment

    CN114826314A

  • Zero-cross detection signal adjusting method and device, terminal equipment and medium

    CN115774144A

  • Temperature compensation type voltage detection method

    CN117590058A