Shoe lamp device flickering in multiple combination modes and driving method thereof

By integrating a chip to control multiple LED flashing modes and a solar power supply system, the problems of limited functionality and poor power management in shoe lamp devices have been solved, achieving rich dynamic lighting effects and low power consumption, thus improving the user experience.

CN121751431APending Publication Date: 2026-03-27QUANZHOU ZHENBAO ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Existing shoe light devices have limited functionality, monotonous lighting effects, lack of dynamic changes, poor user interactivity, and poor power management, resulting in rapid battery drain and a poor user experience.

Method used

The system employs an integrated chip to control multiple LED blinking modes, combined with a vibration sensor and user command input unit to achieve multiple combined blinking modes. Furthermore, it optimizes power management through a solar power supply system to reduce standby power consumption.

Benefits of technology

It enriches the dynamic lighting effects of shoe lights, enhances their fun and aesthetics, extends battery life, and improves user experience and product practicality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121751431A_ABST
    Figure CN121751431A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-combination-mode flickering shoe lamp device and a driving method thereof, and belongs to the field of electronic shoe lamps, the device comprises a shell, a circuit board, an integrated chip, a vibration sensor, a light-emitting element and a user instruction input unit, a control program is stored in the integrated chip, and the vibration sensor is connected with the integrated chip. In response to a mode switching instruction generated by a user instruction input unit or a trigger signal of a vibration sensor, the driving method is based on low-power-consumption circulation of dormancy, awakening, execution and dormancy returning, and the mode switching instruction is obtained through the steps of system initialization and dormancy, awakening and trigger judgment and mode execution and returning. Various dynamic lighting effects such as sequential circulation, sequential flow, reverse flow, star flickering, synchronous flickering and meteor effect are achieved, the problems that an existing shoe lamp is single in function, high in power consumption and poor in interactivity are solved, and the shoe lamp has the advantages of being rich in lighting effect, extremely low in power consumption, flexible in interaction and high in integration degree.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a shoe light device with multiple combination mode flickering and a driving method thereof. BACKGROUND

[0002] With the improvement of living standards and the change of consumption concept, people's demand for personalized and fashionable wearing supplies, especially shoe products, is increasing. Among them, the LED light decoration for shoes as an effective decoration means is widely welcomed because it can provide brilliant light effects, especially by young consumers and children.

[0003] At present, the common shoe light device on the market mostly uses a simple control circuit, and its function is relatively single. Most products can only realize the constant lighting of the light emitting element, or synchronize flickering at a fixed and single frequency. Although such a scheme has a simple structure and low cost, the light effect is monotonous, lacks dynamic changes and visual appeal, users are prone to aesthetic fatigue, and it is difficult to meet the growing demand for personalization and interest.

[0004] In order to increase some changes, some products try to introduce simple dynamic effects, such as sequentially lighting the light emitting elements to form the so-called "waterfall lamp" effect. However, these effects are often fixed in mode and cannot be selected, and the cycle mode is single, users cannot switch according to their own preferences, and the interaction is poor. In addition, the existing shoe light device generally lacks effective power management mechanism. They usually enter the working state after being triggered, and still maintain a high standby power consumption when there is no user operation, which leads to fast battery power consumption, frequent battery replacement, inconvenience to users, and shortens the effective use time of the product. SUMMARY

[0005] In view of the deficiencies of the prior art, the present application aims to provide a shoe light device with multiple combination mode flickering and a driving method thereof, to solve the problem that the existing shoe light cannot be considered.

[0006] In order to achieve the above-mentioned purpose, the present application is realized by the following technical scheme: a shoe light device with multiple combination mode flickering, comprising: a housing, a containing cavity is formed in the housing; a circuit board, the circuit board is fixedly arranged in the containing cavity, and an integrated chip, a vibration sensor and a plurality of light emitting elements are welded on the circuit board, the integrated chip is a single-chip microcomputer packaged on the circuit board, and a control program is stored in the integrated chip, the vibration sensor is electrically connected with the OS input port of the integrated chip, and the light emitting elements are electrically connected with the LED drive IO port of the integrated chip, respectively; A user instruction input unit is arranged on the circuit board and electrically connected with the instruction input IO port of the integrated chip, and is used for receiving and transferring the operation instruction of the user. The integrated chip automatically enters a low-power sleep state after the system is powered on, and is kept in an ON ready mode; and in response to a mode switching instruction generated by the user instruction input unit, the internal mode register is incremented, so as to cyclically switch between a plurality of preset LED flashing modes. In response to a falling edge trigger signal generated by the vibration sensor, the integrated chip is woken up from the sleep state, and based on the current value of the internal register of the integrated chip, the plurality of light emitting elements are driven to execute the preset LED flashing mode corresponding thereto.

[0007] Further, the user instruction input unit is an external physical function button, and the mode switching instruction is generated by short pressing the function button. The integrated chip recognizes the short pressing operation by detecting the level jump of the IO port.

[0008] If there is no external physical function button on the circuit board, the user instruction input unit can be the vibration sensor itself. The integrated chip measures the time interval between two vibration triggers by using the internal timer thereof. If a vibration sequence meeting the preset number of times is detected within the preset time window, the integrated chip recognizes the vibration sequence as the mode switching instruction.

[0009] Further, the integrated chip is internally provided with a mode scheduler and a light effect library. The mode scheduler is responsible for cyclically updating the internal mode register in response to the mode switching instruction. The light effect library stores a plurality of independent LED flashing mode control programs. When the integrated chip is woken up, the mode scheduler calls the corresponding LED flashing mode control module from the light effect library according to the value of the current mode register and executes the LED flashing mode control module to drive the light emitting elements to generate the corresponding dynamic light effect.

[0010] Further, the LED flashing mode is a sequential cycle mode. In this mode, the internal register of the integrated chip is automatically incremented after each vibration trigger, and the light emitting elements are driven to execute the newly directed mode effect once.

[0011] Further, the LED flashing mode is a sequential flow mode. In this mode, the integrated chip sequentially outputs a high level to the LED driving IO port at a fixed time interval, and sequentially lights the LEDs, so as to form the visual effect of the sequential flow of light points.

[0012] Further, the LED flashing mode is a reverse flow mode, in which the integrated chip outputs high level to the LED driving IO port in a fixed time interval to perform reverse lighting, thereby forming a visual effect of reverse flow of light points.

[0013] Further, the LED flashing mode is a star flashing mode, in which the integrated chip controls the plurality of light emitting elements to be lit and extinguished in a non-continuous, irregular and mutually independent manner, thereby forming a visual effect of random flashing.

[0014] Further, the LED flashing mode is a synchronous flashing mode, in which the integrated chip controls all the light emitting elements to output square waves of the same frequency from the driving IO port synchronously, thereby driving all the light emitting elements to be lit and extinguished at the same time.

[0015] Further, the LED flashing mode is a meteor effect mode, in which the integrated chip rapidly lights the sequence of light emitting elements in a higher frequency than the sequential flow mode, and after the moving light point passes, the previous one or more light emitting elements are not immediately extinguished, but the brightness thereof is attenuated by controlling the IO port to output a gradually decreasing PWM duty cycle, or the previous one or more light emitting elements are extinguished after the moving light point moves several positions.

[0016] Further, the device further comprises a solar power supply system, which comprises a solar panel for converting light energy into electric energy, a rechargeable battery for storing electric energy, and a power management module electrically connected to the solar panel, the rechargeable battery, the integrated chip and the light emitting elements, respectively. The power management module is used to manage the charging process of the rechargeable battery by the solar panel, and convert the output voltage of the rechargeable battery into the working voltage required by the integrated chip and the light emitting elements.

[0017] A driving method for controlling a shoe lamp device in multiple combination modes, characterized in that the driving method comprises the following steps: S1, system initialization and sleep step: performing system initialization and controlling the integrated chip to enter a low-power sleep state; S2, wake-up and trigger judgment step: responding to a mode switching instruction from the user instruction input unit or a trigger signal generated by the vibration sensor, and waking up the integrated chip from the low-power sleep state; S3, mode execution and return step: according to the currently stored mode information, driving the light emitting elements to execute the corresponding LED flashing mode, and after the mode execution is completed, controlling the integrated chip to return to the low-power sleep state.

[0018] The beneficial effects of the present application are: The device integrates at least six LED flashing modes including sequential cycle, sequential flow, reverse flow, star flashing, synchronous flashing and meteor effect, which can generate regular flow, random flashing, overall synchronization and even rich dynamic light effects with trailing visual effects, completely overcoming the defects of traditional shoe light effects, greatly enhancing the interestingness, beauty and visual attraction of the product, and fully meeting the pursuit of individual expression of users, especially young consumers.

[0019] The driving method of the application constructs a low-power work cycle of "event triggering - short execution - immediate return", and the integrated chip is always in sleep mode in a non-execution state, with extremely low static current (typical value not greater than 1uA), and is only temporarily woken up to execute tasks when an external vibration or key operation triggers an interrupt. This intelligent power management strategy minimizes power consumption while maintaining complex functions, thereby significantly prolonging the service life of the battery, reducing the trouble of frequent battery replacement, and improving the practicality and user experience of the product.

[0020] In addition, two optional and very convenient interaction methods are also provided, and the user can switch modes and turn on / off the device through traditional physical function keys, or in the preferred scheme without physical keys, switch modes through a specific vibration sequence (such as rapid continuous tapping). BRIEF DESCRIPTION OF DRAWINGS

[0021] Other features, objects and advantages of the application will become more apparent from the following detailed description of non-limiting embodiments, made with reference to the accompanying drawings: Figure 1 It is a schematic diagram of the overall structure of a multiple combination mode flashing shoe light device of the application; Figure 2 It is a schematic diagram of the structure of a single shoe light device of the application; Figure 3 It is a schematic diagram of the structure of a PCB board in a shoe light device of the application; Figure 4 It is a schematic diagram of the structure of a shoe light device of the application with an external user instruction input module; Figure 5 It is a schematic diagram of the circuit structure of a shoe light device of the application; Figure 6 It is a flowchart of a shoe light device of the application using embodiment 1; Figure 7 It is a flowchart of a shoe light device of the application using embodiment 2; Figure 8 It is a flowchart of a shoe light device of the application using embodiment 4; Figure 9The circuit structure schematic diagram of the solar-powered shoe lamp device of the present application; Figure 10 The step flow schematic diagram of the driving method of the shoe lamp device of the present application; Figure 11 The overall structure schematic diagram of the shoe lamp device of the present application using lamp beads as light-emitting elements applied to shoes; Figure 12 The overall structure schematic diagram of the shoe lamp device of the present application using lamp beads and lamp strips as light-emitting elements applied to shoes; Figure 13 The charging structure schematic diagram of the solar panel in the whole shoe of embodiment 7 of the present application.

[0022] The reference signs are as follows: 1, housing; 2, circuit board; 21, integrated chip; 22, vibration sensor; 23, light-emitting element; 3, user instruction input unit. DETAILED DESCRIPTION

[0023] In order to make the technical means, creative features, purposes and effects achieved by the present application easy to understand, the present application is further described below in combination with specific embodiments. Specific embodiment one: In this embodiment, the sequential circulation mode is mode one, the sequential flow mode is mode two, the reverse flow mode is mode three, the star flashing mode is mode four, the synchronous flashing mode is mode five, the meteor effect mode is mode six, and six light-emitting elements 23 (in the positive order of L1-L6) are used for description. Of course, the specific implementation scheme of the present application is not limited to six modes and six light-emitting elements 23, and can be adjusted as needed.

[0025] As Figure 11 and Figure 12 indicated, the light-emitting elements of the present application can be lamp beads, lamp strips, or a combination of both, wherein the number of lamp beads, the length of lamp strips, or the positions of both on the shoe body can be adjusted as needed, and are not limited to the effects shown in the drawings of the present application.

[0026] In addition, the present application also uses a battery as the power source of the device, and the battery is connected to the power supply circuit pins on the circuit board.

[0027] As Figure 1 , Figure 2 , Figure 3 and Figure 5 indicated, the present application provides a technical solution of a shoe lamp device with multiple combination modes of flashing: which comprises: a housing 1, wherein an accommodation cavity is formed inside the housing 1; A circuit board 2 is fixedly arranged in the accommodating cavity, and an integrated chip 21, a vibration sensor 22 and a plurality of light emitting elements 23 are welded on the circuit board 2; the integrated chip 21 is a single-chip microcomputer packaged on the circuit board 2 and internally stores a control program; the vibration sensor 22 is electrically connected with an OS input port of the integrated chip 21; and the light emitting elements 23 are respectively electrically connected with LED driving IO ports of the integrated chip 21. A user instruction input unit 3 is arranged on the circuit board 2 and electrically connected with an instruction input IO port of the integrated chip 21, and is used for receiving and transmitting an operation instruction of a user. The integrated chip 21 automatically enters a low-power sleep state and keeps an ON ready mode after system power-on, and in response to a mode switching instruction generated by the user instruction input unit 3, the internal mode register is incremented, so as to cyclically switch between a plurality of preset LED flashing modes. In response to a falling edge trigger signal generated by the vibration sensor 22, the integrated chip 21 is woken up from the sleep state, and based on a current value of the internal register of the integrated chip 21, the plurality of light emitting elements 23 are driven to execute a preset LED flashing mode corresponding thereto.

[0028] As shown in Figure 4 The user instruction input unit 3 is an external physical function key, the mode switching instruction is generated by short pressing the function key, and the integrated chip 21 recognizes the short pressing operation by detecting the level jump of the IO port.

[0029] As shown in Figure 2 The user instruction input unit 3 is the vibration sensor 22 itself, and the integrated chip 21 measures the time interval between two vibration triggers by using an internal timer, and if a vibration sequence meeting a preset number of times is detected within a preset time window, it is recognized as a mode switching instruction.

[0030] Of course, a person skilled in the art can change the number of times of flashing of the light emitting elements 23 as needed, and the type of mode is not limited to 4 times, or the number and type of light emitting elements 23 are increased.

[0031] Embodiment 1: As shown in Figure 6 In the conventional shoe light device, mode switching usually needs the user to actively operate the button, which is neither convenient nor safe during the movement. The sequential cyclic mode of the present application aims to provide an intelligent and automatic mode switching experience, and the user can automatically enjoy a variety of different light effects during walking or running without manual intervention.

[0032] In the sequential loop mode, when the vibration sensor 22 detects a valid step vibration and generates a falling edge trigger signal, the integrated chip 21 is woken up from the low-power sleep state, reads the value of the current mode status register, and automatically increments it by 1. When the register value exceeds the maximum mode number (e.g., 6), it is cyclically reset to 2 (mode two). Based on the incremented value of the new mode status register, the corresponding LED blinking mode subroutine is called and executed. For example, if the register value is 2, mode two (sequential flow mode) is executed sequentially; if it is 3, mode three (reverse flow mode) is executed sequentially, and so on, until all modes have finished looping. After completing one cycle of different light effects, this mode does not wait for the next vibration trigger and directly controls the integrated chip 21 to return to a low-power sleep state.

[0033] Example 2: like Figure 7 As shown, the light-emitting element in this embodiment is described using an LED lamp bead as an example. The LED flashing mode in this embodiment is a sequential flow mode. In this mode, the integrated chip 21 uses its internal timer interrupt mechanism to achieve precise timing control of the light-emitting element 23, thereby forming a visual effect in which light spots flow sequentially from L1 to L6 and cycle completely 8 times. Its working principle is as follows: The system first completes initialization configuration, configuring a hardware timer inside the integrated chip 21 and preseting its interrupt period to 64ms. Once the timer starts, it runs independently of the main program. The initialization process also includes setting the LED index and loop counter to zero and configuring all LED driver I / O ports to output mode. After initialization, the system starts the timer and enters a low-power wait state. Whenever the 64ms time interval arrives, the hardware timer automatically generates a "timer interrupt" signal. This signal immediately suspends the CPU's current state (such as sleep) and forces it to jump to the preset interrupt service routine for execution.

[0034] In this interrupt service routine, the system first turns off the currently lit LED element 23, then increments the LED index value by 1. If the index value reaches 6, it is reset to 0, and the loop count is incremented by 1. If it does not reach 6, the current index is maintained. Then, the LED element 23 corresponding to the new index is lit according to the program, thus completing one LED switch. After completion, the CPU automatically returns to the state before the interrupt and continues execution (such as resuming sleep).

[0035] The system determines the process termination condition by checking the loop counter. After completing 4 full loops, it stops the timer, turns off all light-emitting elements 23, and controls the integrated chip 21 to return to a low-power sleep state.

[0036] Throughout the process, the light-emitting element 23 flows sequentially at a frequency of 2.6Hz and a duty cycle of 1 / 6, forming a smooth and continuous visual effect of moving light spots, which not only ensures good visual appeal but also achieves low power consumption.

[0037] Example 3: The LED flashing mode in this embodiment is a reverse flow mode. The difference between this embodiment and embodiment 2 is the order in which the light-emitting elements 23 light up. In embodiment 2, L1-L6 flashes forward 8 times, while in this embodiment, L6-L1 flashes backward 4 times. The rest are the same and will not be repeated.

[0038] Example 4: like Figure 8 As shown, the LED blinking mode in this embodiment is the star blinking mode. In this mode, the integrated chip 21 drives multiple light-emitting elements 23 to light up and turn off in a discontinuous, irregular and independent manner through its internal timer interrupt mechanism and independent state control logic, so as to form a random blinking visual effect.

[0039] Specifically, the system first completes the initialization configuration, that is, sets the basic timer interrupt period to 100ms, and initializes an independent state machine for each light-emitting element 23. Each state machine contains the current state of the LED (on or off), the state duration counter, and the target duration of the next state.

[0040] During initialization, a pseudo-random number algorithm is used to generate random initial states and durations for each LED. The lighting time varies randomly between 50ms and 300ms, and the extinguishing time varies randomly between 100ms and 500ms, thus ensuring that the initial states of all LEDs exhibit a natural, disordered distribution.

[0041] After the timer starts, the system enters a low-power standby state. Whenever a timer interrupt occurs, the integrated chip 21 iterates through the state machines of all LEDs, decrementing the duration counter of each LED by 1. When the counter of any LED reaches zero, the current state of that LED is switched (if it was previously lit, it turns off; if it was previously off, it turns on), and a new random duration within the aforementioned range is generated for the new state it is about to enter. Subsequently, the output level of the corresponding LED driver I / O port is updated. This process ensures that the on / off transitions of each LED are completely independent and asynchronous in time, and that the duration is not fixed, thus creating a staggered, realistic, and natural twinkling star effect.

[0042] This mode will continue to run until a mode switching command is received from the user command input unit 3 or the vibration sensor 22 is triggered again. Upon exiting, the system stops the timer, sets all LED driver I / O ports to low level to extinguish all light-emitting elements 23, and controls the integrated chip 21 to return to a low-power sleep state. This mode, through pure software algorithms, endows the product with vivid and elegant light effects without increasing hardware costs, while strictly maintaining the system's low-power characteristics.

[0043] Example 5: In this embodiment, the LED blinking mode is a synchronous blinking mode. In this mode, the integrated chip 21 controls the drive I / O ports of all light-emitting elements 23 to synchronously output square wave signals with specific frequencies and duty cycles through its internal timer interrupt mechanism, thereby realizing that all light-emitting elements 23 are strictly synchronously lit and turned off.

[0044] The system completes the initialization configuration, which sets the timer interrupt period to 64ms, which corresponds to half of the square wave signal (i.e., the duration of the high or low level), initializes the loop counter to 0, and configures all LED driver I / O ports to output mode and initializes them to a uniform low level state.

[0045] After the timer starts, the system enters the working state. When each timer interrupt occurs, the integrated chip 21 performs the following operations: reads the current output state of all LED driver I / O ports. If the current level is high (on state), then in the interrupt service routine, all I / O ports are switched to low level (off state); if the current level is low (off state), then all are switched to high level (on state).

[0046] Each such "on-off" or "off-on" switch is recorded as a state transition. Every two transitions (one complete on-off cycle) constitute a valid flash. At the same time, the system increments the cycle counter by 1 each time it completes the transition from off to on.

[0047] The system continuously checks the value of the loop counter. When the count reaches the preset 12 flashes, the timer is stopped, all LED driver I / O ports are locked to low level output to ensure that all light-emitting elements 23 are completely extinguished, and then the control integrated chip 21 returns to a low-power sleep state.

[0048] This mode ensures that all light-emitting elements 23 flash precisely in sync at a frequency of 7.8Hz (with a period of approximately 128ms, consisting of two 64ms half-cycles) and a duty cycle of 50% (64ms on, 64ms off). Through consistent overall light effects, it provides a highly rhythmic and visually impactful lighting performance, while its timed operation mechanism effectively controls energy consumption.

[0049] Embodiment 6: In this embodiment, the LED flickering mode is meteor effect mode, in which the integrated chip 21 drives the light emitting elements 23 to generate a dynamic light effect with moving light points and visual trailing effect, simulating the vivid visual effect of meteor passing through, by means of complex control strategy.

[0050] After the system completes initialization configuration, i.e. setting the timer interrupt period to 32 ms (this frequency is higher than 64 ms of the sequential flow mode to achieve faster moving speed), initializing the current light point position index to 0, and establishing a state array containing all LED states (including brightness level or delay extinguishing count), all LED drive IO ports are configured to support PWM output mode, and the initial brightness is zero.

[0051] After the timer starts, the LED corresponding to the current light point position index is first set to the highest brightness (PWM duty cycle 100%), then for the LED that has been lit but is not the current light point, the system adopts one of the two optional implementation modes or their combination. One is the brightness decay mode, i.e. gradually reducing the PWM output of these LEDs according to the preset decay gradient (for example, reducing the duty cycle by 30% each time) until they are completely extinguished; the other is the delay extinguishing mode, i.e. each lit LED will automatically extinguish after the light point continues to move N positions (such as 2 positions), finally, the light point position index is increased by 1, pointing to the next LED in the sequence.

[0052] When the light point moves through the entire LED sequence (i.e. the index value reaches the total number of LEDs), the system completes a meteor passing effect. The loop counter is correspondingly increased, and after reaching the preset number of loops (for example, 2 times) or receiving an exit instruction, the mode execution ends. The system then stops the timer, sets the PWM output of all LED drive IO ports to zero to ensure complete extinguishing, and controls the integrated chip 21 to return to low-power sleep state.

[0053] This mode creates a smooth and coherent dynamic light effect with directionality by precisely controlling the speed of the moving light point and the gradual change / delay extinguishing characteristics of the trailing effect, which is significantly superior to the traditional simple flowing light effect in visual performance.

[0054] Embodiment 7: As Figure 9 and Figure 13As shown, the embodiment integrates a set of efficient solar power management system under the premise of retaining all the functions of the original device, which mainly consists of three parts: solar panels (mainly located at the toe of the whole shoe), power management integrated circuit and rechargeable battery. Among them, the solar panels as the energy collection unit can convert environmental light energy into electrical energy; the power management integrated circuit as the control core, its input pin is connected with the solar panels through a one-way diode, the battery pin is connected with the rechargeable battery, and the system voltage output pin is connected with the power supply end of the integrated chip 21 and the light emitting element 23 in the device.

[0055] The power management integrated circuit is used for intelligent management of the complete charging and discharging process of the rechargeable battery by the solar panels, ensures safe and efficient energy storage of the battery through accurate charging algorithm; the output voltage of the rechargeable battery is converted into the working voltage required by the integrated chip and the light emitting element, which ensures the stable operation of each component of the system; the power management integrated circuit is used for providing comprehensive circuit protection for the whole shoe lamp device, including overcharge protection, overdischarge protection and short circuit protection and other important safety functions; The introduction of this set of solar power supply system makes the shoe lamp device truly realize energy self-sufficiency, greatly prolongs the use time of the product, and at the same time maintains all the characteristic functions of the original device, including multiple preset LED flashing modes and low-power working characteristics. Through the perfect combination of solar power supply and multiple light efficiency modes, the embodiment not only improves the practicality and environmental protection value of the product, but also brings users a more durable and stable visual experience. Specific implementation method two: As shown, Figure 10 The application provides a technical solution of a driving method of a shoe lamp device with multiple combination mode flashing: which includes the following steps: S1, system initialization and sleep step: S1.1, hardware interface configuration: configure the IO port connected with the light emitting element 23 as push-pull output mode to ensure sufficient driving capacity; configure the IO port connected with the user instruction input unit 3 as input mode with pull-up resistor to stably detect the key signal; configure the OS input port connected with the vibration sensor 22 as edge-triggered interrupt mode to effectively identify the vibration event; S1.2, state variable initialization: initialize the timer module in the chip, assign a basic clock source to it, but do not start immediately, prepare for subsequent mode execution; set the system state register to "ready" state, set the mode index register to default value (such as mode one), and clear various timing and loop counters; S1.3, entering hibernate: after all configurations are completed, the integrated chip 21 is controlled to enter a low-power hibernate mode. In this mode, the CPU core is suspended, the main peripheral modules are powered off, only the necessary interrupt listening circuit is reserved, and the system static current can be reduced to below 1uA.

[0057] S2, wake-up and trigger judgment step: S2.1, interrupt wake-up: when the vibration sensor 22 detects a valid vibration and generates a falling edge signal, or the user instruction input unit 3 is operated to cause a level change, a hardware interrupt will be generated immediately, which forcibly wakes up the integrated chip 21 from the hibernate mode, and the CPU resumes running, first entering the interrupt service program; S2.2, event judgment and distribution: in the interrupt service program, the state of the relevant IO port is read to judge the interrupt source: If the interrupt source is the user instruction input unit 3, it is identified as a mode switching instruction. The system increments the mode index register (cyclically wraps around at the maximum value), and can optionally provide a switching feedback by flashing all light emitting elements 23 once; If the interrupt source is the vibration sensor 22, it is identified as an effect trigger signal. The system will maintain the current mode index unchanged and prepare to execute the light effect; S2.3, state transition: after the judgment is completed, the system exits the interrupt service program and prepares the task to be executed next according to the event type; S3, mode execution and return step: S3.1, mode subroutine call: the system jumps to the corresponding mode subroutine entry according to the value of the current mode index register as the address offset. These subroutines are pre-written and fixed in the program memory, corresponding to different light effects such as sequential loop, sequential flow, star flashing, synchronous flashing, meteor effect, etc.

[0058] S3.2, effect generation and power consumption control: in the mode subroutine, the system reconfigures and starts the timer to refresh the state of the LED drive IO port through precise timing interrupts. Each mode has its own unique control algorithm, and during the entire execution process, the CPU only works temporarily when each timing interrupt comes, and the rest of the time can be in idle mode to save power consumption; S3.3, effect end and system return: when it is detected that the current mode has been executed (for example, the preset number of cycles or duration is reached), the subroutine will exit. Before exiting, it ensures that all LED drive IO ports are set to low, and then the main control flow calls the system hibernate instruction again, so that the integrated chip 21 returns to the low-power hibernate state of S1 step, waiting for the arrival of the next external event.

[0059] The foregoing merely illustrates the principles of the application and application of its leading features. This application is not limited to the illustrative embodiments shown and described herein. Rather, the scope of the present application is defined by the appended claims, and other embodiments of this application will readily occur to those skilled in the art. Accordingly, the application is not limited to that described in the foregoing description or illustrated in the accompanying drawings. It is intended to cover any adaptations or variations of proven equivalents to a readily available materials and of the application including its operation and uses of benefits and / or combinations of the adaptations and variations. Therefore, it is manifestly intended that this application be limited only by the embodiments of the claims based on the patentability of the patent claims.

[0060] In addition, it should be understood that although the description herein is made on the basis of the embodiments, not every embodiment contains only one independent technical solution, and the description herein is only for the sake of clarity, and those skilled in the art should understand the description as a whole, and the technical solutions in each embodiment can be combined appropriately to form other embodiments that those skilled in the art can understand.

Claims

1. A shoe light device with multiple combined flashing modes, characterized in that: It includes: The housing (1) has an accommodating cavity formed inside; Circuit board (2), the circuit board (2) is fixedly disposed in the cavity, and an integrated chip (21), a vibration sensor (22) and a light-emitting element (23) are soldered on it. The integrated chip (21) is a microcontroller packaged on the circuit board (2) and stores a control program inside. The vibration sensor (22) is electrically connected to the OS input port of the integrated chip (21), and the light-emitting element (23) is electrically connected to the LED driver IO port of the integrated chip (21). User instruction input unit (3), the user instruction input unit (3) is disposed on the circuit board (2) and electrically connected to the instruction input IO port of the integrated chip (21) for receiving and transmitting user operation instructions; The integrated chip (21) automatically enters a sleep state after the system is powered on, and remains in the ON ready mode; and in response to the mode switching command generated by the user command input unit (3), it increments the internal mode register, thereby cyclically switching between multiple preset LED flashing modes. In addition, in response to the falling edge trigger signal generated by the vibration sensor (22), the device wakes up from the sleep state and drives multiple light-emitting elements (23) to execute a corresponding preset LED blinking mode based on the current value of the internal register of the integrated chip (21).

2. The shoe light device with multiple combined flashing modes according to claim 1, characterized in that: The user instruction input unit (3) is an external physical function button. The mode switching instruction is generated by short-pressing the function button. The integrated chip (21) identifies the short-press operation by detecting the level change of the IO port.

3. The shoe light device with multiple combined flashing modes according to claim 1, characterized in that: The integrated chip (21) is equipped with a mode scheduler and a light effect library. The mode scheduler responds to the mode switching command and is responsible for cyclically updating the internal mode register. The light effect library stores control programs for multiple independent LED flashing modes. When the integrated chip (21) is woken up, the mode scheduler calls the corresponding LED flashing mode control module from the light effect library according to the value of the current mode register and executes it to drive the light-emitting element (23) to generate the corresponding dynamic light effect.

4. The shoe light device with multiple combined flashing modes according to claim 3, characterized in that: The LED blinking mode is a sequential loop mode. In this mode, the internal register of the integrated chip (21) automatically increments after each vibration trigger and drives the light-emitting element (23) to perform a new pointing mode effect.

5. The shoe light device with multiple combined flashing modes according to claim 3, characterized in that: The LED flashing mode is a sequential flow mode. In this mode, the integrated chip (21) outputs a high level to the LED driver IO port at fixed time intervals to sequentially light up the LEDs, thereby creating a visual effect of sequential flow of light spots.

6. The shoe light device with multiple combined flashing modes according to claim 3, characterized in that: The LED flashing mode is a reverse flow mode. In this mode, the integrated chip (21) outputs a high level to the LED driver IO port at a fixed time interval to light up the LEDs in reverse order, thereby creating a visual effect of light spots flowing in reverse order.

7. A shoe light device with multiple combined flashing modes according to claim 3, characterized in that: The LED blinking mode is a star blinking mode. In this mode, the integrated chip (21) controls multiple light-emitting elements (23) to light up and turn off in a discontinuous, irregular and independent manner to form a random blinking visual effect.

8. A shoe light device with multiple combined flashing modes according to claim 3, characterized in that: The LED blinking mode is a synchronous blinking mode. In this mode, the integrated chip (21) controls all light-emitting elements (23) to drive the IO port to output square waves of the same frequency synchronously, driving all light-emitting elements (23) to light up and turn off at the same time.

9. A shoe light device with multiple combination modes flashing according to claim 3, characterized in that: The LED flashing mode is a meteor effect mode. In this mode, the integrated chip (21) lights up the sequence of light-emitting elements (23) at a frequency higher than that of the sequential flow mode. After the moving light spot passes, it does not immediately turn off the previous one or more light-emitting elements (23), but controls the IO port to output a gradually decreasing PWM duty cycle to make its brightness decay, or makes it turn off after the light spot moves several positions.

10. A shoe light device with multiple combined flashing modes according to claim 1, characterized in that: It also includes a solar power supply system, which includes a solar panel for converting light energy into electrical energy, a rechargeable battery for storing electrical energy, and a power management module that is electrically connected to the solar panel, the rechargeable battery, the integrated chip (21), and the light-emitting element (23), respectively. The power management module is used to manage the charging process of the solar panel to the rechargeable battery and convert the output voltage of the rechargeable battery into the operating voltage required by the integrated chip (21) and the light-emitting element (23).

11. A driving method for driving a shoe light device that flashes in multiple combined modes as described in any one of claims 1-10, characterized in that: The driving method includes the following steps: S1. System initialization and sleep steps: Perform system initialization and control the integrated chip (21) to enter a low-power sleep state; S2, Wake-up and Trigger Judgment Step: In response to the mode switching command from the user command input unit (3) or the trigger signal generated by the vibration sensor (22), the integrated chip (21) is woken up from the low-power sleep state; S3. Mode execution and return steps: Based on the currently stored mode information, drive the light-emitting element (23) to execute the corresponding LED blinking mode, and after the mode execution is completed, control the integrated chip (21) to return to the low-power sleep state.