A corneal molding lens lubricating liquid spraying device and method based on an STM32 single-chip microcomputer
This lubricant spraying device, controlled by an STM32 microcontroller, utilizes infrared sensors and a servo motor to automatically spray lubricant, solving the eye discomfort problem for orthokeratology lens wearers when removing their lenses. It improves the convenience and comfort of use and is suitable for lubricant spraying in homes and professional medical settings.
Patent Information
- Application Number
- CN202410856602.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Orthokeratology lens wearers often experience dry and uncomfortable eyes when removing the lenses. The spraying methods of lubricating fluid on the market are cumbersome, difficult to control the amount, and lack precision, failing to meet the needs for intelligent and comfortable operation.
A lubricant spraying device based on an STM32 microcontroller is used. An infrared sensor detects the position and orientation of the eyes, and the STM32 microcontroller controls the liquid pump and servo motor to automatically spray an appropriate amount of lubricant, improving spraying accuracy and convenience.
It improves the comfort and convenience for orthokeratology lens wearers when removing the lenses, reduces the tediousness of manual operation, ensures precise spraying of lubricant, and is suitable for home and professional medical settings, as well as for the care of patients with dry eye syndrome.
Smart Images

Figure CN118859779B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ophthalmic medical devices, and more specifically to a device and method for spraying lubricating liquid for orthokeratology lenses based on an STM32 single-chip microcomputer. Background Art
[0002] Orthokeratology, or Ortho-K for short, is a non-surgical method of correcting vision by physically changing the shape of the cornea. Wearers wear orthokeratology lenses while sleeping at night, and their vision can be corrected by removing the lenses during the day. Therefore, orthokeratology lenses need to be worn and removed every day. For orthokeratology lens wearers, they often feel dryness and discomfort in their eyes when removing the lenses, and they need to use lubricants for lubrication and soothing. Currently, most of the methods on the market are manual dripping of lubricants, which is not only cumbersome to operate, but also difficult to control the amount of lubricant, which easily leads to waste. In addition, manual operation requires users to judge the amount and position of the lubricant spray, which increases the complexity of use. To address this problem, there is an urgent need for a device that can intelligently detect the eyes and automatically spray lubricants to improve user experience and comfort.
[0003] Some simple eye care devices currently available suffer from limited functionality and low intelligence, failing to meet the practical needs of orthokeratology lens wearers. For example, while some devices can spray care fluid, they lack intelligent detection of eye position and orientation, preventing automatic spraying at the appropriate location. Other devices, while mostly relying on manual pressure, lack precision and uniformity in lubricant application, impacting effectiveness. Therefore, it is necessary to develop a lubricant spray device based on advanced sensors and intelligent control technology to meet the care needs of orthokeratology lens wearers. Summary of the Invention
[0004] The purpose of the present invention is to provide a device and method for spraying lubricating liquid for orthokeratology lenses based on an STM32 single-chip microcomputer, which detects the position of the eye through a sensor and automatically sprays an appropriate amount of lubricating liquid, thereby improving the convenience and comfort of use.
[0005] The purpose of the present invention is achieved through the following technical solutions:
[0006] A device for spraying lubricating liquid for orthokeratology lenses based on an STM32 single-chip microcomputer comprises a hardware module and a software module. The hardware module comprises a housing, a liquid storage tank for storing lubricating liquid is provided in the housing, an adjustable nozzle system is provided at the upper end of the housing, a liquid pump is provided in the housing, and the liquid pump delivers the lubricating liquid in the liquid storage tank to the adjustable nozzle system, the adjustable nozzle system is provided with an infrared sensor for detecting eye position and orientation, a control button and an OLED display are provided on the side of the housing, and a power module is provided in the housing, and the power module is used to power the liquid pump, the infrared sensor, the adjustable nozzle system, the OLED display, and the STM32 microcontroller.
[0007] An STM32 microcontroller is installed in the housing, and the liquid pump, infrared sensor, adjustable nozzle system, power module, control buttons and OLED display are all connected to the STM32 microcontroller;
[0008] The STM32 microcontroller is provided with software modules, which include an initialization module, an eye detection module, a spray control module, a user interaction module and a power monitoring module;
[0009] The STM32 microcontroller is STM32F103, and the STM32 microcontroller has an ARM Cortex-M3 core integrated inside.
[0010] The adjustable nozzle system includes a servo motor and a nozzle, the servo motor is fixedly connected to the housing, the nozzle is rotatably connected to the housing, the servo motor controls the rotation direction of the nozzle through a gear set, an STM32 microcontroller controls the servo motor through a pulse width modulation signal PWM, the STM32 microcontroller calculates the injection angle based on data provided by the infrared sensor, and the STM32 microcontroller sends instructions to the servo motor to adjust the injection angle of the nozzle;
[0011] The liquid pump is connected to the liquid storage tank through a first hose, the liquid pump is connected to the nozzle through a second hose, and the STM32 microcontroller regulates the liquid pump through a pulse width modulation signal PWM;
[0012] The infrared sensor can detect the position and direction of the user's eyes in real time. The infrared sensor is installed on the upper part of the nozzle and is connected to the STM32 microcontroller via the I2C interface. The infrared sensor transmits the detected data to the STM32 microcontroller for post-processing. The STM32 microcontroller determines whether the position of the user's eyes is within the predetermined spray range based on the data from the infrared sensor;
[0013] The lubricating liquid injection structure includes a lubricating liquid injection port and a pipeline, the pipeline is arranged inside the shell, the lubricating liquid injection port is fixedly connected to the outside of the shell, the lubricating liquid injection port and the pipeline are connected, and the lower end of the pipeline is inserted into the liquid storage tank;
[0014] The power module includes a lithium battery, which is installed at the bottom of the housing and is equipped with a type-c charging interface.
[0015] The power module integrates a charging management circuit and a power detection circuit. The charging management circuit uses the MCP73831 chip, and the power detection circuit uses the MAX17055 chip. The MAX17055 chip communicates with the STM32 microcontroller via I2C to monitor the lithium battery power in real time and remind you to charge when the power is low.
[0016] The control buttons are provided with a plurality of waterproof design, and the plurality of control buttons are used for switching the device and adjusting the spray volume of the liquid pump. Each control button is connected to the STM32 microcontroller through a GPIO interface;
[0017] The OLED display screen is connected to the STM32 microcontroller via an 8080 interface, and the OLED display screen is used to display the working status of the device and the power supply module;
[0018] The initialization module is used to initialize the STM32 microcontroller and hardware modules;
[0019] The eye detection module identifies the position and orientation of the eyes based on the data read by the infrared sensor;
[0020] The spray control module controls the operation of the liquid pump, adjusts the working time and spray volume of the liquid pump through PWM signals, calculates the optimal spray angle based on the data of the eye detection module, and adjusts the nozzle direction through PWM pulse control of the servo motor;
[0021] The user interaction module inputs instructions through the control buttons, and the STM32 microcontroller receives and processes these instructions to realize the functions of the switch device and the adjustment of the liquid pump spray amount;
[0022] The power monitoring module is responsible for real-time monitoring of the power level of the power module and displays it on the OLED display.
[0023] A method for spraying lubricating liquid for orthokeratology lenses based on an STM32 single-chip microcomputer, the method comprising the following steps:
[0024] Step 1: During the device startup phase, press the control button and the OLED display will light up, showing the current power level of the power module and the device status;
[0025] Step 2: Eye detection: Place the device close to the eyes, and the infrared sensor will start working to detect the position and direction of the eyes in real time.
[0026] Step 3: Automatic spraying: When the infrared sensor detects that the distance between it and the eye is less than the set threshold, the STM32 microcontroller starts the liquid pump and adjusts the nozzle direction by controlling the servo motor to spray the lubricating liquid accurately onto the eye.
[0027] Step 4: During the device shutdown phase, press the control button again to shut down the device and the OLED display goes off.
[0028] The beneficial effects of the present invention are:
[0029] The STM32 microcontroller is used for intelligent control, and an infrared sensor is used to detect the position and orientation of the eyes in real time to realize the automatic spraying of lubricating fluid. This design not only improves the comfort of users when removing orthokeratology lenses and reduces the tediousness of manual operation, but also ensures the accurate spraying of lubricating fluid and avoids waste. The present invention is suitable for users who wear orthokeratology lenses, especially for those who need to frequently remove and wear lenses. The device can be used not only in home environments, but also in professional places such as ophthalmology clinics and hospitals, providing medical personnel with a convenient auxiliary tool. In addition, the device can also be used in other scenarios that require precise spraying of care fluid, such as daily care for patients with dry eyes.
[0030] To ensure the long-term normal operation of the device, users need to regularly maintain and service it. This mainly includes cleaning the nozzle and liquid pump to prevent the lubricant from crystallizing and clogging the nozzle; charging the battery regularly to keep it fully charged; and protecting the device from strong impact or dropping during use to avoid damage to internal components. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The present invention will be further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0032] Figure 1 It is a structural schematic diagram of the lubricating liquid spray device of the present invention;
[0033] Figure 2 Schematic diagram of the internal structure of the lubricating liquid spray device of the present invention;
[0034] Figure 3 It is a hardware control schematic diagram of the present invention;
[0035] Figure 4 It is a schematic diagram of the system software structure of the present invention;
[0036] Figure 5 It is a flow chart of the eye detection module of the present invention.
[0037] In the figure: STM32 microcontroller 1; Liquid pump 2 ; First hose 21; Second hose 22; infrared sensor 3; liquid storage tank 4; adjustable nozzle system 5; servo motor 51; nozzle 52; gear set 53; power module 6; charging management circuit 61; power detection circuit 62; lithium battery 63; type-c charging interface 64; control button 7; OLED display 8; lubricating liquid injection structure 9; lubricating liquid injection port 91; pipeline 92; shell 10. DETAILED DESCRIPTION
[0038] The present invention will be described in further detail below with reference to the accompanying drawings.
[0039] like Figures 1 to 5 As shown, in order to achieve the technical effect of "detecting the position of the eye through a sensor and automatically spraying an appropriate amount of lubricating fluid, thereby improving the convenience and comfort of use", the structure and function of a corneal reshaping lens lubricating fluid spray device based on an STM32 single-chip microcomputer are described in detail below;
[0040] A device for spraying lubricating liquid for orthokeratology lenses based on an STM32 single-chip microcomputer, comprising a hardware module and a software module. The hardware module comprises a housing 10, wherein a liquid storage tank 4 for storing lubricating liquid is provided in the housing 10, an adjustable nozzle system 5 is provided at the upper end of the housing 10, a liquid pump 2 is provided in the housing 10, and the liquid pump 2 delivers the lubricating liquid in the liquid storage tank 4 to the adjustable nozzle system 5, and an infrared sensor 3 for detecting the position and orientation of the eye is provided on the adjustable nozzle system 5. A control button 7 and an OLED display screen 8 are provided on the side of the housing 10, and a power module 6 is provided in the housing 10, and the power module 6 is used to power the liquid pump 2, the infrared sensor 3, the adjustable nozzle system 5, the OLED display screen 8, and the STM32 microcontroller 1;
[0041] An STM32 microcontroller 1 is provided in the housing 10, and a liquid pump 2, an infrared sensor 3, an adjustable nozzle system 5, a power module 6, a control button 7 and an OLED display 8 are all connected to the STM32 microcontroller 1;
[0042] The adjustable nozzle system 5 includes a servo motor 51, a nozzle 52 and a gear set 53. The servo motor 51 is fixedly connected to the housing 10, and the nozzle 52 is rotatably connected to the housing 10. The servo motor 51 controls the rotation direction of the nozzle 52 through the gear set 53. The STM32 microcontroller 1 controls the servo motor 51 through a pulse width modulation signal PWM. The STM32 microcontroller 1 calculates the spray angle based on the data provided by the infrared sensor 3, and the STM32 microcontroller 1 sends instructions to the servo motor 51 to adjust the spray angle of the nozzle 52.
[0043] The housing 10 further includes a lubricating liquid injection structure 9, which includes a lubricating liquid injection port 91 and a pipe 92. The pipe 92 is disposed inside the housing 10, and the lubricating liquid injection port 91 is fixedly connected to the outside of the housing 10. The lubricating liquid injection port 91 and the pipe 92 are in communication, and the lower end of the pipe 92 is inserted into the liquid storage tank 4.
[0044] The STM32 microcontroller 1 is the core control unit of the device, responsible for processing the data from the infrared sensor 3, controlling the operation of the liquid pump 2, and interacting with the user interface;
[0045] The infrared sensor 3 is installed near the nozzle 52 and can accurately detect the position and direction of the user's eyes in real time to ensure the accuracy of the spray; the liquid pump 2 is used to extract lubricating liquid from the liquid storage tank and spray the lubricating liquid evenly onto the surface of the eye through the nozzle 52. A small, low-power micro liquid pump 2 is selected to ensure the portability and battery life of the device; the adjustable nozzle system 5 is a high-precision structure, and the spray direction is automatically adjusted by the servo motor 51 to ensure that the lubricating liquid can be accurately sprayed on the eye; the liquid storage tank 4 is compact and portable in design, has good sealing performance, and can store and supply lubricating liquid; the power module 6 provides a stable power supply for the entire device and adopts type-c charging method, which is convenient for users to charge at any time; the control button 7 is used to turn the device on and off and control the spray volume of the adjustable nozzle system 5; the OLED display 8 is used to display information such as the working status of the device and the battery level; the lubricating liquid injection structure 9 is used to inject lubricating liquid from the outside when the amount of lubricating liquid in the liquid storage tank 4 is small; the shell 10 is used to protect the internal structure of the device to prevent damage;
[0046] The STM32 microcontroller 1 is provided with a software module, which includes an initialization module, an eye detection module, a spray control module, a user interaction module and a power monitoring module;
[0047] When the device is powered on, the initialization module initializes the various peripherals of the STM32 microcontroller 1, including GPIO, USART, etc., configures the input pins of the infrared sensor 3, the control pins of the liquid pump 2 and the servo motor 51, and sets the communication parameters of the OLED display 8. The eye detection module identifies the position and direction of the eye based on the data read from the infrared sensor 3. The spray control module controls the operation of the liquid pump 2, adjusts the working time and spray volume of the liquid pump 2 through the PWM signal, and calculates the optimal spray angle in combination with the data of the eye detection module, and adjusts the direction of the nozzle 52 through the PWM pulse control servo motor 51 to ensure that the lubricating liquid can be accurately sprayed into the eyes to provide the best lubrication effect. The user interaction module processes the user's control button 7 input, the power monitoring module monitors the real-time power of the power module 6, and displays the current status and power of the power module 6 through the OLED display 8;
[0048] STM32 microcontroller 1: The STM32F103 series is selected, which has high performance and rich peripheral interfaces, and is suitable for the needs of this invention. It integrates a high-performance ARM Cortex-M3 core, with powerful data processing and peripheral control capabilities. By writing a control program, it can realize the control of each hardware component and data processing;
[0049] The liquid pump 2 is connected to the liquid storage tank 4 via a first hose 21 and to the nozzle 52 via a second hose 22. The STM32 microcontroller 1 regulates the liquid pump 2 via a pulse width modulation (PWM) signal. A micro electric peristaltic pump is selected to precisely control the spray volume. The liquid pump 2 is mounted on the upper end of the liquid storage tank 4 to facilitate extraction of lubricating liquid from the liquid storage tank 4 via the hose 22 and delivery of the lubricating liquid to the nozzle 52 via the hose 21. The STM32 microcontroller 1 controls its operating state via a pulse width modulation (PWM) signal. The STM32 microcontroller 1 adjusts the operating intensity of the liquid pump 2 based on the detected eye position of the user to ensure effective spraying.
[0050] The infrared sensor 3 can detect the position and direction of the user's eyes in real time. The infrared sensor 3 is installed on the upper part of the nozzle 52. The infrared sensor 3 is connected to the STM32 microcontroller 1 via the I2C interface. The infrared sensor 3 transmits the detected data to the STM32 microcontroller 1 for post-processing. The STM32 microcontroller 1 determines whether the position of the user's eyes is within the predetermined spray range based on the data from the infrared sensor 3;
[0051] Liquid reservoir 4: Use a storage bottle of moderate capacity to facilitate user replacement and cleaning. The liquid reservoir is located in the middle of the entire device and is made of medical-grade polyethylene material to ensure safety and hygiene. A bottle opening is designed in the middle of the liquid reservoir and is connected to pipe 92 for obtaining lubricating fluid from the outside;
[0052] Adjustable nozzle system 5: The nozzle is made of medical-grade plastic with excellent corrosion resistance and biocompatibility, ensuring safety and hygiene. The direction of the nozzle 52 is adjusted by a servo motor 51 and a gear set 53. The servo motor 51 is placed above the liquid storage tank 4 and is controlled by a microcontroller via PWM. The servo motor 51 uses a high-torque, low-noise model to ensure smooth and quiet operation during the adjustment process. The control unit calculates the optimal spray angle based on the data provided by the infrared sensor 3 and sends instructions to the servo motor 51 for corresponding adjustments.
[0053] The power module 6 includes a lithium battery 63, which is installed at the bottom of the housing 10. The lithium battery 63 is equipped with a type-c charging interface 64 for convenient charging by the user;
[0054] The power module integrates a charging management circuit 61 and a power detection circuit 62. The charging management circuit 61 uses the MCP73831 chip, and the power detection circuit 62 uses the MAX17055 chip. The MAX17055 chip communicates with the STM32 microcontroller 1 via I2C, monitors the power of the lithium battery 63 in real time, and reminds you to charge when the power is low.
[0055] There are multiple control buttons 7, which are waterproof to ensure that they are not affected by liquids during use. The multiple control buttons 7 are used to switch the device and adjust the spray volume of the liquid pump 2. Each control button 7 is connected to the STM32 microcontroller 1 through the GPIO interface; the user inputs instructions through the buttons, and the STM32 microcontroller 1 receives and processes these instructions to implement the corresponding operations;
[0056] The OLED display screen 8 is connected to the STM32 microcontroller 1 via an 8080 interface, and the OLED display screen 8 is used to display the working status of the device and the power of the power module 6;
[0057] Housing 10: To reduce the weight of the entire device, the housing is made of polyethylene plastic to protect the internal structure of the device;
[0058] like Figure 4 As shown, the software module part is described in detail below;
[0059] System initialization: Press the control button 7 to power on the system. The STM32 microcontroller 1 initializes each hardware module, including setting the clock, initializing peripheral interfaces such as GPIO, I2C, and PWM, configuring the input pins of the infrared sensor 3, the control pins of the liquid pump 2 and the servo motor 51, and setting the communication parameters of the OLED display 8. This ensures that each hardware module is working properly and completes the device startup.
[0060] Eye detection module: After the device is started, place the device close to the eyes and the system will enter the eye detection phase. Figure 5 The figure shows the process of the eye detection module. The infrared sensor 3 periodically emits infrared light to illuminate the eyes and continuously receives the light reflected from the eyes. After capturing the image, image preprocessing is first performed, such as noise removal and contrast enhancement. Next, feature extraction methods are used to detect the features of the eyes, and edge detection algorithms (such as Canny edge detection) are applied to find the outline of the eyes. Pupil detection uses threshold segmentation or circle detection (such as Hough circle transform) for recognition. After identifying the features of the eyes, the position and orientation of the eyes can be determined by calculating the pupil center and the position of the eye corners. In order to improve the accuracy of the system, the above results are calibrated, and the accuracy is improved through multiple capture calculations;
[0061] Spray control module: When the user's eyes are detected within the predetermined spray range, the microcontroller controls the operation of the liquid pump 2 via a PWM signal. The liquid pump 2 draws an appropriate amount of lubricating liquid from the liquid reservoir 4 via the second hose 22 and delivers it to the nozzle 52 via the first hose 21. Based on the data from the eye detection module, the microcontroller controls the servo motor 51 to adjust the direction of the nozzle 52 to ensure that the lubricating liquid is accurately sprayed onto the eyes, providing the best lubrication effect.
[0062] User Interaction Module: The user inputs commands via key 7. The STM32 microcontroller 1 receives and processes these commands, enabling the device to turn on and off and adjust the spray volume. The user can adjust the spray volume as needed, and the microcontroller adjusts the operating parameters of the liquid pump 2 based on the user's input commands.
[0063] Power monitoring module: responsible for real-time monitoring of battery power and displaying it on the OLED screen 8 to ensure stable system operation. When the battery is low, it reminds the user to charge.
[0064] A method for spraying lubricating liquid for orthokeratology lenses based on an STM32 single-chip microcomputer, the method comprising the following steps: a working process of the device is divided into four steps: device startup, eye detection, automatic spraying, and device shutdown;
[0065] Step 1: During the device startup phase, press the control button 7, and the OLED display 8 lights up, displaying the current power level of the power module 6 and the device status;
[0066] Step 2: Eye detection phase: Place the device close to the eyes, and the infrared sensor 3 starts working to detect the position and direction of the eyes in real time;
[0067] Step 3: Automatic spraying stage: when the infrared sensor 3 detects that the distance between it and the eye is less than a set threshold (e.g., 3 cm), the STM32 microcontroller 1 starts the liquid pump 2 and adjusts the direction of the nozzle 52 by controlling the servo motor 51 to accurately spray the lubricating liquid onto the eye;
[0068] Step 4: During the device shutdown phase, press the control button 7 again, the device shuts down, and the OLED display 8 goes off.
[0069] The entire process is simple in design and easy to operate. Users can remove the orthokeratology lens and spray the lubricant without complicated operations, which greatly improves the convenience and comfort of use.
[0070] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only intended to help understand the method and core concept of the present invention. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concept of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.
Claims
1. A device for spraying lubricating liquid for orthokeratology lenses based on an STM32 single-chip microcomputer, comprising a hardware module and a software module, characterized in that: The hardware module includes a housing (10), a liquid storage tank (4) for storing lubricating liquid is provided in the housing (10), an adjustable nozzle system (5) is provided at the upper end of the housing (10), a liquid pump (2) is provided in the housing (10), the liquid pump (2) sends the lubricating liquid in the liquid storage tank (4) to the adjustable nozzle system (5), an infrared sensor (3) for detecting the position and orientation of the eye is provided on the adjustable nozzle system (5), a control button (7) and an OLED display (8) are provided on the side of the housing (10), and a power module (6) is provided in the housing (10), and the power module (6) is used to power the liquid pump (2), the infrared sensor (3), the adjustable nozzle system (5), the OLED display (8) and the STM32 microcontroller (1); An STM32 microcontroller (1) is provided in the housing (10), and a liquid pump (2), an infrared sensor (3), an adjustable nozzle system (5), a power module (6), a control button (7) and an OLED display (8) are all connected to the STM32 microcontroller (1); The STM32 microcontroller (1) is provided with a software module, the software module including an initialization module, an eye detection module, a spray control module, a user interaction module and a power monitoring module; The adjustable nozzle system (5) includes a servo motor (51), a nozzle (52) and a gear set (53), wherein the servo motor (51) is fixedly connected to the housing (10), and the nozzle (52) is rotatably connected to the housing (10), and the servo motor (51) controls the rotation direction of the nozzle (52) through the gear set (53), and the STM32 microcontroller (1) controls the servo motor (51) through a pulse width modulation signal PWM, and the STM32 microcontroller (1) calculates the injection angle according to the data provided by the infrared sensor (3), and the STM32 microcontroller (1) sends a command to the servo motor (51) to adjust the injection angle of the nozzle (52); The liquid pump (2) is connected to the liquid storage tank (4) via a first hose (21), the liquid pump (2) is connected to the nozzle (52) via a second hose (22), and the STM32 microcontroller (1) regulates the liquid pump (2) via a pulse width modulation signal PWM; The infrared sensor (3) is capable of detecting the position and orientation of the user's eyes in real time. The infrared sensor (3) is mounted on the upper portion of the nozzle (52). The infrared sensor (3) is connected to the STM32 microcontroller (1) via an I2C interface. The infrared sensor (3) transmits detected data to the STM32 microcontroller (1) for post-processing. The STM32 microcontroller (1) determines whether the position of the user's eyes is within a predetermined spray range based on the data from the infrared sensor (3). The lubricating liquid injection structure (9) is further included. The lubricating liquid injection structure (9) includes a lubricating liquid injection port (91) and a pipe (92). The pipe (92) is arranged inside the housing (10). The lubricating liquid injection port (91) is fixedly connected to the outside of the housing (10). The lubricating liquid injection port (91) and the pipe (92) are in communication. The lower end of the pipe (92) is inserted into the liquid storage tank (4).
2. The lubricating liquid spray device for orthokeratology lenses based on an STM32 single-chip microcomputer according to claim 1, characterized in that: The STM32 microcontroller (1) is STM32F103, and the STM32 microcontroller (1) has an ARM Cortex-M3 core integrated therein.
3. The lubricating liquid spraying device for orthokeratology lenses based on an STM32 single-chip microcomputer according to claim 1, characterized in that: The power module (6) includes a lithium battery (63), which is installed at the bottom of the housing (10). The lithium battery (63) is equipped with a type-c charging interface 64; The power module is internally integrated with a charging management circuit (61) and a power detection circuit (62). The charging management circuit (61) uses an MCP73831 chip, and the power detection circuit (62) uses a MAX17055 chip. The MAX17055 chip communicates with the STM32 microcontroller (1) via I2C, monitors the power of the lithium battery (63) in real time, and reminds charging when the power is low.
4. The lubricating liquid spraying device for orthokeratology lenses based on an STM32 single-chip microcomputer according to claim 1, characterized in that: The control buttons (7) are provided in plurality, and the control buttons (7) are designed to be waterproof. The plurality of control buttons (7) are used for switching the device and adjusting the spray volume of the liquid pump (2), and each control button (7) is connected to the STM32 microcontroller (1) via a GPIO interface; The OLED display screen (8) is connected to the STM32 microcontroller (1) via an 8080 interface, and the OLED display screen (8) is used to display the working status of the device and the power level of the power module (6).
5. The lubricating liquid spraying device for orthokeratology lenses based on an STM32 single-chip microcomputer according to claim 1, characterized in that: The initialization module is used to initialize the STM32 microcontroller and hardware modules; The eye detection module identifies the position and orientation of the eyes based on the data read from the infrared sensor (3); The spray control module controls the operation of the liquid pump (2), adjusts the working time and spray volume of the liquid pump (2) through PWM signals, calculates the optimal spray angle in combination with data from the eye detection module, and adjusts the direction of the nozzle (52) through PWM pulse control of the servo motor (51); The user interaction module inputs instructions via the control button (7), and the STM32 microcontroller (1) receives and processes these instructions to realize the functions of the switch device and regulating the spray volume of the liquid pump (2); The power monitoring module is responsible for real-time monitoring of the power level of the power module (6) and displaying the result through the OLED display screen (8).
6. A method for spraying a lubricating liquid spray device for orthokeratology lenses based on an STM32 single-chip microcomputer according to claim 1, characterized in that: The method comprises the following steps: Step 1: During the device startup phase, press the control button (7), and the OLED display (8) lights up, displaying the current power level of the power module (6) and the device status; Step 2: Eye detection phase: place the device close to the eyes, and the infrared sensor (3) starts working to detect the position and direction of the eyes in real time; Step 3: Automatic spraying stage, when the infrared sensor (3) detects that the distance between it and the eye is less than the set threshold, the STM32 microcontroller (1) starts the liquid pump (2) and adjusts the direction of the nozzle (52) by controlling the servo motor (51) to accurately spray the lubricating liquid to the eye; Step 4: During the device shutdown phase, press the control button (7) again, the device will shut down, and the OLED display (8) will go off.
Citation Information
Patent Citations
Method of spraying eye humectant and spraying apparatus for implementing the same
KR1020110114383A
Suction pump orthokeratology lens
US20220100003A1