Control circuit, method, air conditioner wire controller, air conditioner and storage medium
By integrating transistors and switches in the air conditioner line controller and using relays to control the status of the indicator light, the problem of the indicator light not working after the wire controller is powered off is solved, and the functions of the air conditioner line controller are diversified and the user experience is improved.
Patent Information
- Application Number
- CN202310619508.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2043-05-29
AI Technical Summary
The indicator lights of the existing air conditioner cable controller cannot work normally after power is cut off, affecting the user experience.
By integrating the first transistor, the second transistor, the relay, the first switch and the second switch in the air conditioner line controller, the state of the indicator light is controlled by using the relay, and the purpose of controlling the indicator light status is achieved by controlling the first switch and the second switch when the online controller is powered off, and the light switch function is realized.
It solves the problem of air conditioning damage or the lighting cannot be used after the power is cut off, realizes diversification of the functions of the wire control and improves the user experience.
Smart Images

Figure CN116678089B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of smart home control technology, and in particular to a control circuit, method, air conditioner wire controller, air conditioner, and storage medium. Background Art
[0002] Wired controllers are increasingly used to control device indicator lights, further indicating the device's operating status. However, if the controller breaks down or the air conditioner loses power, the lights can become unavailable, impacting the user experience. Specifically, if the light switch was on before the power went out, the light would remain on and unable to be turned off after the controller loses power. Similarly, if the light switch was off before the power went out, the light would remain off and unable to be turned on after the controller loses power.
[0003] Currently, the wired controller integrates the light control function. The power supply of the wired controller is directly supplied through the communication line, and the power supply capacity is limited. It will only be supplied when the power supply of the indoor unit is cut off or the indoor unit cuts off the power supply of the wired controller. When the air conditioner is in standby mode, the wired controller needs to be processed for low power consumption. Summary of the Invention
[0004] In view of this, in order to solve the technical problem that the indicator light does not work after the wire controller is powered off, the embodiments of the present invention provide a control circuit, method, air conditioner wire controller, air conditioner and storage medium.
[0005] In a first aspect, an embodiment of the present invention provides a control circuit, including:
[0006] a first transistor, a second transistor, a relay, a first switch, a second switch, and an indicator light;
[0007] The first electrode of the first transistor is connected to the first IO interface, the second electrode is connected to the first ground terminal, and the third electrode is connected to the first terminal of the relay;
[0008] The first electrode of the second transistor is connected to the second IO interface, the second electrode is connected to the second ground terminal, and the third electrode is connected to the second terminal of the relay;
[0009] The third end of the relay is connected to one end of the first switch and one end of the second switch, the fourth end of the relay is connected to the other end of the first switch and one end of the indicator light, and the fifth end of the relay is connected to a power supply;
[0010] The other end of the second switch is connected to the other end of the indicator light.
[0011] In one possible implementation, during a first stage of normal operation of the control circuit, the first switch remains in a normally open state, the second switch remains in a normally closed state, the first IO interface outputs a high-level control signal to the first transistor, and the first transistor outputs a high-level control signal to the relay, causing the relay to close and output a drive signal to the indicator light. The indicator light turns on after receiving the drive signal.
[0012] During the second stage of normal operation of the control circuit, the first switch remains in a normally open state, the second switch remains in a normally closed state, the second IO interface outputs a low-level control signal to the second transistor, and the second transistor outputs a low-level control signal to the relay, so that the relay is disconnected and the indicator light is controlled to be turned off;
[0013] In the first stage of abnormal operation of the control circuit, after the display panel of the wired controller is removed, the control circuit automatically outputs a high-level control signal to the first switch. After receiving the high-level control signal, the first switch remains in a normally closed state and outputs the high-level control signal to the second switch. After the second switch outputs the high-level control signal to the indicator light, the indicator light turns on.
[0014] In the second stage of abnormal operation of the control circuit, after the display panel of the wire controller is removed, the control circuit automatically outputs a high-level control signal to the first switch. After receiving the high-level control signal, the first switch remains in a normally closed state and outputs a low-level control signal to the second switch. After the second switch outputs a low-level control signal to the indicator light, the indicator light is turned off.
[0015] In one possible implementation, the circuit further includes:
[0016] a first resistor and a second resistor;
[0017] One end of the first resistor is connected to the first IO interface, and the other end is connected to the first electrode of the first transistor;
[0018] One end of the second resistor is connected to the second IO interface, and the other end is connected to the first electrode of the second transistor.
[0019] In a second aspect, an embodiment of the present invention provides a control method, which is applied to the above-mentioned control circuit, including:
[0020] Obtaining the switch state of the first transistor and obtaining the switch state of the second transistor;
[0021] controlling the driving states of relays respectively connected to the first transistor and the second transistor according to the switching states of the first transistor and the second transistor;
[0022] Determine the working mode of the wired controller;
[0023] The indicator light in the control circuit is controlled according to the working mode.
[0024] In one possible implementation, controlling the driving states of relays respectively connected to the first transistor and the second transistor according to the switching state of the first transistor and the switching state of the second transistor includes:
[0025] When the first transistor is in the on state and the second transistor is in the off state, the control relay is in the start state;
[0026] When the first transistor is in an off state and the second transistor is in an on state, the relay is controlled to be in an off state.
[0027] In one possible implementation, determining the operating mode of the wire controller includes:
[0028] Determine whether the wire controller is in a power-off state;
[0029] When the wire controller is in a power-off state, determining that the wire controller is in a power-off mode;
[0030] When the wired controller is not in a power-off state, it is determined that the wired controller is in a working mode.
[0031] In one possible implementation, controlling the indicator light in the control circuit according to the operating mode includes:
[0032] When the wired controller is in a power-off mode, the indicator light is controlled according to the switch state of the second switch;
[0033] When the wired controller is in the working mode, the indicator light is controlled according to the driving state of the relay.
[0034] In one possible implementation, controlling the indicator light according to the switch state of the second switch includes:
[0035] Controlling the first switch to be in a normally closed state;
[0036] When the second switch is in the off state, the indicator light is controlled to turn on;
[0037] When the second switch is in the off state, the indicator light is turned off.
[0038] In one possible implementation, controlling the indicator light according to the driving state of the relay includes:
[0039] The first switch is controlled to be in a normally open state by a manual button, and the second switch is controlled to be in a normally closed state by a manual button;
[0040] When the relay is in the starting state, the indicator light is turned on and controlled;
[0041] When the relay is in the disconnected state, the indicator light is turned off.
[0042] In a third aspect, an embodiment of the present invention provides an air conditioner wired controller, which includes the control method of the air conditioner wired controller described in any one of the second aspects.
[0043] In a fourth aspect, an embodiment of the present invention provides an air conditioner, comprising: a processor and a memory, wherein the processor is configured to execute a control program of an air conditioner wired controller stored in the memory to implement any of the air conditioner wired controller control methods described in the second aspect.
[0044] In a fifth aspect, an embodiment of the present invention provides a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the control method of the air conditioner wire controller described in any one of the second aspects.
[0045] The control circuit provided in an embodiment of the present invention comprises a first transistor, a second transistor, a relay, a first switch, a second switch, and an indicator light. The first electrode of the first transistor is connected to a first IO interface, the second electrode is connected to a first ground terminal, and the third electrode is connected to the first terminal of the relay. The first electrode of the second transistor is connected to a second IO interface, the second electrode is connected to a second ground terminal, and the third electrode is connected to the second terminal of the relay. The third terminal of the relay is connected to one terminal of the first switch and one terminal of the second switch. The fourth terminal of the relay is connected to the other terminal of the first switch and one terminal of the indicator light. The fifth terminal of the relay is connected to a power supply. The other terminal of the second switch is connected to the other terminal of the indicator light. By integrating the first and second switches with the wired controller, when the wired controller is operating normally, the indicator light state is controlled by the relay. When the wired controller loses power, the indicator light state is controlled by controlling the first and second switches. By integrating the light switch function into the wired controller, the wired controller can be installed in the light switch position without having to drill a hole and install the wired controller again. This solution can achieve diversified functions of the wired controller and solve the technical effect of the lighting being unusable after the air conditioner is damaged or the wired controller is powered off, which affects the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0048] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0049] Figure 1 A schematic structural diagram of a control circuit provided by an embodiment of the present invention;
[0050] Figure 2 A flow chart of a control method provided by an embodiment of the present invention;
[0051] Figure 3 A schematic flow chart of another control method provided by an embodiment of the present invention;
[0052] Figure 4 A schematic structural diagram of an air conditioner provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0053] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying 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 of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0054] In the embodiments of the present invention, the terms "including" and "having" are intended to convey an open-ended, inclusive meaning and indicate that additional elements / components / etc. may be present in addition to the listed elements / components / etc.; the terms "first" and "second," etc., are used merely as labels and do not limit the quantity of their objects. Furthermore, the various elements and regions in the drawings are shown for schematic purposes only, and thus the present invention is not limited to the sizes or distances shown in the drawings.
[0055] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below with reference to the accompanying drawings. The embodiments do not limit the embodiments of the present invention.
[0056] Figure 1 This is a schematic diagram of a control circuit provided by an embodiment of the present invention. Figure 1 The control circuit specifically includes:
[0057] A first transistor T1, a second transistor T2, a relay K1, a first switch S1, a second switch S2 and an indicator light L1.
[0058] The first electrode of the first transistor T1 is connected to the first IO interface (ie, the ON button), the second electrode is connected to the first ground terminal, and the third electrode is connected to the first terminal of the relay K1.
[0059] The first electrode of the second transistor T2 is connected to the second IO interface (ie, the OFF button), the second electrode is connected to the second ground terminal, and the third electrode is connected to the second terminal of the relay K1.
[0060] The third end of the relay K1 is connected to one end of the first switch S1 and one end of the second switch S2, the fourth end of the relay K1 is connected to the other end of the first switch S1 and one end of the indicator light L1, and the fifth end of the relay K1 is connected to the power supply.
[0061] The other end of the second switch S2 is connected to the other end of the indicator light L1 .
[0062] The first electrode of the first transistor and the second transistor mentioned here is the base of the transistor, the second electrode of the first transistor and the second transistor mentioned here is the emitter of the transistor, and the third electrode of the first transistor and the second transistor mentioned here is the collector of the transistor.
[0063] The relay's internal structure includes an inductor and at least one normally-open switch. The relay's first terminal is one end of the inductor within the relay's internal structure, the relay's second terminal is the other end of the inductor within the relay's internal structure, the relay's third terminal is one end of the normally-open switch within the relay's internal structure, the relay's fourth terminal is the other end of the normally-open switch within the relay's internal structure, and the relay's fifth terminal is the end of the relay's internal structure that connects to an external power source.
[0064] During the first stage of normal operation of the control circuit, the first switch S1 remains in a normally open state, the second switch S2 remains in a normally closed state, the first IO interface (i.e., the ON button) outputs a high-level control signal to the first transistor T1, and the first transistor T1 outputs a high-level control signal to the relay K1, causing the relay K1 to close and output a drive signal to the indicator light L1, which turns on after receiving the drive signal.
[0065] During the second stage of normal operation of the control circuit, the first switch S1 remains in a normally open state, the second switch S2 remains in a normally closed state, the second IO interface (i.e., the OFF button) outputs a low-level control signal to the second transistor T2, and the second transistor T2 outputs a low-level control signal to the relay K1, so that the relay K1 is disconnected and the control indicator light L1 is turned off.
[0066] In the first stage of abnormal operation of the control circuit, after the display panel of the wire controller is removed, the control circuit automatically outputs a high-level control signal to the first switch S1. After receiving the high-level control signal, the first switch S1 remains in a normally closed state and outputs the high-level control signal to the second switch S2. After the second switch S2 outputs a high-level control signal to the indicator light L1, the indicator light L1 is turned on.
[0067] In the second stage of abnormal operation of the control circuit, after the display panel of the wire controller is removed, the control circuit automatically outputs a high-level control signal to the first switch S1. After receiving the high-level control signal, the first switch S1 remains in a normally closed state and outputs a low-level control signal to the second switch S2. After the second switch S2 outputs a low-level control signal to the indicator light L1, the indicator light L1 is turned off.
[0068] according to Figure 1 The control circuit also includes:
[0069] a first resistor R1 and a second resistor R2.
[0070] One end of the first resistor R1 is connected to the first IO interface (ie, the ON button), and the other end is connected to the first electrode of the first transistor T1.
[0071] One end of the second resistor R2 is connected to the second IO interface (ie, the OFF button), and the other end is connected to the first electrode of the second transistor T2.
[0072] The first resistor R1 and the second resistor R2 mentioned here are used to protect the circuit where the air conditioner wired controller is located.
[0073] In a possible example scenario, during the first stage of normal operation of the control circuit, the first switch S1 remains in a normally open state, and the second switch S2 remains in a normally closed state. A high-level control signal is output to the first transistor T1 through the protection of the first IO interface (i.e., the ON button) and the first resistor R1. The first transistor T1 is closed, the control relay K1 is closed, and a drive signal is output to the indicator light L1, thereby controlling the indicator light L1 to turn on.
[0074] During the second stage of normal operation of the control circuit, the first switch S1 remains in a normally open state, the second switch S2 remains in a normally closed state, and under the protection of the second IO interface (i.e., the OFF button) and the second resistor R2, a low-level control signal is output to the second transistor T2, and the second transistor T2 is disconnected, causing the relay K1 to be disconnected, thereby controlling the indicator light L1 to be turned off.
[0075] In the first stage of abnormal operation of the control circuit (power failure or line damage), after the display panel of the wire controller is removed, the control circuit automatically outputs a high-level control signal to the first switch S1, so that the first switch S remains in a normally closed state, and outputs a high-level control signal to the second switch S2, so that the second switch S2 is closed, thereby controlling the indicator light L1 to turn on.
[0076] In the second stage of abnormal operation of the control circuit, after the display panel of the wire controller is removed, the control circuit automatically outputs a high-level control signal to the first switch S1, so that the first switch S1 remains in a normally closed state, and outputs a low-level control signal to the second switch S2, so that the second switch S2 is disconnected, and a loop cannot be formed, thereby controlling the indicator light L1 to turn off.
[0077] The control circuit provided in the embodiment of the present invention is provided with a first transistor, a second transistor, a relay, a first switch, a second switch and an indicator light; by integrating the first switch and the second switch on the online controller, when the online controller is operating normally, the state of the indicator light is controlled by the relay; when the online controller is powered off, the state of the indicator light is controlled by controlling the first switch and the second switch. By integrating the light switch function into the online controller, the online controller is installed in the light switch position without having to drill a hole and reinstall the online controller. This solution can achieve diversified functions of the online controller, and solve the technical effect of the problem that the lighting cannot be used after the air conditioner is damaged or the online controller is powered off, which affects the user experience.
[0078] Figure 2 A flow chart of a control method provided in an embodiment of the present invention. Applied to the control circuit of the previous embodiment. Figure 2 The control method specifically includes:
[0079] S201: Acquire the switch state of the first transistor and the switch state of the second transistor.
[0080] The embodiment of the present invention is implemented by a wired controller. By integrating a first switch and a second switch, when the wired controller is operating normally, the on / off state of the first transistor and the second transistor is controlled to control the on / off state of the relay, and the on / off state of the relay controls the state of the indicator light. When the wired controller experiences a power outage, the relay fails, the control circuit automatically controls the first switch to a normally closed state, and the on / off state of the second switch controls the state of the indicator light. By integrating a light switch function, the wired controller can be directly installed in the light switch position without having to drill a hole to reinstall the wired controller, thereby achieving diversified functions of the wired controller and resolving the problem of the lighting being unusable after an air conditioner is damaged or the wired controller is powered off, which affects the user experience.
[0081] Furthermore, the current states of the first transistor and the second transistor are collected by the system to prepare for determining the state of the relay.
[0082] S202 : Control driving states of relays respectively connected to the first transistor and the second transistor according to the switching state of the first transistor and the switching state of the second transistor.
[0083] The driving state mentioned here can be understood as the driving state when the relay is turned on and the disconnecting state when the relay is turned off.
[0084] Furthermore, according to the switching state of the first transistor and the switching state of the second transistor, when the first transistor is closed and the second transistor is disconnected, the control relay is turned on and is in the driving state; when the first transistor is disconnected and the second transistor is closed, the control relay is turned off and is in the disconnected state.
[0085] S203: Determine the working mode of the wired controller.
[0086] The working mode mentioned here can be understood as normal working mode or abnormal working mode.
[0087] Furthermore, the operating mode of the wired controller can be determined based on the driving state of the relay. When the relay is in the driving state, the wired controller is in the normal operating mode; when the relay is in the disconnected state, the wired controller is determined to be in the abnormal operating mode.
[0088] S204: Control the indicator lights in the control circuit according to the working mode.
[0089] Furthermore, by determining the working mode of the wire controller, the working state of the current line and the state of the relay are represented, and then the control strategy of the indicator light is determined, and then the indicator light is controlled.
[0090] A control method provided by an embodiment of the present invention determines the driving state of a relay by obtaining the switching state of a first transistor and a second transistor; determines the working mode of the circuit in which the wire controller is located according to the driving state of the relay, and adopts different control strategies according to different working modes to control the indicator lights, thereby realizing the diversification of the functions of the wire controller and solving the technical effect of the problem that the lighting cannot be used after the air conditioner is damaged or the wire controller is out of power, which affects the user experience.
[0091] Figure 3 A flowchart of another control method provided by an embodiment of the present invention. Figure 3 This is introduced based on the second embodiment. Figure 3 The control method further includes:
[0092] S301: Acquire the switch state of the first transistor and the switch state of the second transistor.
[0093] The embodiment of the present invention is implemented by a wired controller. By integrating a first switch and a second switch, when the wired controller is operating normally, the on / off states of the first and second transistors are controlled to control the on / off states of the relay, which in turn controls the state of the indicator light. When the wired controller experiences a power outage, the relay fails, the control circuit automatically controls the first switch to a normally closed state, and the on / off state of the second switch controls the state of the indicator light. This achieves diversified wired controller functionality and resolves the issue of the lighting failing after an air conditioner is damaged or the wired controller loses power, impacting user experience.
[0094] Furthermore, the current states of the first transistor and the second transistor are collected by the system to prepare for determining the state of the relay.
[0095] S302: When the first transistor is in the on state and the second transistor is in the off state, the control relay is in the start state.
[0096] S303: When the first transistor is in the off state and the second transistor is in the on state, the control relay is in the off state.
[0097] Furthermore, according to the switching state of the first transistor and the switching state of the second transistor, when the first transistor is closed and the second transistor is disconnected, the control relay is turned on and is in the driving state; when the first transistor is disconnected and the second transistor is closed, the control relay is turned off and is in the disconnected state.
[0098] S304: Determine whether the wired controller is in a power-off state.
[0099] S305: When the wired controller is in the power-off state, determine that the wired controller is in the power-off mode.
[0100] S306: When the wired controller is not in the power-off state, determine that the wired controller is in the working mode.
[0101] Furthermore, the operating mode of the wired controller can be determined based on the driving state of the relay. When the relay is in the driving state, the wired controller is determined to be in a normal operating state, and thus in the operating mode; when the relay is in the disconnected state, the wired controller is determined to be in an abnormal power-off state, and thus in the power-off mode.
[0102] S307 : When the wired controller is in the power-off mode, control the first switch to be in a normally closed state.
[0103] S308: When the second switch is in the off state, the indicator light is controlled to turn on.
[0104] S309: When the second switch is in the off state, the indicator light is controlled to be turned off.
[0105] Furthermore, when the wired controller is in an abnormal power-off mode, by unplugging the display screen of the wired controller, the first switch automatically closes regardless of whether the relay was in an on or off state before the abnormality, and remains in a normally closed state, and the opening and closing of the indicator light is controlled by the opening and closing of the second switch.
[0106] S310: When the wired controller is in the working mode, the first switch is controlled to be in a normally open state by a manual button, and the second switch is controlled to be in a normally closed state by a manual button.
[0107] S311. When the relay is in the starting state, the indicator light is turned on.
[0108] S312. When the relay is in the disconnected state, the indicator light is turned off.
[0109] Furthermore, when the wired controller is in normal working mode, the display screen of the wired controller is buckled together with the control circuit. At this time, the first switch is structurally set to be in the open state and the second switch is in the closed state. The control circuit can control the state of the indicator light through the open and closed state of the relay.
[0110] Another control method provided by an embodiment of the present invention determines the driving state of the relay by obtaining the switching state of the first transistor and the second transistor; determines the working mode of the circuit where the wire controller is located according to the driving state of the relay, and adopts different control strategies according to different working modes to control the indicator light, thereby realizing the diversification of the functions of the wire controller and solving the technical effect of the lighting being unusable after the air conditioner is damaged or the wire controller is out of power, which affects the user experience.
[0111] Figure 4 This is a structural diagram of an air conditioner provided by an embodiment of the present invention. Figure 4 The air conditioner 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and another user interface 503. The various components in the air conditioner 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not described in detail. Figure 4 Various buses are labeled as bus system 505.
[0112] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen).
[0113] It is understood that the memory 502 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0114] In some embodiments, the memory 502 stores the following elements, executable units, or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and application programs 5022 .
[0115] The operating system 5021 includes various system programs, such as a framework layer, a core library layer, and a driver layer, for implementing various basic services and handling hardware-based tasks. Application programs 5022 include various application programs, such as a media player and a browser, for implementing various application services. Programs implementing the methods of the embodiments of the present invention may be included in application programs 5022.
[0116] In an embodiment of the present invention, by calling a program or instruction stored in the memory 502, specifically, a program or instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided in each method embodiment, for example, including:
[0117] Obtaining the switching state of the first transistor and the switching state of the second transistor; controlling the driving state of the relay according to the switching state of the first transistor and the switching state of the second transistor; determining the working mode of the wire controller; and controlling the indicator light in the control circuit according to the working mode.
[0118] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 501 or by software instructions. The above processor 501 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in storage media well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 502 , and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0119] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.
[0120] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0121] The air conditioner provided in this embodiment can be Figure 4 The air conditioner shown in , can be performed as Figure 2-3 All steps of the control method in order to achieve Figure 2-3 For details on the technical effects of the control method shown, please refer to Figure 2-3 For the sake of brevity, the relevant description will not be repeated here.
[0122] An embodiment of the present invention further provides a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and the memory may also include a combination of the aforementioned types of memory.
[0123] When one or more programs in the storage medium can be executed by one or more processors, the control method executed on the air-conditioning equipment side can be implemented.
[0124] The processor is used to execute the control program stored in the memory to implement the following steps of the control method performed on the air conditioning device side:
[0125] Obtaining the switching state of the first transistor and the switching state of the second transistor; controlling the driving state of the relay according to the switching state of the first transistor and the switching state of the second transistor; determining the working mode of the wire controller; and controlling the indicator light in the control circuit according to the working mode.
[0126] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0127] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0128] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A control circuit, characterized in that: include: a first transistor, a second transistor, a relay, a first switch, a second switch, and an indicator light; The first electrode of the first transistor is connected to the first IO interface, the second electrode is connected to the first ground terminal, and the third electrode is connected to the first terminal of the relay; The first electrode of the second transistor is connected to the second IO interface, the second electrode is connected to the second ground terminal, and the third electrode is connected to the second terminal of the relay; The third end of the relay is connected to one end of the first switch and one end of the second switch, the fourth end of the relay is connected to the other end of the first switch and one end of the indicator light, and the fifth end of the relay is connected to a power supply; The other end of the second switch is connected to the other end of the indicator light; During a first stage of normal operation of the control circuit, the first switch remains in a normally open state, the second switch remains in a normally closed state, the first IO interface outputs a high-level control signal to the first transistor, and the first transistor outputs a high-level control signal to the relay, causing the relay to close and output a drive signal to the indicator light, and the indicator light turns on after receiving the drive signal; During the second stage of normal operation of the control circuit, the first switch remains in a normally open state, the second switch remains in a normally closed state, the second IO interface outputs a low-level control signal to the second transistor, and the second transistor outputs a low-level control signal to the relay, so that the relay is disconnected and the indicator light is controlled to be turned off; In the first stage of abnormal operation of the control circuit, after the display panel of the wired controller is removed, the control circuit automatically outputs a high-level control signal to the first switch. After receiving the high-level control signal, the first switch remains in a normally closed state and outputs the high-level control signal to the second switch. After the second switch outputs the high-level control signal to the indicator light, the indicator light turns on. In the second stage of abnormal operation of the control circuit, after the display panel of the wire controller is removed, a high-level control signal is output to the first switch. After receiving the high-level control signal, the first switch remains in a normally closed state and outputs a low-level control signal to the second switch. After the second switch outputs a low-level control signal to the indicator light, the indicator light is turned off.
2. The circuit according to claim 1, wherein: The circuit further comprises: a first resistor and a second resistor; One end of the first resistor is connected to the first IO interface, and the other end is connected to the first electrode of the first transistor; One end of the second resistor is connected to the second IO interface, and the other end is connected to the first electrode of the second transistor.
3. A control method, applied to the control circuit according to any one of claims 1 to 2, characterized in that: include: Obtaining the switch state of the first transistor and obtaining the switch state of the second transistor; controlling the driving states of relays respectively connected to the first transistor and the second transistor according to the switching states of the first transistor and the second transistor; Determine the working mode of the wired controller; The indicator light in the control circuit is controlled according to the working mode.
4. The method according to claim 3, characterized in that The controlling the driving states of the relays respectively connected to the first transistor and the second transistor according to the switching state of the first transistor and the switching state of the second transistor includes: When the first transistor is in the on state and the second transistor is in the off state, the control relay is in the start state; When the first transistor is in an off state and the second transistor is in an on state, the relay is controlled to be in an off state.
5. The method according to claim 3, characterized in that Determining the working mode of the wire controller includes: Determine whether the wire controller is in a power-off state; When the wire controller is in a power-off state, determining that the wire controller is in a power-off mode; When the wired controller is not in a power-off state, it is determined that the wired controller is in a working mode.
6. The method according to claim 5, characterized in that The controlling of the indicator light in the control circuit according to the working mode includes: When the wired controller is in a power-off mode, the indicator light is controlled according to the switch state of the second switch; When the wired controller is in the working mode, the indicator light is controlled according to the driving state of the relay.
7. The method according to claim 6, characterized in that The controlling of the indicator light according to the switch state of the second switch includes: Controlling the first switch to be in a normally closed state; When the second switch is in the off state, the indicator light is controlled to turn on; When the second switch is in the off state, the indicator light is turned off.
8. The method according to claim 6, characterized in that The controlling of the indicator light according to the driving state of the relay includes: The first switch is controlled to be in a normally open state by a manual button, and the second switch is controlled to be in a normally closed state by a manual button; When the relay is in the starting state, the indicator light is turned on and controlled; When the relay is in the disconnected state, the indicator light is turned off.
9. An air conditioner wire controller, characterized in that: The air conditioner wired controller includes the above-mentioned control method of the air conditioner wired controller to implement the control method of the air conditioner wired controller according to any one of claims 3 to 8.
10. An air conditioner, characterized in that: include: A processor and a memory, wherein the processor is configured to execute a control program for the air conditioner wired controller stored in the memory to implement the control method for the air conditioner wired controller according to any one of claims 3 to 8.
11. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the control method according to any one of claims 3 to 8.
Citation Information
Patent Citations
Air conditioner control circuit and discharging circuits
CN109869879A