A dual switch compatible control circuit
By designing a dual-switch compatible control circuit, using the signal transmission of electronic switches and mechanical switches, the problem of poor dual-switch compatible control in the prior art is solved, and more simplified material coding and more efficient production and maintenance are achieved.
Patent Information
- Application Number
- CN202411812381.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-04-04
AI Technical Summary
There is a gap in the switching gear control effect of the existing dual-switch compatible control circuit, resulting in a large number of material encodings, backlog of inventory, low production efficiency and cumbersome after-sales maintenance.
A dual switch compatible control circuit is designed, and the control signal is transmitted to the second control circuit through the connection between the electronic switch and the first control circuit. The second control circuit receives the input signal of the mechanical switch, and realizes the dual switch compatibility between the mechanical switch and the electronic switch through components such as the main control chip, protection circuit, etc.
It realizes dual switch compatibility between mechanical switches and electronic switches, simplifies material coding, reduces inventory backlog and production delays, and improves the efficiency of after-sales maintenance.
Smart Images

Figure CN119766217A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of switch control circuits, and in particular to a dual-switch compatible control circuit. Background Art
[0002] With the development of technology and the improvement of people's living standards, although household appliances have been widely used in thousands of households due to the vigorous development of the Internet of Things technology, energy saving has become an important reference for judging the quality of a product along with the proposal of the concept of sustainable development. Therefore, the development of switching power supply circuits with low power consumption has become an inevitable trend.
[0003] In traditional range hoods, according to the control gear method, it can be divided into mechanical gear control and electronic gear control. Therefore, the range hood drive electronic control board is divided into mechanical gear board and electronic electronic control board, which are divided into two major types of boards. Therefore, it is easy to cause two types of PCB boards in material coding control, resulting in numerous codes and difficult control. At the same time, when the supply chain materials prepare these two boards at the same time, because these two boards are not compatible and universal, it will cause material inventory backlog. In addition, in the production of electronic control boards, the production of two boards separately requires line change and line stop, which delays the efficiency of production line employees. When replacing the electronic control board in after-sales maintenance, after-sales maintenance personnel need to check the model to confirm whether it is mechanical gear control or electronic gear control, and after-sales maintenance is cumbersome. Summary of the invention
[0004] The present invention provides a dual-switch compatible control circuit, aiming to solve the problem of poor switch gear control effect of the existing dual-switch compatible control circuit.
[0005] An embodiment of the present invention provides a dual-switch compatible control circuit, comprising: an electronic switch, a first control circuit, a mechanical switch, and a second control circuit; the electronic switch is electrically connected to an input end of the first control circuit, the first control circuit is used to transmit a control signal input by the electronic switch to the second control signal, and the second control circuit is connected to an output end of the first control circuit; the second control circuit is used to receive an input signal of the mechanical switch;
[0006] The second control circuit includes a main control chip, a first capacitor, a first protection circuit, a second protection circuit and a third protection circuit; the two ends of the first capacitor are respectively connected to pin 1 and pin 16 of the main control chip; pin 2 and pin 3 of the main control chip are used to connect to the output end of the first control circuit; pin 14 of the main control chip is connected to the input end of the first protection circuit, the output end of the first protection circuit is connected to the button 3 of the mechanical switch, pin 13 of the main control chip is connected to the input end of the second protection circuit, the output end of the second protection circuit is connected to the button 4 of the mechanical switch, pin 12 of the main control chip is connected to the input end of the third protection circuit, and the output end of the third protection circuit is connected to the button 2 of the mechanical switch.
[0007] Preferably, the first protection circuit includes a second capacitor, a first resistor and a second resistor; the first end of the second capacitor is connected to the first end of the first resistor and grounded; the second end of the second capacitor is respectively connected to the second end of the first resistor, the first end of the second resistor and the pin 14 of the main control chip, and the second end of the second resistor is connected to the button 3 of the mechanical switch.
[0008] Preferably, the second protection circuit includes a third resistor, a fourth resistor and a third capacitor; the first end of the third capacitor is connected to the first end of the fourth resistor and is grounded; the second end of the third capacitor is respectively connected to the second end of the fourth resistor, the first end of the third resistor and the pin 13 of the main control chip; the second end of the third resistor is connected to the button 4 of the mechanical switch.
[0009] Preferably, the third protection circuit includes a fourth capacitor, a fifth resistor and a sixth resistor; the first end of the fourth capacitor is connected to the first end of the sixth resistor and grounded, the second end of the fourth capacitor is respectively connected to the second end of the sixth resistor, the first end of the fifth resistor and the pin 12 of the main control chip, and the second end of the fifth resistor is connected to the button 2 of the mechanical switch.
[0010] Preferably, the second control circuit also includes a seventh resistor and an eighth resistor; pin 2 of the main control chip is connected to the first output end of the first control circuit through the seventh resistor, and pin 3 of the main control chip is connected to the second output end of the first control circuit through the eighth resistor.
[0011] Preferably, the first control circuit includes a first control unit and a second control unit, the input end of the first control unit is connected to the button 3 of the electronic switch, the input end of the second control unit is connected to the button 4 of the electronic switch, the output end of the first control unit serves as the first output end of the first control circuit, and the output end of the second control unit serves as the second output end of the first control circuit.
[0012] Preferably, the first control unit includes a fifth capacitor, a ninth resistor, a tenth resistor, a first optocoupler isolator, a first transistor, an eleventh resistor, a twelfth resistor and a thirteenth resistor;
[0013] The first end of the fifth capacitor is connected to the first end of the ninth resistor and serves as the output end of the first control unit, the second end of the ninth resistor is respectively connected to the first end of the tenth resistor, and the second end of the fifth capacitor and the second end of the tenth resistor are grounded; the first end of the tenth resistor is connected to the first end of the first optocoupler isolator, the second end of the first optocoupler isolator is used to connect to the power supply, the third end of the first optocoupler isolator is respectively connected to the first end of the twelfth resistor and the collector of the first transistor, the fourth end of the first optocoupler isolator is connected to the second end of the twelfth resistor and the first end of the eleventh resistor, and the second end of the eleventh resistor is used to connect to the power supply voltage; the emitter of the first transistor is grounded, the base of the first transistor is connected to the first end of the thirteenth resistor, and the second end of the thirteenth resistor serves as the input end of the first control unit.
[0014] Preferably, the first control unit includes a sixth capacitor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a second transistor and a second optocoupler isolator;
[0015] The first end of the fourteenth resistor serves as the output end of the second control unit, the second end of the fourteenth resistor is connected to the base of the second transistor, the emitter of the second transistor is grounded, the collector of the second transistor is connected to the first end of the sixteenth resistor and the first end of the second optocoupler isolator, the second end of the sixteenth resistor is respectively connected to the first end of the fifteenth resistor and the second end of the second optocoupler isolator, the second end of the fifteenth resistor is used to connect to the power supply, the third end of the second optocoupler isolator is respectively connected to the first end of the seventeenth resistor and the second end of the eighteenth resistor, and the fourth end of the second optocoupler isolator is used to connect to the power supply voltage; the second end of the seventeenth resistor is connected to the first end of the sixth capacitor and is grounded; the second end of the eighteenth resistor is connected to the second end of the sixth capacitor and serves as the input end of the second control unit.
[0016] Preferably, the model of the main control chip is AiP9P152 chip.
[0017] Compared with the prior art, the beneficial effect of the present invention lies in that, by electrically connecting the electronic switch to the input end of the first control circuit, the first control circuit is used to transmit the control signal input by the electronic switch to the second control signal, and the second control circuit is connected to the output end of the first control circuit; the second control circuit is used to receive the input signal of the mechanical switch; the second control circuit includes a main control chip, a first capacitor, a first protection circuit, a second protection circuit and a third protection circuit; the two ends of the first capacitor are respectively connected to pin 1 and pin 16 of the main control chip; pin 2 and pin 3 of the main control chip are used to connect to the output end of the first control circuit; pin 14 of the main control chip is connected to the input end of the first protection circuit, the output end of the first protection circuit is connected to the button 3 of the mechanical switch, the pin 13 of the main control chip is connected to the input end of the second protection circuit, the output end of the second protection circuit is connected to the button 4 of the mechanical switch, the pin 12 of the main control chip is connected to the input end of the third protection circuit, and the output end of the third protection circuit is connected to the button 2 of the mechanical switch. When the gear position is controlled by an electronic switch, the host computer sends communication data through the CN4 interface of the electronic switch through the infrared communication protocol. The main control U11 receives the data sent by the host computer and parses the current gear position to control different gear positions; thereby achieving dual switch compatibility of mechanical switches and electronic switches. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The present invention will be described in detail below in conjunction with the accompanying drawings. The above and other aspects of the present invention will become clearer and easier to understand through the detailed description made in conjunction with the following drawings. In the accompanying drawings:
[0019] Figure 1 is a circuit diagram of a first control circuit of a dual-switch compatible control circuit provided by an embodiment of the present invention;
[0020] Figure 2 4 is a circuit diagram of a second control circuit of a dual-switch compatible control circuit provided in an embodiment of the present invention.
[0021] In the figure, 1 is a first control circuit, 11 is a first control unit, 12 is a second control unit, 2 is a second control circuit, 21 is a first protection circuit, 22 is a second protection circuit, and 23 is a third protection circuit. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0023] Combined with Figure 1-Figure 2 As shown, an embodiment of the present invention provides a dual-switch compatible control circuit, comprising: an electronic switch CN4, a first control circuit 1, a mechanical switch CN8 and a second control circuit 2; the electronic switch CN4 is electrically connected to the input end of the first control circuit 1, the first control circuit 1 is used to transmit the control signal input by the electronic switch CN4 to the second control signal, and the second control circuit 2 is connected to the output end of the first control circuit 1; the second control circuit 2 is used to receive the input signal of the mechanical switch CN8;
[0024] The second control circuit 2 includes a main control chip U11, a first capacitor C1, a first protection circuit 21, a second protection circuit 22 and a third protection circuit 23; the two ends of the first capacitor C1 are respectively connected to pin 1 and pin 16 of the main control chip U11; pin 2 and pin 3 of the main control chip U11 are used to connect to the output end of the first control circuit 1; pin 14 of the main control chip U11 is connected to the input end of the first protection circuit 21, the output end of the first protection circuit 21 is connected to the button 3 of the mechanical switch CN8, pin 13 of the main control chip U11 is connected to the input end of the second protection circuit 22, the output end of the second protection circuit 22 is connected to the button 4 of the mechanical switch CN8, pin 12 of the main control chip U11 is connected to the input end of the third protection circuit 23, and the output end of the third protection circuit 23 is connected to the button 2 of the mechanical switch CN8.
[0025] In this embodiment, the first protection circuit 21 includes a second capacitor C2, a first resistor R1 and a second resistor R2; the first end of the second capacitor C2 is connected to the first end of the first resistor R1 and is grounded; the second end of the second capacitor C2 is respectively connected to the second end of the first resistor R1, the first end of the second resistor R2 and the pin 14 of the main control chip U11, and the second end of the second resistor R2 is connected to the button 3 of the mechanical switch CN8.
[0026] In this embodiment, the second protection circuit 22 includes a third resistor R3, a fourth resistor R4 and a third capacitor C3; the first end of the third capacitor C3 is connected to the first end of the fourth resistor R4 and is grounded; the second end of the third capacitor C3 is respectively connected to the second end of the fourth resistor R4, the first end of the third resistor R3 and the pin 13 of the main control chip U11; the second end of the third resistor R3 is connected to the button 4 of the mechanical switch CN8.
[0027] In this embodiment, the third protection circuit 23 includes a fourth capacitor C4, a fifth resistor R5 and a sixth resistor R6; the first end of the fourth capacitor C4 is connected to the first end of the sixth resistor R6 and grounded, the second end of the fourth capacitor C4 is respectively connected to the second end of the sixth resistor R6, the first end of the fifth resistor R5 and the pin 12 of the main control chip U11, and the second end of the fifth resistor R5 is connected to the button 2 of the mechanical switch CN8.
[0028] In this embodiment, the second control circuit 2 also includes a seventh resistor R7 and an eighth resistor R8; the pin 2 of the main control chip U11 is connected to the first output end of the first control circuit 1 through the seventh resistor R7, and the pin 3 of the main control chip U11 is connected to the second output end of the first control circuit 1 through the eighth resistor R8.
[0029] In this embodiment, the first control circuit 1 includes a first control unit 11 and a second control unit 12, the input end of the first control unit 11 is connected to the button 3 of the electronic switch CN4, the input end of the second control unit 12 is connected to the button 4 of the electronic switch CN4, the output end of the first control unit 11 serves as the first output end of the first control circuit 1, and the output end of the second control unit 12 serves as the second output end of the first control circuit 1.
[0030] In this embodiment, the first control unit 11 includes a fifth capacitor C5, a ninth resistor R9, a tenth resistor R10, a first optical coupler isolator U1, a first transistor Q1, an eleventh resistor R11, a twelfth resistor R12 and a thirteenth resistor R13;
[0031] The first end of the fifth capacitor C5 is connected to the first end of the ninth resistor R9 and serves as the output end of the first control unit 11, the second end of the ninth resistor R9 is respectively connected to the first end of the tenth resistor R10, and the second end of the fifth capacitor C5 and the second end of the tenth resistor R10 are grounded; the first end of the tenth resistor R10 is connected to the first end of the first optocoupler isolator U1, the second end of the first optocoupler isolator U1 is used to connect to the power supply, the third end of the first optocoupler isolator U1 is respectively connected to the first end of the twelfth resistor R12 and the collector of the first transistor Q1, the fourth end of the first optocoupler isolator U1 is connected to the second end of the twelfth resistor R12 and the first end of the eleventh resistor R11, and the second end of the eleventh resistor R11 is used to connect to the power supply voltage; the emitter of the first transistor Q1 is grounded, the base of the first transistor Q1 is connected to the first end of the thirteenth resistor R13, and the second end of the thirteenth resistor R13 serves as the input end of the first control unit 11.
[0032] In this embodiment, the first control unit 11 includes a sixth capacitor C6, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a second transistor Q2 and a second optical coupler isolator U2;
[0033] The first end of the fourteenth resistor R14 serves as the output end of the second control unit 12, the second end of the fourteenth resistor R14 is connected to the base of the second transistor Q2, the emitter of the second transistor Q2 is grounded, the collector of the second transistor Q2 is connected to the first end of the sixteenth resistor R16 and the first end of the second optocoupler isolator U2, the second end of the sixteenth resistor R16 is respectively connected to the first end of the fifteenth resistor R15 and the second end of the second optocoupler isolator U2, the second end of the fifteenth resistor R15 is used to connect to the power supply, the third end of the second optocoupler isolator U2 is respectively connected to the first end of the seventeenth resistor R17 and the second end of the eighteenth resistor R18, and the fourth end of the second optocoupler isolator U2 is used to connect to the power supply voltage; the second end of the seventeenth resistor R17 is connected to the first end of the sixth capacitor C6 and is grounded; the second end of the eighteenth resistor R18 is connected to the second end of the sixth capacitor C6 and serves as the input end of the second control unit 12.
[0034] In this embodiment, the model of the main control chip U11 is AiP9P152 chip.
[0035] In specific implementation, when the mechanical switch CN8 is connected, the main control chip U11 can identify that the current gear is the mechanical switch CN8 synchronous control gear, and when the electronic switch CN4 is connected, the main control chip U11 can identify that the current gear is the electronic switch CN4 synchronous control gear. When the whole machine is powered on, the main control chip U11 determines through pin 3 within 1S that the communication data sent from the electronic switch CN4 has been received and parsed successfully, then the main control chip U11 determines that this model is installed with the electronic switch CN4 control gear. If the whole machine U11 does not determine the data sent by the electronic switch CN4 within 1S after the power-on, the default is the mechanical switch CN8 control gear. When the mechanical switch CN8 button 1 is pressed, +5V is connected to the CN8-4 pin, and the pin 13 of the main control chip U11 receives a high level (+5V) low gear. When the mechanical switch CN8 button 1 is not pressed, the pin 13 of the main control chip U11 receives a low level (0V) without a low gear. When the mechanical switch CN8 button 2 is pressed, +5V is connected to the CN8-3 pin, and the pin 14 of the main control chip U11 receives a high level (+5V) mid-gear. When the mechanical switch CN8 button 2 is not pressed, the pin 14 of the main control chip U11 receives a low level (0V). There is no middle position; when button 3 of the mechanical switch CN8 is pressed, +5V is connected to pin CN8-2, and pin 12 of the main control chip U11-12 receives a high level (+5V) and a high position. When button 3 of the mechanical switch CN8 is not pressed, pin 12 of the main control chip U11 receives a low level (0V) and there is no high position; when none of the three buttons are pressed, pin 13 of the main control chip U11, pin 14 of the main control chip U11, and pin 12 of the main control chip U11 receive a low level (0V) and there is no gear position, thereby realizing dual switch compatibility of the mechanical switch CN8 and the electronic switch CN4.
[0036] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, article or device. In the absence of more restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, article or device including the element.
[0037] The embodiments of the present invention are described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiment of the present invention. However, the present invention is not limited to the above-mentioned specific implementation manner. The above-mentioned specific implementation manner is only illustrative rather than restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms and equivalent changes without departing from the scope of protection of the purpose of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A dual-switch compatible control circuit, characterized in that: include: An electronic switch, a first control circuit, a mechanical switch and a second control circuit; the electronic switch is electrically connected to an input end of the first control circuit, the first control circuit is used to transmit a control signal input by the electronic switch to the second control signal, and the second control circuit is connected to an output end of the first control circuit; the second control circuit is used to receive an input signal from the mechanical switch; The second control circuit includes a main control chip, a first capacitor, a first protection circuit, a second protection circuit and a third protection circuit; the two ends of the first capacitor are respectively connected to pin 1 and pin 16 of the main control chip; pin 2 and pin 3 of the main control chip are used to connect to the output end of the first control circuit; pin 14 of the main control chip is connected to the input end of the first protection circuit, the output end of the first protection circuit is connected to the button 3 of the mechanical switch, pin 13 of the main control chip is connected to the input end of the second protection circuit, the output end of the second protection circuit is connected to the button 4 of the mechanical switch, pin 12 of the main control chip is connected to the input end of the third protection circuit, and the output end of the third protection circuit is connected to the button 2 of the mechanical switch.
2. The dual switch compatible control circuit according to claim 1, characterized in that: The first protection circuit includes a second capacitor, a first resistor and a second resistor; the first end of the second capacitor is connected to the first end of the first resistor and is grounded; the second end of the second capacitor is respectively connected to the second end of the first resistor, the first end of the second resistor and the pin 14 of the main control chip, and the second end of the second resistor is connected to the button 3 of the mechanical switch.
3. The dual switch compatible control circuit according to claim 1, characterized in that: The second protection circuit includes a third resistor, a fourth resistor and a third capacitor; the first end of the third capacitor is connected to the first end of the fourth resistor and is grounded; the second end of the third capacitor is respectively connected to the second end of the fourth resistor, the first end of the third resistor and the pin 13 of the main control chip; the second end of the third resistor is connected to the button 4 of the mechanical switch.
4. The dual switch compatible control circuit according to claim 1, characterized in that: The third protection circuit includes a fourth capacitor, a fifth resistor and a sixth resistor; the first end of the fourth capacitor is connected to the first end of the sixth resistor and is grounded, the second end of the fourth capacitor is respectively connected to the second end of the sixth resistor, the first end of the fifth resistor and the pin 12 of the main control chip, and the second end of the fifth resistor is connected to the button 2 of the mechanical switch.
5. The dual switch compatible control circuit according to claim 1, characterized in that: The second control circuit also includes a seventh resistor and an eighth resistor; pin 2 of the main control chip is connected to the first output end of the first control circuit through the seventh resistor, and pin 3 of the main control chip is connected to the second output end of the first control circuit through the eighth resistor.
6. The dual-switch compatible control circuit according to claim 5, characterized in that: The first control circuit includes a first control unit and a second control unit, the input end of the first control unit is connected to the button 3 of the electronic switch, the input end of the second control unit is connected to the button 4 of the electronic switch, the output end of the first control unit serves as the first output end of the first control circuit, and the output end of the second control unit serves as the second output end of the first control circuit.
7. The dual-switch compatible control circuit according to claim 6, characterized in that: The first control unit includes a fifth capacitor, a ninth resistor, a tenth resistor, a first optical coupler isolator, a first transistor, an eleventh resistor, a twelfth resistor and a thirteenth resistor; The first end of the fifth capacitor is connected to the first end of the ninth resistor and serves as the output end of the first control unit, the second end of the ninth resistor is respectively connected to the first end of the tenth resistor, and the second end of the fifth capacitor and the second end of the tenth resistor are grounded; the first end of the tenth resistor is connected to the first end of the first optocoupler isolator, the second end of the first optocoupler isolator is used to connect to the power supply, the third end of the first optocoupler isolator is respectively connected to the first end of the twelfth resistor and the collector of the first transistor, the fourth end of the first optocoupler isolator is connected to the second end of the twelfth resistor and the first end of the eleventh resistor, and the second end of the eleventh resistor is used to connect to the power supply voltage; the emitter of the first transistor is grounded, the base of the first transistor is connected to the first end of the thirteenth resistor, and the second end of the thirteenth resistor serves as the input end of the first control unit.
8. The dual-switch compatible control circuit according to claim 6, characterized in that: The first control unit includes a sixth capacitor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a second transistor and a second optical coupler isolator; The first end of the fourteenth resistor serves as the output end of the second control unit, the second end of the fourteenth resistor is connected to the base of the second transistor, the emitter of the second transistor is grounded, the collector of the second transistor is connected to the first end of the sixteenth resistor and the first end of the second optocoupler isolator, the second end of the sixteenth resistor is respectively connected to the first end of the fifteenth resistor and the second end of the second optocoupler isolator, the second end of the fifteenth resistor is used to connect to the power supply, the third end of the second optocoupler isolator is respectively connected to the first end of the seventeenth resistor and the second end of the eighteenth resistor, and the fourth end of the second optocoupler isolator is used to connect to the power supply voltage; the second end of the seventeenth resistor is connected to the first end of the sixth capacitor and is grounded; the second end of the eighteenth resistor is connected to the second end of the sixth capacitor and serves as the input end of the second control unit.
9. The dual-switch compatible control circuit according to claim 1, characterized in that: The model of the main control chip is AiP9P152 chip.