一种按键检测电路及油烟机
By combining a reference signal generation module and a voltage divider resistor, the problem of the limited number of controller ports was solved, enabling high-precision signal acquisition and cost-effective key detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- 中山市羽伦电机有限公司
- Filing Date
- 2025-06-11
- Publication Date
- 2026-07-17
AI Technical Summary
Existing button circuits suffer from increased costs when expanding the number of controller ports due to limitations in the number of ports.
By combining a reference signal generation module and voltage divider resistors, a button signal is generated through voltage divider resistors with different resistance values. The controller determines the gear position by comparing the voltage of the button signal with the voltage of the reference signal, thus reducing the dependence on the controller port.
It improves signal acquisition accuracy, reduces deployment costs, and enables convenient and reliable button detection.
Smart Images

Figure CN224518910U_ABST
Abstract
Claims
1. A key detection circuit, characterized by comprising: include: At least one push-button switch, each of the push-button switches forming at least a portion of a push-button trigger branch, the first end of the push-button trigger branch being connected to a power supply. A reference signal generation module, wherein the input terminal of the reference signal generation module is connected to the tail end of each of the key trigger branches, the reference signal generation module is used to generate and output a reference voltage signal, and the output terminal of the reference signal generation module is used to connect to the first port of the controller; The button signal generation module is equipped with multiple voltage divider resistors of different resistance values. Each voltage divider resistor constitutes at least part of a button signal generation branch. The tail end of each button trigger branch is connected to the head end of each button signal generation branch. The tail end of each button signal generation branch is used to connect to the second port of the controller.
2. The key detection circuit according to claim 1, characterized in that: The reference signal generation module includes multiple first unidirectional conduction components and a first voltage divider unit. The conducting end of each first unidirectional conduction component is connected to the tail end of each of the button trigger branches. The cut-off end of each first unidirectional conduction component is connected to the input end of the first voltage divider unit. The output end of the first voltage divider unit is grounded. The voltage divider end of the first voltage divider unit is connected to the first port of the controller.
3. The key detection circuit according to claim 2, characterized in that: The first voltage divider unit includes resistor R4 and resistor R6. The first end of resistor R4 is connected to the cut-off end of each of the first unidirectional conductors. The last end of resistor R4 is connected to the first end of resistor R6 and the first port of the controller. The last end of resistor R6 is grounded.
4. The key detection circuit according to claim 2, wherein It also includes a wake-up signal generation module, the input of which is connected to the tail end of each of the key trigger branches, the wake-up signal generation module is used to generate and output a wake-up signal, and the output of which is connected to the third port of the controller.
5. A key detection circuit according to claim 4, wherein The input terminal of the wake-up signal generation module is connected to the cut-off terminal of each of the first unidirectional conduction components.
6. The key detection circuit according to claim 5, wherein The wake-up signal generation module includes a semiconductor switch Q1, resistors R15 and R16, and capacitor C3. The controlled terminal of the switch Q1 is connected to the cut-off terminal of each of the first unidirectional conducting elements. The input terminal of the switch Q1 is connected to the first end of resistors R15 and R16, respectively. The tail end of resistor R15 is connected to the power supply. The tail end of resistor R16 is connected to the first end of capacitor C3 and the third port of the controller, respectively. The tail end of capacitor C3 and the output terminal of the switch Q1 are both grounded.
7. The key detection circuit according to claim 1, wherein The button triggering branch also includes a first resistor connected in series with the button switch.
8. The key detection circuit according to claim 1, wherein The button signal generation branch also includes a second unidirectional conductor connected in series with the voltage divider resistor. The conducting end of the second unidirectional conductor is close to the tail end of the button triggering branch, and the cut-off end of the second unidirectional conductor is close to the second port of the controller.
9. The key detection circuit according to claim 1, wherein The key signal generating module further comprises a second voltage dividing unit, an input end of the second voltage dividing unit is connected with the tail end of each of the key signal generating branches, an output end of the second voltage dividing unit is grounded, and a voltage dividing end of the second voltage dividing unit is connected with a second port of the controller.
10. A range hood characterized by The key detection circuit comprises the key detection circuit according to any one of claims 1 to 9.