A door lock detection system, method and washing machine

By acquiring the level signal and combining it with the feedback signals from the drive circuit and the main control circuit, the door lock status is determined, which solves the problem of detection errors in humid environments and improves the accuracy of door lock status detection.

CN115961450BActive Publication Date: 2025-11-11GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111177752.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-09
Publication Date
2025-11-11
Estimated Expiration
2041-10-09

AI Technical Summary

Technical Problem

Existing door lock status detection methods suffer from detection errors due to poor sealing in humid environments, affecting detection accuracy.

Method used

The door lock detection circuit acquires an electrical signal, and combines it with feedback signals from the main control circuit and drive circuit to determine the true state of the door lock, including sending motor rotation commands and receiving feedback signals to determine the closed or open state of the door lock.

Benefits of technology

It improves the accuracy of door lock status detection and solves the problem of detection errors caused by environmental factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115961450B_ABST
    Figure CN115961450B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a door lock detection system, method and washing machine. The method comprises the following steps: acquiring a level signal, determining whether the door lock is in a closed state or a disconnected state according to the level signal; when the door lock is determined to be in the closed state, sending a motor rotation instruction to a driving circuit, and determining whether a first feedback signal sent by the driving circuit when executing the motor rotation instruction is received; if the first feedback signal is received, it is determined that the door lock is closed, otherwise, it is determined that the door lock is disconnected. By using the above technical means, it is indirectly determined whether the door lock is a true closure or a false closure caused by the environment through the live state of the driving circuit, the problem that the existing door lock state detection method is affected by the environment and causes detection errors is solved, and the accuracy of the door lock state detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of detection technology, and in particular to a door lock detection system, method, and washing machine. Background Technology

[0002] Currently, washing machines use a door lock to secure the door while it's running, preventing users from opening it during high-speed rotation and endangering their safety. The door lock unlocks after the washing machine finishes its cycle. Therefore, the washing machine needs to detect the door lock status to determine whether to start or stop operation.

[0003] Traditional door lock status detection solutions mostly rely on detecting door lock signals. For example, they detect the door lock status by measuring the voltage level of the live wire connected to the door lock. When a high or low voltage signal is detected on the live wire, the door lock is closed; when a high voltage signal is detected, the door lock is open. However, the inventors discovered that in humid environments, due to poor sealing, the PT contacts of the door lock, even when open, still exhibit a certain impedance. This causes the optocoupler in the door lock detection circuit to conduct when the door lock should be open, resulting in the detection of both high and low voltage signals on the live wire, leading to incorrect door lock status detection. Summary of the Invention

[0004] This application provides a door lock detection system, method, and washing machine, which solves the problem of detection errors caused by environmental influences in existing door lock status detection methods and improves the accuracy of door lock status detection.

[0005] In a first aspect, embodiments of this application provide a door lock detection system, including a door lock detection circuit, a main control circuit, and a drive circuit. The door lock detection circuit is connected to the main control circuit, the main control circuit is connected to the drive circuit, and the drive circuit is connected in series with a door lock, wherein:

[0006] The door lock detection circuit is used to detect the door lock's voltage level signal and send the voltage level signal to the main control circuit;

[0007] The main control circuit is used to determine whether the door lock is closed or open based on the level signal; when the door lock is determined to be closed, it sends a motor rotation command to the drive circuit and determines whether it receives a first feedback signal sent by the drive circuit when executing the motor rotation command; if the first feedback signal is received, it determines that the door lock is closed, otherwise it determines that the door lock is open.

[0008] The drive circuit is used to receive the motor rotation command when energized, respond to the motor rotation command, and send a first feedback signal to the main control circuit.

[0009] Secondly, embodiments of this application provide a door lock detection method, including:

[0010] Acquire an electrical level signal and determine whether the door lock is in a closed or open state based on the electrical level signal;

[0011] When the door lock is determined to be in the closed state, a motor rotation command is sent to the drive circuit, and it is determined whether the first feedback signal sent by the drive circuit when executing the motor rotation command is received;

[0012] If the first feedback signal is received, it is determined that the door lock is closed; otherwise, it is determined that the door lock is open.

[0013] Thirdly, embodiments of this application provide a washing machine, including the door lock detection system as described in the first aspect.

[0014] The aforementioned door lock detection system, method, and washing machine determine whether the door lock is closed or open by acquiring an electrical level signal. When the door lock is determined to be closed, a motor rotation command is sent to the drive circuit, and it is determined whether a first feedback signal is received when the drive circuit executes the motor rotation command. If the first feedback signal is received, the door lock is determined to be closed; otherwise, the door lock is determined to be open. Using this technique, when the door lock is detected to be closed, it is impossible to directly determine whether the door lock is truly closed or falsely closed due to environmental factors. Therefore, a command is sent to the drive circuit, and it is determined whether a feedback signal is received after the drive circuit responds to the command. When a feedback signal is received from the drive circuit, it is determined that the drive circuit is still energized, and therefore the door lock connected in series with the drive circuit is also energized, i.e., the door lock is closed. If no feedback signal is received from the drive circuit, it is determined that the drive circuit is not energized, and therefore the door lock is open. By indirectly determining whether the door lock is truly closed or falsely closed due to environmental factors through the energization state of the drive circuit, the problem of detection errors caused by environmental influences in existing door lock status detection methods is solved, improving the accuracy of door lock status detection. Attached Figure Description

[0015] Figure 1 This is a structural block diagram of a door lock detection system provided in one embodiment of this application;

[0016] Figure 2 This is a schematic diagram of the door lock circuit provided in an embodiment of this application;

[0017] Figure 3 This is a schematic diagram of the door lock detection circuit provided in an embodiment of this application;

[0018] Figure 4 This is a flowchart of a door lock detection method provided in one embodiment of this application. Detailed Implementation

[0019] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and not for limiting the scope of the application. Furthermore, it should be noted that, for ease of description, only the parts relevant to the present application are shown in the drawings, not the entire structure.

[0020] It should be noted that in this paper, relational terms such as "first" and "second" are used only to distinguish one entity, operation, or object from another entity, operation, or object, and do not necessarily require or imply any such actual relationship or order between these entities, operations, or objects. For example, "first" and "second" in "first sample set" and "second sample set" are used to distinguish different sample sets.

[0021] Figure 1 This is a door lock detection system provided in one embodiment of this application. For example... Figure 1 As shown, the door lock detection system includes a door lock detection circuit, a main control circuit, and a drive circuit. The main control circuit connects the door lock detection circuit and the drive circuit, and the drive circuit is connected in series with the door lock. The door lock detection circuit detects the door lock's electrical level signal and sends it to the main control circuit. The main control circuit determines whether the door lock is closed or open based on the electrical level signal. When the door lock is determined to be closed, it sends a motor rotation command to the drive circuit and determines whether it receives a first feedback signal sent by the drive circuit when executing the motor rotation command. If the first feedback signal is received, the door lock is determined to be closed; otherwise, the door lock is determined to be open. The drive circuit, when energized, receives the motor rotation command, responds to the motor rotation command, and sends the first feedback signal to the main control circuit.

[0022] The door lock's voltage level signal can be understood as voltage data characterizing the door lock's voltage value. The door lock's energized state can be determined by its voltage value; when the door lock is energized, it is considered closed; when it is de-energized, it is considered open. A door lock detection circuit is connected to the door lock and monitors its voltage level signal in real time, sending the signal to the main control circuit. In this embodiment, reference... Figure 1 The door lock detection system also includes a door lock circuit, which connects the door lock detection circuit, the drive circuit, and the power supply line. For example, Figure 2 This is a schematic diagram of the door lock circuit provided in an embodiment of this application. Figure 2As shown, the power supply includes a live wire and a neutral wire. The door lock circuit includes a door lock 11, a first switch 12, and a linkage switch 13. The first terminal of the first switch 12 is connected to the neutral wire, and the second terminal of the first switch 12 is connected to the first terminal of the door lock 11. The second terminal of the door lock 11 is connected to the live wire and the first terminal of the linkage switch 13. The second terminal of the linkage switch 13 is connected to the power supply terminal of the drive circuit and the door lock detection circuit. Specifically, when the first switch 12 is closed, the door lock 11 is powered on and controls the linkage switch 13 to close. When the first switch is closed, the voltage difference between the live wire and the neutral wire generates a current. This current flows through the door lock, making it energized. Once energized, the door lock triggers the linkage switch to close, and the live wire supplies power to the drive circuit through the linkage switch. When the first switch is open, the path between the live wire and the neutral wire is broken, the door lock loses power, and the door lock loses power, triggering the linkage switch to open, preventing the live wire from supplying power to the drive circuit. Therefore, the drive circuit and the door lock can be considered as a series connection; that is, when the door lock loses power, the drive circuit also loses power, and when the door lock gains power, the drive circuit also gains power. However, in reality, the drive circuit is connected in series with the linkage switch. When the linkage switch is open, the drive circuit loses power; when the linkage switch is closed, the drive circuit gains power. Furthermore, the linkage switch is connected in series with the door lock detection circuit. The door lock detection circuit can detect the voltage value of the linkage switch in real time and determine whether the door lock is closed or open based on the voltage value of the linkage switch. Specifically, when the linkage switch is closed, the door lock is closed; when the linkage switch is open, the door lock is open. It can be understood that in this embodiment, the voltage value of the linkage switch is used as voltage data representing the voltage value of the door lock; that is, the voltage value of the linkage switch is the level signal collected by the door lock detection circuit in this embodiment.

[0023] In this embodiment, Figure 3 This is a schematic diagram of the door lock detection circuit provided in an embodiment of this application. Figure 3As shown, the door lock detection circuit includes a first diode D1, a second diode D2, a first capacitor C1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, and an optocoupler OCEP. The optocoupler OCEP includes an emitter and a receiver. The anode of the first diode is connected to the second terminal of the linkage switch. The cathode of the first diode is connected in series with the first, second, and third resistors. The second terminal of the third resistor is connected to the cathode of the second diode and the anode of the emitter. The anode of the second diode is connected to the cathode of the emitter. The emitter of the receiver is grounded. The collector of the receiver is connected to the first terminals of the fourth and fifth resistors. The second terminal of the fourth resistor is connected to a 5V power supply. The second terminal of the fifth resistor is connected to the first terminal of the first capacitor and the main control circuit. The second terminal of the first capacitor is grounded. For example, when the door lock is on, the linkage switch is closed, and the AC current supplied by the live wire flows to the door lock detection circuit. The emitter of the optocoupler turns on and off with the high and low levels of the AC current, and correspondingly, the receiver turns on and off with the emitter. Therefore, when the interlocked door is closed, the door lock detection circuit detects a high / low level signal with the same frequency as the AC power and sends this signal to the main control circuit. When the door is closed, the interlocked switch is open, and the AC power supplied by the live wire cannot flow to the door lock detection circuit. The optocoupler's emitter and receiver are also disconnected. Therefore, the door lock detection circuit detects a high-level signal and sends it to the main control circuit.

[0024] For example, the main control circuit pre-sets the closing conditions that the level signal must meet when the door lock is in the closed state. That is, the main control circuit determines the door lock is closed when the level signal meets the closing conditions, and determines the door lock is open when the level signal does not meet the closing conditions. For example, when the main control circuit determines that the level signal received from the door lock detection circuit is a high or low level signal, it determines the door lock is closed; when the main control circuit determines that the level signal received from the door lock detection circuit is a high level signal, it determines the door lock is open. However, due to environmental influences, such as in humid environments, after the door lock loses power, the PT contacts of the linkage switch still have a certain impedance even when open. This causes the door lock detection circuit to detect a high or low level signal of door lock closure when it should detect a high level signal of door lock closure, thus causing the main control circuit to determine the door lock is closed based on this high or low level signal. Therefore, when the main control circuit determines the door lock is open, it can directly determine that the door lock is not energized, i.e., determine that the door lock is open. When the main control circuit determines that the door lock is closed, it cannot determine whether the closure is genuine or a false closure caused by environmental factors. Further determination is needed to confirm whether the door lock is truly closed.

[0025] Furthermore, the drive circuit is connected in series with a linkage switch. When the door lock is powered, the linkage switch closes, and the drive circuit is energized. When the door lock is de-energized, the linkage switch opens, and the drive circuit is de-energized. Therefore, this embodiment proposes to indirectly determine the energization state of the door lock by judging the energization state of the drive circuit. For example, after determining that the door lock is closed, the main control circuit sends a motor rotation command to the drive circuit. If the drive circuit can receive and execute the motor rotation command, it indicates that the drive circuit is energized; if the drive circuit cannot receive or execute the motor rotation command, it indicates that the drive circuit is de-energized. Accordingly, when the drive circuit executes the motor rotation command, it sends a first feedback signal to the main control circuit. The first feedback signal is a message from the drive circuit informing the main control circuit that the motor rotation command has been executed. Therefore, when the main control circuit receives the first feedback signal sent by the drive circuit, it determines that the drive circuit is energized, and thus determines that the door lock is closed. If the drive circuit cannot receive or execute the motor rotation command, it cannot send the first feedback signal to the main control circuit. Therefore, if the main control circuit does not receive the first feedback signal within a first preset time after sending the motor rotation command to the drive circuit, it determines that the drive circuit is de-energized, and thus determines that the door lock is open. The first preset time is the maximum time required for the drive circuit to receive and respond to the motor rotation command.

[0026] In this embodiment, the main control circuit includes a first microcontroller, and the drive circuit includes a second microcontroller. The first microcontroller has a first transmitting end and a first receiving end, and the second microcontroller has a second transmitting end and a second receiving end. The first transmitting end is connected to the second receiving end, and the first receiving end is connected to the second transmitting end. Specifically, the first microcontroller is used to send a motor rotation command to the second receiving end via the first transmitting end; and to receive a first feedback signal sent by the second transmitting end via the first receiving end. The second microcontroller is used to receive the motor rotation command via the second receiving end when energized, and to control the motor rotation according to the motor rotation command; and to send the first feedback signal to the first receiving end via the second transmitting end after the motor rotates. For example, communication between the main control circuit and the drive circuit requires a corresponding communication circuit, and command or signal transmission is achieved through a communication protocol. After determining that the door lock is closed, the first microcontroller sends a motor rotation command to the second receiving end of the second microcontroller via the first transmitting end. If the second microcontroller is energized, it receives the motor rotation command; if the second microcontroller is not energized, it cannot receive the motor rotation command, nor can it send the first feedback signal to the first receiving end via the second transmitting end. When the second microcontroller receives a motor rotation command while energized, it executes the command to control the motor's rotation. However, if the motor is de-energized, the drive circuit cannot execute the rotation command, and therefore cannot send the first feedback signal to the first receiver via the second transmitter. Thus, if the first microcontroller does not receive the first feedback signal from the second microcontroller within a preset time after sending the motor rotation command, it determines that the drive circuit is de-energized, and thus determines that the door lock is open. Conversely, if the first microcontroller receives the first feedback signal from the second microcontroller within the preset time after sending the motor rotation command, it determines that the drive circuit is energized, and thus determines that the door lock is closed.

[0027] In one embodiment, reference Figure 1 The door lock detection system also includes a load circuit, which is connected to the main control circuit. The main control circuit, when determining that the door lock is closed, sends a power-on command to the load circuit and determines whether it receives a second feedback signal from the load circuit executing the power-on command. If the second feedback signal is received, the door lock is determined to be closed; otherwise, it is determined to be open. The load circuit, when energized, receives the power-on command, responds to the power-on command, and sends a second feedback signal to the main control circuit. It should be noted that the load circuit is a communication circuit, meaning it needs to be configured with an intelligent module, similar to a microcontroller, to transmit commands via a corresponding communication protocol. For example, the load circuit is equivalent to the aforementioned drive circuit, and it is also connected in series with the door lock. When the door lock loses power, the load circuit loses power; when the door lock gains power, the load circuit gains power. The energized state of the door lock is indirectly determined by judging the energized state of the load circuit. For details, refer to... Figure 2 The power supply terminal of the load circuit is connected to the second terminal of the linkage switch of the door lock circuit. That is, the load circuit is connected in series with the linkage switch. When the door lock loses power, the linkage switch opens and the load circuit loses power. When the door lock is powered on, the linkage switch closes and the load circuit is powered on. Therefore, it can also be regarded as the load circuit and the door lock connected in series.

[0028] For example, the load circuit is configured with a third microcontroller, which includes a third transmitter and a third receiver. If the third transmitter of the third microcontroller can receive a power-on command and execute the command to control the corresponding load to be powered on, it indicates that both the third microcontroller and the corresponding load are energized, i.e., the load circuit is energized. If the load circuit cannot receive or execute the power-on command, it indicates that the load circuit is de-energized. Accordingly, when the third microcontroller executes the power-on command, it sends a first feedback signal to the main control circuit through the third transmitter. The second feedback signal is a message from the load circuit informing the main control circuit that the power-on command has been executed. Therefore, when the main control circuit receives the second feedback signal from the load circuit, it determines that the load circuit is energized, and thus determines that the door lock is closed. If the load circuit cannot receive or execute the power-on command, it cannot send the first feedback signal to the main control circuit. Therefore, if the main control circuit does not receive the first feedback signal within a second preset time after sending the power-on command to the load circuit, it determines that the load circuit is de-energized, and thus determines that the door lock is open. The second preset time is the maximum time required for the load circuit to receive and respond to the power-on command.

[0029] Based on the above embodiments, this application also provides a door lock detection method. The door lock detection method can be executed by a door lock detection device, which can be implemented through software and / or hardware. The door lock detection device can consist of two or more physical entities, or it can be a single physical entity. For example, the door lock detection device can be an entire washing machine or a complete door lock detection system, or it can be the main control circuit of the door lock detection system, or even a microcontroller in the main control circuit. Furthermore, the door lock detection device at least has an application program capable of executing the door lock detection method; therefore, the door lock detection device can also be the application program itself. For ease of understanding, the embodiments use a door lock detection system as an example to describe the door lock detection device.

[0030] Figure 4 This is a flowchart illustrating a door lock detection method according to one embodiment of this application. (Reference) Figure 4 The door lock detection method includes:

[0031] S110. Obtain the level signal and determine whether the door lock is closed or open based on the level signal.

[0032] For example, refer to Figure 2 and Figure 3 The voltage level signal is detected by the door lock detection circuit. This circuit is connected to a linkage switch; when the door lock is powered on, the linkage switch closes; when the door lock is de-powered, the linkage switch opens. When the linkage switch is closed, the door lock detection circuit detects a high / low voltage signal with the same frequency as the AC power from the live wire. When the linkage switch is open, the door lock detection circuit detects a high voltage signal. Therefore, when the voltage level signal is either high or low, the door lock is determined to be closed; when the voltage level signal is high, the door lock is determined to be open.

[0033] S120. When it is determined that the door lock is in the closed state, a motor rotation command is sent to the drive circuit, and it is determined whether the first feedback signal sent by the drive circuit when executing the motor rotation command is received.

[0034] For example, due to environmental factors, after the door lock loses power, the PT contacts of the interlock switch still have a certain impedance even when open. This causes the door lock detection circuit to detect a high-level signal indicating the door lock is closed, instead of the expected high-level signal. Consequently, the main control circuit determines the door lock is closed based on this high / low level signal. Therefore, when the main control circuit determines the door lock is open, it can directly determine that the door lock is not energized, i.e., the door lock is open. When the main control circuit determines the door lock is closed, it cannot determine whether this closure is genuine or a false closure caused by environmental factors; further verification is needed to confirm whether the door lock is truly closed.

[0035] In this embodiment, a linkage switch is connected in series with the drive circuit. When the door lock is powered, the linkage switch closes, and the drive circuit is energized. When the door lock is de-energized, the linkage switch opens, and the drive circuit is de-energized. Therefore, this embodiment proposes to indirectly determine the energization state of the door lock by judging the energization state of the drive circuit. After determining that the door lock is closed, the main control circuit sends a motor rotation command to the drive circuit. If the drive circuit can receive and execute the motor rotation command, it indicates that the drive circuit is energized; if the drive circuit cannot receive or execute the motor rotation command, it indicates that the drive circuit is de-energized. Accordingly, when executing the motor rotation command, the drive circuit sends a first feedback signal to the main control circuit. The first feedback signal is a message from the drive circuit informing the main control circuit that the motor rotation command has been executed.

[0036] S130. If the first feedback signal is received, determine that the door lock is closed; otherwise, determine that the door lock is open.

[0037] For example, when the main control circuit receives the first feedback signal from the drive circuit, it determines that the drive circuit is energized, and thus determines that the door lock is closed. As can be seen from the above, if the drive circuit cannot receive or execute the motor rotation command, it cannot send the first feedback signal to the main control circuit. Therefore, if the main control circuit does not receive the first feedback signal within a first preset time after sending the motor rotation command to the drive circuit, it determines that the drive circuit is de-energized, and thus determines that the door lock is open.

[0038] In one embodiment, when the door lock is determined to be in a closed state, a power-on command is sent to the load circuit, and it is determined whether a second feedback signal sent by the load circuit when executing the power-on command is received. For example, the load circuit is equivalent to the aforementioned drive circuit, and it is also connected in series with the door lock. When the door lock is de-energized, the load circuit is de-energized; when the door lock is energized, the load circuit is energized. The energized state of the door lock is indirectly determined by judging the energized state of the load circuit. The second feedback signal refers to the message from the load circuit informing the main control circuit that the power-on command has been executed. Therefore, when the main control circuit receives the second feedback signal sent by the load circuit, it determines that the load circuit is energized, and thus determines that the door lock is closed. If the load circuit cannot receive the power-on command or cannot execute the power-on command, the load circuit cannot send the first feedback signal to the main control circuit. Therefore, if the main control circuit does not receive the first feedback signal within a second preset time after sending the power-on command to the load circuit, it determines that the load circuit is de-energized, and thus determines that the door lock is open.

[0039] Based on the above embodiments, this application also provides a washing machine, which includes the door lock detection system described above. The door lock detection system can detect whether the door lock of the washing machine is closed or open in real time, with high detection accuracy.

[0040] Moreover, most of the circuits in the door lock detection system provided in this embodiment are already present in traditional washing machines. It is only necessary to add the application program described in the above door lock detection method to the microcontroller of the main control circuit, drive circuit and load circuit based on the traditional washing machine to realize the door lock detection system in this embodiment. No hardware circuit modification is required, and the operation is convenient and quick.

[0041] In summary, the door lock detection system, method, and washing machine provided in this embodiment acquire an electrical level signal and determine whether the door lock is in a closed or open state based on the signal. When the door lock is determined to be closed, a motor rotation command is sent to the drive circuit, and it is determined whether a first feedback signal sent by the drive circuit when executing the motor rotation command is received. If the first feedback signal is received, the door lock is determined to be closed; otherwise, the door lock is determined to be open. Through the above technical means, when the door lock is detected to be closed, it is impossible to directly determine whether the door lock is truly closed or falsely closed due to environmental factors. Therefore, a command is sent to the drive circuit, and it is determined whether a feedback signal is received after the drive circuit responds to the command. When a feedback signal is received from the drive circuit, it is determined that the drive circuit is still energized, and thus the door lock connected in series with the drive circuit is also energized, i.e., the door lock is determined to be closed. If no feedback signal is received from the drive circuit, it is determined that the drive circuit is not energized, and thus the door lock is determined to be open. By indirectly determining whether the door lock is truly closed or falsely closed due to environmental factors through the energization state of the drive circuit, the problem of detection errors caused by environmental influences in existing door lock status detection methods is solved, improving the accuracy of door lock status detection. In addition, the drive circuit can be replaced with a load circuit, and the door lock status can be determined by detecting the energization status of the load circuit.

[0042] Based on the above description of the implementation methods, those skilled in the art can clearly understand that this application can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0043] Note that the above description is merely a preferred embodiment and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this application, and the scope of this application is determined by the scope of the appended claims.

Claims

1. A door lock detection system, characterized in that, The system includes a door lock detection circuit, a main control circuit, a door lock circuit, and a drive circuit. The door lock detection circuit is connected to the main control circuit, the main control circuit is connected to the drive circuit, the drive circuit is connected in series with the door lock, and the door lock circuit is connected to the door lock detection circuit, the drive circuit, and a power supply line. The power supply line includes a live wire and a neutral wire. The door lock circuit includes a door lock, a first switch, and a linkage switch. The first end of the first switch is connected to the neutral wire. The second end of the first switch is connected to the first end of the door lock. The second end of the door lock is connected to the live wire and the first end of the linkage switch. The second end of the linkage switch is connected to the power supply terminal of the drive circuit and the door lock detection circuit. When the first switch is closed, the door lock is turned on and controls the linkage switch to close. The door lock detection circuit is used to detect the door lock's voltage level signal and send the voltage level signal to the main control circuit; The main control circuit is used to determine whether the door lock is closed or open based on the level signal; when the door lock is determined to be closed, it sends a motor rotation command to the drive circuit and determines whether it receives a first feedback signal sent by the drive circuit when executing the motor rotation command; if the first feedback signal is received, it determines that the door lock is closed, otherwise it determines that the door lock is open. The drive circuit is used to receive the motor rotation command when energized, respond to the motor rotation command, and send a first feedback signal to the main control circuit.

2. The system according to claim 1, characterized in that, The door lock detection circuit includes a first diode, a second diode, a first capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, and an optocoupler. The optocoupler includes a light emitter and a light receiver, wherein: The anode of the first diode is connected to the second terminal of the linkage switch. The cathode of the first diode is connected in series with the first resistor, the second resistor, and the third resistor. The second terminal of the third resistor is connected to the cathode of the second diode and the anode of the light emitter. The anode of the second diode is connected to the cathode of the light emitter. The emitter of the light receiver is grounded. The collector of the light receiver is connected to the first terminal of the fourth resistor and the first terminal of the fifth resistor. The second terminal of the fourth resistor is connected to the 5V power supply terminal. The second terminal of the fifth resistor is connected to the first terminal of the first capacitor and the main control circuit. The second terminal of the first capacitor is grounded.

3. The system according to claim 1, characterized in that, The main control circuit includes a first microcontroller, and the driving circuit includes a second microcontroller. The first microcontroller is provided with a first transmitting end and a first receiving end, and the second microcontroller is provided with a second transmitting end and a second receiving end. The first transmitting end is connected to the second receiving end, and the first receiving end is connected to the second transmitting end, wherein: The first microcontroller is used to send the motor rotation command to the second receiving end through the first transmitting end; and to receive the first feedback signal sent by the second transmitting end through the first receiving end. The second microcontroller is used to receive the motor rotation command through the second receiving terminal when energized, and control the motor rotation according to the motor rotation command; after the motor rotates, it sends the first feedback signal to the first receiving terminal through the second transmitting terminal.

4. The system according to claim 1, characterized in that, The door lock detection system also includes a load circuit, which is connected to the main control circuit and is connected in series with the door lock, wherein: The main control circuit is also used to, when determining that the door lock is in a closed state, send a power-on command to the load circuit and determine whether a second feedback signal is received from the load circuit to execute the power-on command; if the second feedback signal is received, the door lock is determined to be closed, otherwise the door lock is determined to be open. The load circuit is used to receive the power-on command when energized, respond to the power-on command, and send a second feedback signal to the main control circuit.

5. The system according to claim 4, characterized in that, The power supply terminal of the load circuit is connected to the second terminal of the linkage switch of the door lock circuit.

6. A door lock detection method, characterized in that, The method, applied to the door lock detection system according to any one of claims 1-5, comprises: Obtain the electrical level signal of the door lock, and determine whether the door lock is in a closed or open state based on the electrical level signal; When the door lock is determined to be in the closed state, a motor rotation command is sent to the drive circuit, and it is determined whether the first feedback signal sent by the drive circuit when executing the motor rotation command is received; If the first feedback signal is received, it is determined that the door lock is closed; otherwise, it is determined that the door lock is open.

7. The method according to claim 6, characterized in that, The step of determining whether the door lock is closed or open based on the level signal includes: When the level signal is a high or low level signal that is consistent with the AC frequency of the live wire, the door lock is determined to be in a closed state. When the level signal is a high level signal, it is determined that the door lock is in the open state.

8. The method according to claim 6, characterized in that, The door lock detection system also includes a load circuit, which is connected to the main control circuit and is connected in series with the door lock. Accordingly, the door lock detection method further includes: When the door lock is determined to be in the closed state, a power-on command is sent to the load circuit, and it is determined whether a second feedback signal is received when the load circuit executes the power-on command; If the second feedback signal is received, it is determined that the door lock is closed; otherwise, it is determined that the door lock is open.

9. A washing machine, characterized in that, Includes the door lock detection system as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Independent detection device for elevator door lock

    CN213326206U