Equipment control circuit based on knob switch
By adding a zero-crossing detection module and a rectifier diode path to the rotary switch, combined with a knife switch and a detection module, precise control of lights and fans is achieved, solving the problem of the traditional rotary switch's single function, reducing modification costs and improving convenience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- TAISHAN INTELLI INTELLIGENT TECH CO LTD
- Filing Date
- 2025-07-18
- Publication Date
- 2026-05-05
AI Technical Summary
Traditional rotary switches have limited functionality and cannot meet the complex device control needs of modern smart homes, such as adjusting light brightness and controlling fan speed. Furthermore, retrofitting them is costly and affects ease of operation.
By adding a zero-crossing detection module and multiple rectifier diode paths to the rotary switch, combined with a knife switch and a detection module, accurate identification and control of the rotary switch position can be achieved. Diverse signal outputs can be realized using the existing rotary switch. Combined with a control module and a drive module, independent control of lights and fans can be supported.
It enables precise control over lights and fans, reduces modification costs, retains the user's familiar operating method, and improves ease of use.
Smart Images

Figure CN224203607U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control circuit technology, and in particular to a device control circuit based on a rotary switch. Background Technology
[0002] In the traditional field of electrical control, wall switches and rotary switches are extremely common control components. For a long time, their functions have been relatively simple, mainly having only two basic states: open and closed.
[0003] However, in modern smart home environments, people may want to achieve more complex control functions such as adjusting the brightness and changing the color of lights according to different scenario needs, but traditional wall switches obviously cannot meet these needs.
[0004] Rotary switches are commonly used in scenarios requiring continuous adjustment of equipment, such as fans. Previously, rotary switches could only be connected to capacitors of different sizes to control the speed of AC motors. However, brushless DC motors are now more efficient than AC motors. Large-scale structural modifications to existing rotary switches to implement position detection and new speed control methods would not only increase production costs but also potentially impact the original ease of operation and user habits. Utility Model Content
[0005] To solve the above-mentioned technical problems, this application provides a device control circuit based on a rotary switch.
[0006] Specifically, this application provides a device control circuit based on a rotary switch, comprising at least a switch module, a zero-crossing detection module, a first device drive module, a second device drive module, and a control module. The switch module includes at least a rotary switch, a first rectifier diode, and a second rectifier diode, with multiple positions of the rotary switch connected to different diode paths. When the rotary switch is switched to a preset position, the first or second rectifier diode is selectively turned on, so that the zero-crossing detection module outputs a sampling signal corresponding to the preset position to the control module. The control module, based on the sampling signal, outputs a control signal to the first or second device drive module through a corresponding pin, so that the first or second device drive module controls the target device to operate in the running state corresponding to the preset position based on the control signal. The target device includes a first device and a second device.
[0007] In the above technical solution, there is no need to change the original structure of the rotary switch. By adding a zero-crossing detection module, a more powerful device control function can be achieved using the existing rotary switch, which reduces the transformation cost and retains the user's familiar operation mode, thus improving the ease of use.
[0008] Furthermore, the switch module also includes a communication interface; the rotary switch includes at least a first position, a second position, a third position, and an off position; the first position is connected to the negative terminal of the first rectifier diode; the second position is connected to the positive terminal of the second rectifier diode; the third position is connected to the positive terminal of the first rectifier diode and the negative terminal of the second rectifier diode; the positive terminal of the first rectifier diode and the negative terminal of the second rectifier diode are also connected to the communication interface.
[0009] In the above technical solution, the communication module enables the switch module to connect or communicate with other devices; the rotary switch has multiple positions, and different positions are specifically connected to rectifier diodes, which can generate diverse signals through different diode conduction combinations, providing more possibilities for the subsequent zero-crossing detection module to accurately identify the position of the rotary switch, thereby achieving more precise equipment control.
[0010] Furthermore, the switch module also includes a knife switch, and the zero-crossing detection module includes at least a first detection module and a second detection module; the communication interface is also connected to the knife switch, and when the knife switch is on and the preset position is not the off position, the first detection module is on; when the knife switch is off and the preset position is not the off position, the second detection module is on.
[0011] In the above technical solution, the first device and the second device are, for example, a light and a fan, respectively. When the knife switch is on, the rotary switch is used to dim the light, and when it is off, the rotary switch is used to adjust the fan speed.
[0012] Furthermore, the control module includes at least a control unit, a second phase pin, and a third phase pin; the control unit includes at least a first phase pin; the first phase pin is used to receive a sampling signal of a preset gear corresponding to the first device; the second phase pin and the third phase pin are used to receive a sampling signal of a preset gear corresponding to the second device.
[0013] The above technical solution enables independent acquisition and processing of gear information for different devices. This separate pin design helps improve the control module's control accuracy and targeting for different devices.
[0014] Furthermore, the first detection module includes at least a first resistor, a second resistor, a third resistor, a first Zener diode, a first light-emitting diode, a first transistor, and a first capacitor; the first resistor is connected to the communication interface; one end of the second resistor is connected to the first resistor, and the other end is connected to the positive terminal of the first light-emitting diode and the positive terminal of the first Zener diode, respectively; the negative terminals of the first light-emitting diode and the first Zener diode are combined and connected to the preset positions of the knife switch and the rotary switch; the emitter of the first light-emitting diode is connected to the base of the first transistor, and the collector and emitter of the first transistor are connected to the third resistor and ground, respectively; the other end of the third resistor is also connected to the first capacitor and the first phase pin, respectively.
[0015] In the above technical solution, resistors are used for voltage division and current limiting to ensure the normal operation of each component in the circuit; Zener diodes are used to stabilize the voltage and prevent damage to components due to excessive voltage; LEDs and transistors are used for signal conversion and amplification, so that weak detection signals can be effectively transmitted to the first phase pin of the control module; and capacitors are used for filtering to remove noise in the signal and improve the quality of the sampled signal.
[0016] Furthermore, the second detection module includes at least a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a first bidirectional diode, a second light-emitting diode, a third light-emitting diode, a second transistor, a third transistor, a second capacitor, and a third capacitor; the fourth resistor is connected to the communication interface; one end of the fifth resistor is connected to the fourth resistor, and the other end is connected to the first positive terminal of the first bidirectional diode, the positive terminal of the second light-emitting diode, and the negative terminal of the third light-emitting diode; the second positive terminal of the first bidirectional diode, the negative terminal of the second light-emitting diode, and the positive terminal of the third light-emitting diode are connected together to the preset positions of the knife switch and the rotary switch; the emitter of the second light-emitting diode is connected to the base of the second transistor, and the collector and emitter of the second transistor are connected to the sixth resistor and ground, respectively; the other end of the sixth resistor is also connected to the second capacitor and the second phase pin, respectively; the emitter of the third light-emitting diode is connected to the base of the third transistor, and the collector and emitter of the third transistor are connected to the seventh resistor and ground, respectively; the other end of the seventh resistor is also connected to the third capacitor and the third phase pin, respectively.
[0017] In the above technical solution, similar to the first detection module, a complete detection circuit is formed by multiple resistors, light-emitting diodes, transistors and capacitors; bidirectional diodes can adapt to current in different directions, increasing the applicability of the circuit; the combination of multiple light-emitting diodes and transistors further enhances the signal conversion and amplification capabilities, ensuring that when the knife switch is open and not in the off position, the sampling signal can be accurately transmitted to the second phase pin and the third phase pin.
[0018] Furthermore, the control unit also includes at least a first device drive pin, a second device drive pin, a communication pin, and an antenna pin.
[0019] In the above technical solution, the first device drive pin and the second device drive pin are used to output control signals to control the operating status of the first device and the second device respectively, so as to realize independent drive control of different devices; the communication pin is used to connect with the communication module to realize communication between the control unit and external devices, so as to facilitate data transmission and remote control; the antenna pin is used to connect the antenna module to realize wireless communication function, so that the control circuit can interact with other devices more flexibly.
[0020] Furthermore, the first device driver module is used to receive the control signal output by the first device driver pin, so as to control the first device to operate in the operating state corresponding to the preset gear based on the control signal; the second device driver module includes at least a three-phase bridge circuit; the three-phase bridge circuit is used to receive the control signal output by the second device driver pin, so as to control the second device to operate in the operating state corresponding to the preset gear based on the control signal.
[0021] In the above technical solution, the three-phase bridge circuit has the characteristics of high efficiency and stability, and can realize various control functions such as forward and reverse rotation of the motor and speed regulation, so as to meet the operating needs of different equipment.
[0022] Furthermore, the device control circuit based on the rotary switch also includes a communication module, which is connected to the control unit via the communication pin.
[0023] In the above technical solution, the communication module can support multiple communication protocols, enhancing the versatility and compatibility of the control circuit.
[0024] Furthermore, the device control circuit based on the rotary switch also includes an antenna module, which is connected to the control unit via the antenna pin.
[0025] In the above technical solution, the antenna module enables the control circuit to be applied in some situations where wiring is not easy, thereby enhancing the flexibility of the control circuit.
[0026] Compared with the prior art, the beneficial effects of this application are as follows:
[0027] This application does not require changes to the original structure of the rotary switch, but can achieve more powerful equipment control functions based on a DC brushless motor, reducing the transformation cost while retaining the user's familiar operating method and improving ease of use. Attached Figure Description
[0028] Figure 1This is a schematic diagram of the control circuit framework for the rotary switch-based device described in this application.
[0029] Figure 2 This is a schematic diagram of the control circuit of the device based on a rotary switch as described in this application.
[0030] Figure 3 This is a schematic diagram of the switch module described in this application.
[0031] Figure 4 This is a schematic diagram of the internal circuit of the rotary switch described in this application.
[0032] Figure 5 This is a schematic diagram of the first detection module described in this application.
[0033] Figure 6 This is a schematic diagram of the second detection module described in this application.
[0034] Figure 7 This is a schematic diagram of the control module described in this application.
[0035] Figure 8 This is a schematic diagram of the first device driver module described in this application.
[0036] Figure 9 This is a schematic diagram of the second device driver module described in this application.
[0037] Figure 10 This is a schematic diagram of the communication module described in this application.
[0038] Figure 11 This is a schematic diagram of the antenna module described in this application. Detailed Implementation
[0039] The following describes in further detail a device control circuit based on a rotary switch according to this application, with reference to specific embodiments and accompanying drawings.
[0040] like Figure 1-2As shown, this application provides a device control circuit based on a rotary switch, comprising at least a switch module, a zero-crossing detection module, a first device drive module, a second device drive module, and a control module. The switch module includes at least a rotary switch, a first rectifier diode D21, and a second rectifier diode D22, with multiple positions of the rotary switch connected to different diode paths. When the rotary switch is switched to a preset position, the first rectifier diode D21 or the second rectifier diode D22 is selectively turned on, so that the zero-crossing detection module outputs a sampling signal corresponding to the preset position to the control module. The control module outputs a control signal to the first device drive module or the second device drive module through a corresponding pin based on the sampling signal, so that the first device drive module or the second device drive module controls the target device to operate in the running state corresponding to the preset position based on the control signal. The target device includes a first device and a second device.
[0041] In one feasible embodiment, this application is applied to a smart home scenario, where the fan speed setting and the light color temperature setting are controlled by a rotary switch.
[0042] In the above technical solution, there is no need to change the original structure of the rotary switch. By adding a zero-crossing detection module, a more powerful device control function can be achieved using the existing rotary switch, which reduces the transformation cost and retains the user's familiar operation mode, thus improving the ease of use.
[0043] Furthermore, such as Figure 3 As shown, the switch module further includes a communication interface; the rotary switch includes at least a first position, a second position, a third position, and an off position; the first position is connected to the negative terminal of the first rectifier diode D21; the second position is connected to the positive terminal of the second rectifier diode D22; the third position is connected to the positive terminal of the first rectifier diode D21 and the negative terminal of the second rectifier diode D22; the positive terminal of the first rectifier diode D21 and the negative terminal of the second rectifier diode D22 are also connected to the communication interface J1.
[0044] In one feasible embodiment, the first gear corresponds to the ECON gear, the second gear corresponds to the MID gear, and the third gear corresponds to the HIGH gear.
[0045] The internal circuit of the rotary switch is as follows: Figure 4 As shown.
[0046] In the above technical solution, the communication module enables the switch module to connect or communicate with other devices; the rotary switch has multiple positions, and different positions are specifically connected to rectifier diodes, which can generate diverse signals through different diode conduction combinations, providing more possibilities for the subsequent zero-crossing detection module to accurately identify the position of the rotary switch, thereby achieving more precise equipment control.
[0047] Furthermore, the switch module also includes a knife switch, and the zero-crossing detection module includes at least a first detection module and a second detection module; the communication interface J1 is also connected to the knife switch. When the knife switch is on and the preset position is not the off position, the first detection module is on; when the knife switch is off and the preset position is not the off position, the second detection module is on.
[0048] In the above technical solution, the first device and the second device are, for example, a light and a fan, respectively. When the knife switch is on, the rotary switch is used to dim the light, and when it is off, the rotary switch is used to adjust the fan speed.
[0049] Furthermore, the control module includes at least a control unit, a second phase pin AC_OHASE_DET0, and a third phase pin AC_OHASE_DET1; the control unit includes at least a first phase pin AC_OHASE_DET2; the first phase pin AC_OHASE_DET2 is used to receive the sampling signal of the preset gear corresponding to the first device; the second phase pin AC_OHASE_DET0 and the third phase pin AC_OHASE_DET1 are used to receive the sampling signal of the preset gear corresponding to the second device.
[0050] The above technical solution enables independent acquisition and processing of gear information for different devices. This separate pin design helps improve the control module's control accuracy and targeting for different devices.
[0051] Furthermore, such as Figure 5As shown, the first detection module includes at least a first resistor R16, a second resistor R20, a third resistor R15, a first Zener diode D2, a first light-emitting diode D23, a first transistor U3, and a first capacitor C29; the first resistor R16 is connected to the communication interface J1; one end of the second resistor R20 is connected to the first resistor R16, and the other end is connected to the positive terminal of the first light-emitting diode D23 and the positive terminal of the first Zener diode D2 respectively; the negative terminals of the first light-emitting diode D23 and the first Zener diode D2 are combined and connected to the preset positions of the knife switch and the rotary switch; the emitter of the first light-emitting diode D23 is connected to the base of the first transistor U3, and the collector and emitter of the first transistor U3 are connected to the third resistor R15 and ground respectively; the other end of the third resistor R15 is also connected to the first capacitor C29 and the first phase pin AC_OHASE_DET2 respectively.
[0052] In one feasible embodiment, when the user closes the knife switch, if the rotary switch is turned to the first position, the first rectifier diode D21 is turned on, and the current enters the first detection module through the first rectifier diode D21. In the first detection module, the current is divided by the first resistor R16 and the second resistor R20, which causes the first light-emitting diode D23 to light up, thereby driving the first transistor U3 to turn on. After the first transistor U3 turns on, the signal filtered by the third resistor R15 and the first capacitor C29 is transmitted to the control unit through the first phase pin AC_OHASE_DET2. The control unit identifies the color temperature of the light corresponding to the signal.
[0053] In the above technical solution, resistors are used for voltage division and current limiting to ensure the normal operation of each component in the circuit; Zener diodes are used to stabilize the voltage and prevent damage to components due to excessive voltage; LEDs and transistors are used for signal conversion and amplification, so that weak detection signals can be effectively transmitted to the first phase pin AC_OHASE_DET2 of the control module; and capacitors are used for filtering to remove noise in the signal and improve the quality of the sampled signal.
[0054] Furthermore, such as Figure 6As shown, the second detection module includes at least a fourth resistor R18, a fifth resistor R19, a sixth resistor R14, a seventh resistor R60, a first bidirectional diode D10, a second light-emitting diode D24, a third light-emitting diode D25, a second transistor U2, a third transistor U10, a second capacitor C28, and a third capacitor C57; the fourth resistor R18 is connected to the communication interface J1; one end of the fifth resistor R19 is connected to the fourth resistor R18, and the other end is connected to the first positive terminal of the first bidirectional diode D10, the positive terminal of the second light-emitting diode D24, and the negative terminal of the third light-emitting diode D25; the second positive terminal of the first bidirectional diode D10, the negative terminal of the second light-emitting diode D24, and the negative terminal of the third light-emitting diode D25 are connected to the third light-emitting diode D25. After the positive terminals are combined, they are connected to the preset positions of the knife switch and the rotary switch; the emitter of the second LED D24 is connected to the base of the second transistor U2, and the collector and emitter of the second transistor U2 are connected to the sixth resistor R14 and ground, respectively; the other end of the sixth resistor R14 is also connected to the second capacitor C28 and the second phase pin AC_OHASE_DET0, respectively; the emitter of the third LED D25 is connected to the base of the third transistor U10, and the collector and emitter of the third transistor U10 are connected to the seventh resistor R60 and ground, respectively; the other end of the seventh resistor R60 is also connected to the third capacitor C57 and the third phase pin AC_OHASE_DET1, respectively.
[0055] In one feasible embodiment, when the user disconnects the knife switch, if the rotary switch is turned to the first position, similar to the lighting control, the signal is transmitted to the control unit through the second phase pin AC_OHASE_DET0 and the third phase pin AC_OHASE_DET1. The control unit recognizes that the signal corresponds to the first fan speed.
[0056] In the above technical solution, similar to the first detection module, a complete detection circuit is formed by multiple resistors, light-emitting diodes, transistors and capacitors; the bidirectional diodes can adapt to current in different directions, increasing the applicability of the circuit; the combination of multiple light-emitting diodes and transistors further enhances the signal conversion and amplification capabilities, ensuring that when the knife switch is open and not in the closed position, the sampling signal can be accurately transmitted to the second phase pin AC_OHASE_DET0 and the third phase pin AC_OHASE_DET1.
[0057] Furthermore, such as Figure 7As shown, the control unit further includes at least a first device drive pin (MCU_PWM_UH, MCU_PWM_UL, MCU_PWM_VH, MCU_PWM_VL, MCU_PWM_UH, MCU_PWM_WH and MCU_PWM_WL), a second device drive pin (MCU_LED_YELLOW, MCU_LED_WHITE), a communication pin (UERT1_TX and UART1_RX) and an antenna pin TOEX.
[0058] In the above technical solution, the first device drive pin and the second device drive pin are used to output control signals to control the operating status of the first device and the second device respectively, so as to realize independent drive control of different devices; the communication pin is used to connect with the communication module to realize communication between the control unit and external devices, so as to facilitate data transmission and remote control; the antenna pin is used to connect the antenna module to realize wireless communication function, so that the control circuit can interact with other devices more flexibly.
[0059] Furthermore, the first device driver module (such as...) Figure 8 (As shown) is used to receive the control signal output from the first device driver pin, so as to control the first device to operate in a preset gear-corresponding running state based on the control signal; the second device driver module includes at least a three-phase bridge circuit (such as... Figure 9 (as shown); the three-phase bridge circuit is used to receive the control signal output by the second device drive pin, so as to control the second device to work in the operating state corresponding to the preset gear based on the control signal.
[0060] In one feasible embodiment, the three-phase bridge circuit has its input terminal connected to the first device drive pin (MCU_PWM_UH, MCU_PWM_UL, MCU_PWM_VH, MCU_PWM_VL, MCU_PWM_UH, MCU_PWM_WH and MCU_PWM_WL) of the control unit; and its output terminal connected to the fan motor, for controlling the fan to operate at the wind speed corresponding to the preset gear according to the control signal.
[0061] In the above technical solution, the three-phase bridge circuit has the characteristics of high efficiency and stability, and can realize various control functions such as forward and reverse rotation of the motor and speed regulation, so as to meet the operating needs of different equipment.
[0062] Furthermore, such as Figure 10 As shown, the device control circuit based on the rotary switch also includes a communication module, which is connected to the control unit via the communication pin.
[0063] In the above technical solution, the communication module can support multiple communication protocols, enhancing the versatility and compatibility of the control circuit.
[0064] Furthermore, such as Figure 11 As shown, the device control circuit based on the rotary switch also includes an antenna module, which is connected to the control unit via the antenna pin.
[0065] In one feasible embodiment, the communication pins (UERT1_TX and UART1_RX) are connected to the communication module J4; the antenna pin TOEX is connected to the antenna module shown in the figure; wherein the impedance matching circuit of the antenna module can be configured as a line antenna mode and a helical antenna mode.
[0066] Among them, the line antenna modes are: L4 and L5 are NP, R40 is 8.2pF, C38 is 22nH, and C37 is 4.7pF.
[0067] Helical antenna mode: L4 and L5 are NP, R40 is 68nH, C38 is 3.3pF, and C37 is 6pF.
[0068] Furthermore, preferably, the communication module supports the Bluetooth protocol, enabling wireless communication with the user's mobile phone, facilitating remote monitoring and setting of the fan and light's operating status via mobile phone.
[0069] The antenna module is used to enhance the signal strength and coverage of Bluetooth communication, ensuring communication stability.
[0070] In the above technical solution, the antenna module enables the control circuit to be applied in some situations where wiring is not easy, thereby enhancing the flexibility of the control circuit.
[0071] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.
[0072] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0073] Although the description of this application has been made in conjunction with the specific embodiments described above, it will be apparent to those skilled in the art that many substitutions, modifications, and variations can be made based on the foregoing. Therefore, all such substitutions, modifications, and variations are included within the spirit and scope of the appended claims.
Claims
1. A device control circuit based on a rotary switch, characterized in that, It includes at least a switch module, a zero-crossing detection module, a first device driver module, a second device driver module, and a control module; The switch module includes at least a rotary switch, a first rectifier diode, and a second rectifier diode, with multiple positions of the rotary switch connected to different diode paths. When the rotary switch is switched to a preset position, the first rectifier diode or the second rectifier diode is selectively turned on so that the zero-crossing detection module outputs the sampling signal corresponding to the preset position to the control module. The control module outputs a control signal to the first device driver module or the second device driver module through a corresponding pin based on the sampled signal, so that the first device driver module or the second device driver module controls the target device to work in the operating state corresponding to a preset gear based on the control signal; wherein, the target device includes the first device and the second device.
2. The device control circuit based on a rotary switch according to claim 1, characterized in that, The switch module also includes a communication interface; the rotary switch includes at least a first position, a second position, a third position, and an off position; The first gear position is connected to the negative terminal of the first rectifier diode; The second gear position is connected to the positive terminal of the second rectifier diode; The third position is connected to the positive terminal of the first rectifier diode and the negative terminal of the second rectifier diode; The positive terminal of the first rectifier diode and the negative terminal of the second rectifier diode are also connected to the communication interface.
3. The device control circuit based on a rotary switch according to claim 2, characterized in that, The switching module further includes a knife switch, and the zero-crossing detection module includes at least a first detection module and a second detection module; The communication interface is also connected to the knife switch. When the knife switch is on and the preset position is not the off position, the first detection module is turned on; when the knife switch is off and the preset position is not the off position, the second detection module is turned on.
4. The device control circuit based on a rotary switch according to claim 3, characterized in that, The control module includes at least a control unit, a second phase pin, and a third phase pin; the control unit includes at least a first phase pin. The first phase pin is used to receive the sampling signal of the preset level corresponding to the first device; The second phase pin and the third phase pin are used to receive the sampling signal of the preset level corresponding to the second device.
5. The device control circuit based on a rotary switch according to claim 4, characterized in that, The first detection module includes at least a first resistor, a second resistor, a third resistor, a first Zener diode, a first light-emitting diode, a first transistor, and a first capacitor; The first resistor is connected to the communication interface; one end of the second resistor is connected to the first resistor, and the other end is connected to the positive terminal of the first light-emitting diode and the positive terminal of the first Zener diode, respectively; the negative terminals of the first light-emitting diode and the first Zener diode are connected to the preset positions of the knife switch and the rotary switch; the emitter of the first light-emitting diode is connected to the base of the first transistor, and the collector and emitter of the first transistor are connected to the third resistor and ground, respectively; the other end of the third resistor is also connected to the first capacitor and the first phase pin, respectively.
6. The device control circuit based on a rotary switch according to claim 4, characterized in that, The second detection module includes at least a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a first bidirectional diode, a second light-emitting diode, a third light-emitting diode, a second transistor, a third transistor, a second capacitor, and a third capacitor; The fourth resistor is connected to the communication interface; one end of the fifth resistor is connected to the fourth resistor, and the other end is connected to the first positive terminal of the first bidirectional diode, the positive terminal of the second light-emitting diode, and the negative terminal of the third light-emitting diode; the second positive terminal of the first bidirectional diode, the negative terminal of the second light-emitting diode, and the positive terminal of the third light-emitting diode are connected to the preset positions of the knife switch and the rotary switch; the emitter of the second light-emitting diode is connected to the base of the second transistor, and the collector and emitter of the second transistor are connected to the sixth resistor and ground, respectively; the other end of the sixth resistor is also connected to the second capacitor and the second phase pin, respectively. The emitter of the third light-emitting diode is connected to the base of the third transistor, and the collector and emitter of the third transistor are connected to the seventh resistor and ground, respectively; the other end of the seventh resistor is also connected to the third capacitor and the third phase pin, respectively.
7. The device control circuit based on a rotary switch according to claim 4, characterized in that, The control unit further includes at least a first device drive pin, a second device drive pin, a communication pin, and an antenna pin.
8. The device control circuit based on a rotary switch according to claim 7, characterized in that, The first device driver module is used to receive the control signal output by the first device driver pin, so as to control the first device to work in the operating state corresponding to the preset gear based on the control signal; The second device drive module includes at least a three-phase bridge circuit; the three-phase bridge circuit is used to receive the control signal output by the second device drive pin, so as to control the second device to work in the operating state corresponding to the preset gear based on the control signal.
9. The device control circuit based on a rotary switch according to claim 7, characterized in that, It also includes a communication module, which is connected to the control unit via the communication pin.
10. The device control circuit based on a rotary switch according to claim 7, characterized in that, It also includes an antenna module, which is connected to the control unit via the antenna pins.