Intelligent mosquito killer lamp control method
By employing intelligent control methods combined with environmental sensing and safety protection technologies, a highly efficient, safe, and energy-saving intelligent mosquito killer lamp has been developed. This solves the problems of short battery life, high energy consumption, and poor safety of traditional mosquito killer lamps, thereby improving mosquito killing efficiency and battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN FUYIWEI ELECTRONICS TECH
- Filing Date
- 2026-01-20
- Publication Date
- 2026-04-21
AI Technical Summary
Existing mosquito killer lamps have short battery life, high energy consumption, insufficient safety protection, poor mosquito killing effectiveness, and fail to adjust their working status according to environmental factors.
It features a long press to power on/off function and a short press to switch modes, supports USB charging and solar charging, and uses ambient temperature and light sensors to switch between energy-saving modes. It also provides safety protection through vibration and human body sensors, and employs a two-stage inductor boost circuit and AD detection technology for accurate mosquito identification and pulse high-voltage mosquito killing.
It achieves intelligent mosquito control with high efficiency, long battery life, safety and reliability, and adaptability to multiple scenarios. The battery life can last up to 1 month, and it is safe to prevent electric shock and mosquito sticking, while saving energy.
Smart Images

Figure CN121908419A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of mosquito-killing lamp technology and relates to an intelligent mosquito-killing lamp control method. Background Technology
[0002] Existing mosquito killer lamps generally suffer from problems such as short battery life, high energy consumption, insufficient safety protection, and poor mosquito targeting. In current technology, traditional mosquito killer lamps mostly adopt a continuous operating mode, relying on an additional transformer module to boost voltage. This not only results in a complex circuit structure but also leads to low energy efficiency—traditional products equipped with a single 1200mAh 18650 battery can only operate for a maximum of 6 hours. Furthermore, traditional mosquito killer lamps lack an effective mosquito detection mechanism, running continuously regardless of the presence of mosquitoes in the environment, resulting in significant wasted energy. In addition, traditional products often employ a continuous high-voltage design, which can easily cause mosquitoes to stick to the power grid, affecting the mosquito-killing effect, and lacks protection against electric shock, posing a safety hazard. Moreover, traditional products do not consider the impact of environmental factors on mosquito activity and cannot adjust their operating status according to ambient temperature, light intensity, and other conditions, further reducing mosquito-killing efficiency and energy-saving effects.
[0003] Therefore, the present invention provides an intelligent mosquito killer lamp control method to solve the above problems. Summary of the Invention
[0004] In view of the problems existing in the prior art, the present invention discloses an intelligent mosquito killer lamp control method, the technical solution of which includes the following steps: Step 1: Power on / off and mode switching control: The power on / off mode is triggered by a long press, and the mode switching mode is triggered by a short press. The power on defaults to the intelligent mosquito killing mode, and the function key is pressed to cycle through the night light mode. Step 2: Power supply system control: Supports both USB charging and solar charging, with automatic power supply mode switching function, prioritizing USB power supply and charging, and automatically switching to battery power after disconnection; Step 3: Temperature control: The current of the LED light panel is adjusted by PWM technology to keep the temperature of the light panel close to the human body temperature level; Step 4: Intelligent energy-saving control: Based on ambient temperature and light environment sensing, energy-saving mode switching is realized, and on-demand operation and pulse detection strategies are adopted to reduce ineffective energy consumption; Step 5: Safety Protection Control: Vibration and human body sensors are used to provide early warning of human touch, which will trigger the shutdown of the high-voltage mosquito-killing circuit. A pulsed high-voltage design is used to prevent mosquitoes from sticking to the electric grid. Step Six: Mosquito Identification and Control: Relying on a two-stage inductor boost circuit to provide stable power, and using AD detection technology to monitor voltage changes between power grids, accurate mosquito identification and pulsed high-voltage mosquito control are achieved.
[0005] As a preferred embodiment of the present invention, the power on / off and mode switching control is specifically implemented as follows: press and hold the function key for 2 seconds to complete the power on or off, and the system will automatically initialize after power on; the intelligent mosquito killing mode and the night light mode are switched cyclically by short-pressing the function key, and a short press once turns off the mosquito killing function and switches to the night light mode.
[0006] As a preferred embodiment of the present invention, in the power supply system control: the product works normally when USB charging, and solar charging also has a light environment detection function; the power supply mode switching is automatically identified by the system to identify changes in power supply status, ensuring uninterrupted operation.
[0007] As a preferred embodiment of the present invention, the pulse detection strategy in the intelligent energy-saving control is: a mosquito detection pulse that operates for 0.1 seconds and stops for 10 seconds. This strategy is used to reduce ineffective battery consumption, so that the product can last for up to one month when equipped with an 18650 battery.
[0008] As a preferred embodiment of the present invention, the constant temperature control is performed by a built-in constant temperature regulation system, and the PWM technology outputs control signals through corresponding pins PA2 / AIN2 / PWM3, PB3 / AIN8 / PWM1, and PB2 / XIN7 / PWM2 to adjust the LED board current to maintain the target temperature.
[0009] As a preferred embodiment of the present invention, the specific implementation of the intelligent energy-saving control includes: (1) Ambient temperature sensing energy saving: The ambient temperature is detected by a temperature sensor. When the ambient temperature is lower than the mosquito activity temperature threshold, the energy saving mode is entered to reduce the working power. (2) Light environment sensing energy saving: The light intensity is detected by the solar cell module, and the brightness of the night light is reduced or the frequency of mosquito killing detection is reduced in strong light environment; (3) Intelligent on-demand operation: The high-efficiency working mode is activated only when the conditions for mosquito activity are met or mosquitoes are detected, and the low-power standby or pulse detection state is maintained at other times.
[0010] As a preferred embodiment of the present invention, in the safety protection control, after the vibration sensor detects the vibration signal generated by human touch, the system instantly shuts off the high-voltage mosquito-killing circuit; if no vibration is detected again after 3 seconds of continuous detection, the high-voltage circuit is restored; if vibration still occurs within 3 seconds, the high-voltage circuit remains shut off.
[0011] As a preferred embodiment of the present invention, the specific logic of mosquito identification and mosquito control is as follows: when a mosquito comes into contact with the power grid, its own resistance causes the VTEST voltage between the power grids to decrease. After the system detects the voltage change, it starts the pulse high-voltage mosquito killing mode; after the mosquito is broken down, the VTEST voltage rises, and the system switches back to the power saving mode.
[0012] As a preferred embodiment of the present invention, the two-stage inductor boost circuit does not require an additional transformer boost module. By optimizing the circuit, the structure is simplified and the boost efficiency is improved, providing stable power support for pulse high-voltage mosquito killing.
[0013] The beneficial effects of this invention are:
[0014] Highly efficient mosquito control: By simulating human body heat source through constant temperature control and accurately identifying mosquitoes to trigger high-pressure mosquito killing, the targeting and effectiveness of mosquito control are improved;
[0015] Ultra-long battery life: By adopting a pulse working strategy and intelligent on-demand working mode, combined with multi-dimensional energy-saving control, the product can last up to 1 month, far exceeding the battery life of traditional mosquito killer lamps.
[0016] Safe and reliable: Vibration-sensing electric shock protection and pulse high-voltage anti-sticking design not only avoid the risk of electric shock to the human body, but also ensure the cleanliness of the power grid and the stability of continuous operation;
[0017] Energy saving: No additional transformer module is required, simplifying circuit energy consumption. Combined with environmental sensing energy saving and on-demand operation, it minimizes ineffective energy consumption.
[0018] Adaptable to multiple scenarios: Supports both USB and solar charging methods, with automatic power mode switching. It can work normally while charging, making it suitable for various indoor and outdoor usage scenarios. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the main control circuit of the present invention;
[0020] Figure 2 This is a schematic diagram of the first-stage boost circuit of the present invention;
[0021] Figure 3 This is a schematic diagram of the second-stage 3000V high-voltage multiplier circuit of the present invention;
[0022] Figure 4 This is a schematic diagram of the temperature control circuit of the present invention;
[0023] Figure 5 This is a schematic diagram of the LED heating control circuit of the present invention;
[0024] Figure 6 This is a schematic diagram of the LED driver control circuit of the present invention;
[0025] Figure 7 This is a schematic diagram of the USB charging power supply circuit of the present invention;
[0026] Figure 8 This is a schematic diagram of the sensor circuit of the present invention;
[0027] Figure 9This is a schematic diagram of the solar cell circuit of the present invention. Detailed Implementation
[0028] Example 1
[0029] like Figures 1 to 9 As shown, the intelligent mosquito killer lamp control method of the present invention is implemented based on the following hardware circuit, including the following modules:
[0030] Main control unit: It adopts a microcontroller with AD detection function. Its pins PA0-PA7 and PB0-PB5 correspond to the functional interfaces such as AIN0-AIN10, PWM1-PWM3, and INT0-INT1, respectively, which are used to connect sensors, control circuits and actuators.
[0031] Power supply unit: includes a built-in battery (such as an 18650 battery), a USB power interface, and a solar panel, enabling switching between multiple charging and power supply modes;
[0032] Sensor unit: includes temperature sensor (connected to AIN series pins), vibration sensor (connected to INT0 or INT1 pins), and solar cell module (also has light sensing function);
[0033] Execution unit: includes LED light board (controlled via PWM pin), two-stage inductor boost circuit, and high-voltage mosquito-killing grid;
[0034] Control buttons: Connect to the corresponding pins (such as PA3 / AIN3, etc.) to trigger power on / off and mode switching.
[0035] The specific implementation process for each of the above modules is as follows:
[0036] I. Power On / Off and Mode Switching Procedures
[0037] Power on: Press and hold the function key for 2 seconds. After the main control unit detects the key signal for 2 seconds, the control system will power on and initialize, drive each module to perform self-test, and then enter the default intelligent mosquito killing mode.
[0038] Power off: In smart mosquito killing mode or night light mode, press and hold the function button for 2 seconds. After receiving the signal, the main control unit will control each module to cut off the power and the product will be powered off.
[0039] Mode switching: After powering on, press the function key once to shut down the high-voltage mosquito killing circuit and switch to night light mode; press the function key again to restart the high-voltage mosquito killing circuit and restore the intelligent mosquito killing mode, and repeat the cycle.
[0040] II. Power Supply System Control Flow
[0041] USB charging and power supply: After the USB power cable is plugged in, the main control unit detects the power supply signal through the VBUS pin, prioritizes controlling the USB to power the product, and simultaneously starts the battery charging management module to charge the built-in battery; during the charging process, the main control unit maintains the normal operation of the current working mode (intelligent mosquito killer or night light);
[0042] Solar charging and light sensing detection: The solar cell module absorbs light energy and converts it into electrical energy, which is stored in the battery through the charging management module. At the same time, the light intensity detection data is transmitted to the main control unit through the corresponding interface as the basis for light-sensing energy-saving regulation.
[0043] Power supply mode switching: The main control unit monitors the USB power supply status in real time. When the USB is unplugged, the VBUS pin detects a power interruption and immediately controls the switch to battery power supply mode to ensure that the LED board, sensors and other modules continue to work without interruption.
[0044] III. Constant Temperature Control Process
[0045] The main control unit outputs pulse width modulation signals through PWM pins (PA2 / AIN2 / PWM3, PB3 / AIN8 / PWM1, PB2 / XIN7 / PWM2) to adjust the power supply current of the LED light board; at the same time, it collects the light board temperature data in real time through temperature sensors and feeds it back to the main control unit; the main control unit compares the collected temperature data with the preset human body proximity temperature threshold, dynamically adjusts the duty cycle of the PWM signal, and thus precisely controls the light board current to keep the light board temperature stably maintained within the target threshold range.
[0046] IV. Intelligent Energy-Saving Control Process
[0047] Temperature-sensing energy saving: The temperature sensor collects the ambient temperature in real time and transmits it to the main control unit. The main control unit compares it with the mosquito activity temperature threshold (such as 25°C). When the ambient temperature is lower than the threshold, the control unit reduces the operating power of the product (reduces the pulse detection frequency in smart mosquito killing mode and reduces the brightness in night light mode); when the temperature rises back above the threshold, the normal operating power is restored.
[0048] Light-sensing energy saving: The solar cell module transmits light intensity data to the main control unit. When the main control unit determines that it is a strong light environment, it controls the product to enter the power saving mode; when it determines that it is a weak light or dark environment (where mosquitoes are more active), it resumes normal operation.
[0049] On-demand operation control: The main control unit combines temperature, light intensity data and mosquito detection results, and only activates the high-efficiency working mode (increasing detection frequency and high voltage output efficiency in intelligent mosquito killing mode, and maintaining normal brightness in night light mode) when either the conditions of "ambient temperature ≥ mosquito activity threshold + low light / dark environment" or "mosquitoes detected" are met; otherwise, it maintains low power standby or pulse detection state.
[0050] V. Safety Protection and Control Procedures
[0051] Electric shock protection: The vibration sensor detects vibration signals in real time and transmits them to the main control unit. When a vibration signal is detected (amplitude exceeding a preset threshold), the main control unit immediately outputs a control signal to shut down the high-voltage mosquito-killing circuit; at the same time, a 3-second timer is started, during which the vibration signal is continuously detected: if no vibration is detected again within 3 seconds, the high-voltage circuit is controlled to resume operation after the timer ends; if a vibration signal is still input within 3 seconds, the high-voltage circuit remains closed until the vibration signal disappears and the timer is completed;
[0052] Pulse high voltage control: The main control unit outputs a pulsed high voltage signal to the mosquito-killing grid through a two-stage inductor boost circuit. The frequency and width of the high voltage pulse are preset by the main control unit (e.g., the pulse voltage lasts for 0.1 seconds with an interval of 1 second) to avoid continuous high voltage causing mosquitoes to stick together.
[0053] VI. Mosquito Identification and Control Procedures
[0054] Under the control of the main control unit, the two-stage inductor boost circuit provides a stable base voltage for the mosquito-killing grid. The main control unit monitors the VTEST voltage between the grids in real time through AD detection technology. When a mosquito comes into contact with the grid, the resistance between the grids decreases, and the VTEST voltage drops accordingly. When the main control unit detects that the voltage drop exceeds a preset threshold (such as 10%), it determines that a mosquito is present and immediately controls the two-stage inductor boost circuit to output a high-voltage pulse to start mosquito killing. When the mosquito is broken down, the resistance between the grids returns to the air gap resistance, and the VTEST voltage rises back to its initial value. The main control unit determines that mosquito killing is complete, controls the boost circuit to stop the high-voltage output, and switches back to the pulse detection state.
[0055] Two-stage inductor boost circuit: By optimizing the circuit structure, no additional transformer module is needed. The main control unit directly controls the charging and discharging of the inductor to achieve boost, outputting a stable pulse high voltage. This simplifies the circuit size and reduces the energy loss caused by the additional transformer.
[0056] AD detection technology: Relying on the AD conversion function of the microcontroller, the VTEST voltage signal between the power grid is collected through the AIN series pins to achieve accurate detection of voltage changes and provide reliable data support for mosquito identification;
[0057] Sensor and pin adapter: Temperature sensors connect to the AIN series analog signal pins, and vibration sensors connect to the INT0 / INT1 interrupt pins to ensure rapid acquisition and response of sensor signals and improve the real-time performance of control.
[0058] Electrical connection methods or structures not described in detail in this article are existing technologies.
[0059] While the specific embodiments of the present invention have been described in detail above, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention, and modifications or variations without creative effort are still within the protection scope of the present invention.
Claims
1. A method for controlling an intelligent mosquito-killing lamp, characterized in that, Includes the following steps: Step 1: Power on / off and mode switching control: The power on / off mode is triggered by a long press, and the mode switching mode is triggered by a short press. The power on defaults to the intelligent mosquito killing mode, and the function key is pressed to cycle through the night light mode. Step 2: Power supply system control: Supports both USB charging and solar charging, with automatic power supply mode switching function, prioritizing USB power supply and charging, and automatically switching to battery power after disconnection; Step 3: Temperature control: The current of the LED light panel is adjusted by PWM technology to keep the temperature of the light panel close to the human body temperature level; Step 4: Intelligent energy-saving control: Based on ambient temperature and light environment sensing, energy-saving mode switching is realized, and on-demand operation and pulse detection strategies are adopted to reduce ineffective energy consumption; Step 5: Safety Protection Control: Vibration and human body sensors are used to provide early warning of human touch, which will trigger the shutdown of the high-voltage mosquito-killing circuit. A pulsed high-voltage design is used to prevent mosquitoes from sticking to the electric grid. Step Six: Mosquito Identification and Control: Relying on a two-stage inductor boost circuit to provide stable power, and using AD detection technology to monitor voltage changes between power grids, accurate mosquito identification and pulsed high-voltage mosquito control are achieved.
2. The intelligent mosquito killer lamp control method according to claim 1, characterized in that: The specific implementation of the power on / off and mode switching control is as follows: press and hold the function key for 2 seconds to complete the power on or off, and the system will automatically initialize after power on; the intelligent mosquito killing mode and the night light mode are switched in a cycle by short pressing the function key, and short pressing once will turn off the mosquito killing function and switch to the night light mode.
3. The intelligent mosquito killer lamp control method according to claim 1, characterized in that: In the power supply system control: the product works normally when USB charging, and solar charging also has a light environment detection function; the power supply mode switching is automatically identified by the system to ensure uninterrupted operation.
4. The intelligent mosquito killer lamp control method according to claim 1, characterized in that: The pulse detection strategy in the intelligent energy-saving control is: a mosquito detection pulse that operates for 0.1 seconds and stops for 10 seconds. This strategy is used to reduce ineffective battery consumption, so that the product can last for up to one month when equipped with an 18650 battery.
5. The intelligent mosquito killer lamp control method according to claim 1, characterized in that: The constant temperature control is executed through a built-in constant temperature regulation system. The PWM technology outputs control signals through the corresponding pins PA2 / AIN2 / PWM3, PB3 / AIN8 / PWM1, and PB2 / XIN7 / PWM2 to adjust the LED board current to maintain the target temperature.
6. The intelligent mosquito killer lamp control method according to claim 1, characterized in that, The specific implementation of the intelligent energy-saving control includes: (1) Ambient temperature sensing energy saving: The ambient temperature is detected by a temperature sensor. When the ambient temperature is lower than the mosquito activity temperature threshold, the energy saving mode is entered to reduce the working power. (2) Light environment sensing energy saving: The light intensity is detected by the solar cell module, and the brightness of the night light is reduced or the frequency of mosquito killing detection is reduced in strong light environment; (3) Intelligent on-demand operation: The high-efficiency working mode is activated only when the conditions for mosquito activity are met or mosquitoes are detected, and the low-power standby or pulse detection state is maintained at other times.
7. The intelligent mosquito killer lamp control method according to claim 1, characterized in that: In the aforementioned safety protection control, after the vibration sensor detects the vibration signal generated by human touch, the system instantly shuts off the high-voltage mosquito-killing circuit; if no vibration is detected again after 3 seconds of continuous detection, the high-voltage circuit is restored; if vibration still occurs within 3 seconds, the high-voltage circuit remains shut off.
8. The intelligent mosquito killer lamp control method according to claim 1, characterized in that: The specific logic of mosquito identification and control is as follows: when a mosquito comes into contact with the power grid, its own resistance causes the VTEST voltage between the grids to decrease. After the system detects the voltage change, it starts the pulse high-voltage mosquito killing mode. After the mosquito is broken down, the VTEST voltage rises, and the system switches back to the power saving mode.
9. The intelligent mosquito killer lamp control method according to claim 1, characterized in that: The two-stage inductor boost circuit eliminates the need for an additional transformer boost module. By optimizing the circuit structure and improving boost efficiency, it provides stable power support for pulse high-voltage mosquito control.