Method for reducing electric quantity loss in transportation process of light-operated device

By detecting the special key combination to enter the transportation mode and turning off the peripherals, the power loss problem caused by bumps and mistouch during the transportation of the optical controller is solved, and low power consumption and mistouch protection during the transportation process is achieved to ensure that the product is in The power is saved during retention, improving the user experience.

CN119225507APending Publication Date: 2024-12-31SHENZHEN C&D ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411230691.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

During transportation, the optical controller is prone to wake up and accidentally touch due to bumps and collisions, resulting in large current consumption, and the product stays for a long time, resulting in power exhaustion, which brings users a bad experience.

Method used

Entering transportation mode by detecting special key combination operations, turning off most peripherals, only keeping the low-power module, and only exiting transportation mode under specific conditions, reducing the scanning frequency, and preventing false triggering and interference.

Benefits of technology

It effectively reduces power loss during transportation, reduces power consumption when there is no operation, ensures that the power is stored when the product is stuck in the warehouse or sales end, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225507A_ABST
    Figure CN119225507A_ABST
Patent Text Reader

Abstract

The invention discloses a method for reducing electric quantity loss in a transportation process of a light-operated device. The method comprises the following steps: controlling the light-operated device to enter a transportation mode by detecting whether a first special combination key is operated or not; and after entering the transportation mode, detecting whether the second special combination key is operated or the USB is plugged, and if the second special combination key is operated or the USB is plugged, exiting the transportation mode. According to the method, in the transportation mode, most peripherals are closed, it is guaranteed that shaking awakening cannot be triggered in the transportation process, and the electric quantity loss of products in the transportation process is reduced; in the transportation mode, only a specific key or operation mode is processed, so that the key is prevented from being mistakenly triggered to be awakened in the transportation process, and the electric quantity loss of the product in the transportation process is reduced; and in a transportation mode, the scanning frequency of the touch keys is greatly reduced, the power consumption without operation can be reduced, and the electric quantity loss when the products are retained in a warehouse and a sales end is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power management, and in particular to a method for reducing power loss during transportation of a light controller. Background Art

[0002] During the transportation of light controller products, they are prone to bumps and collisions. In this case, the conventional sleep mode is prone to trigger shake wake-up and touch wake-up (false touch), resulting in large currents. After the products are produced, they will stay in the warehouse and sales end for a period of time and usually will not reach the user soon. The above two reasons can easily lead to the product being out of power and unusable after reaching the user end, giving users a bad experience.

[0003] Chinese patent publication number CN113672070A provides a method for starting and stopping a transport mode, which is applied to an electronic device, including: obtaining a device startup instruction; detecting a transport mode entry flag according to the device startup instruction; if there is a transport mode entry flag, then controlling the electronic device to enter or exit the transport mode according to the duration of the charging voltage signal of the electronic device. However, this scheme generates a device startup instruction through a preset number of press signals (such as a single press or multiple presses) or a preset time press signal (such as a long press) of a button on the electronic device, thereby controlling the electronic device to enter or exit the transport mode, and there will also be false triggering. In addition, the transport mode entry flag that can be configured in the electronic device in the production line environment and the duration of the charging voltage signal can only be controlled when the transport mode entry flag exists and the charging voltage duration meets the conditions, which increases the difficulty of the electronic device entering or exiting the transport mode.

[0004] Therefore, there is an urgent need for a reliable and easy-to-operate method for reducing power loss during the transportation of light controllers. Summary of the invention

[0005] In order to solve the problems in the prior art, the present invention proposes a method for reducing power loss during transportation of a light controller.

[0006] The present invention is specifically implemented through the following technical solutions:

[0007] A method for reducing power loss during transportation of a light controller, the method comprising:

[0008] Detect whether the first special key combination is operated; if the first special key combination is operated, the light controller enters the transport mode; wherein, after the first special key combination is detected, the light controller turns off the LED scanning, touch key scanning, motor, serial port, timer, and digital tube operations, and the accelerometer and Bluetooth chip of the light controller enter a low power consumption state; after the LED scanning, touch key scanning, motor, serial port, timer, and digital tube operations are turned off, detect whether there are interference factors, and if there are no interference factors, turn on the watchdog and low power touch scanning, and reduce the scanning frequency to only meet the wake-up requirements;

[0009] After entering the transport mode, it is detected whether the second special combination button is operated or the USB is plugged in or out. If the second special combination button is operated or the USB is plugged in or out, the transport mode is exited.

[0010] As a further improvement of the present invention, the interference factor includes operating the first special combination key for too long.

[0011] As a further improvement of the present invention, the first combination key includes at least two keys that are far apart and / or the second combination key includes at least two keys that are far apart.

[0012] As a further improvement of the present invention, the detecting whether the first special combination key is operated includes: pressing the "sleep-aid rhythm" and "off" keys simultaneously for a first preset time period.

[0013] As a further improvement of the present invention, the detection of whether the second special combination key is operated includes: pressing the "wake-up rhythm" and "sensing night light" keys simultaneously for a second preset time period.

[0014] As a further improvement of the present invention, the first preset time length is 5 seconds.

[0015] As a further improvement of the present invention, the second preset time length is 5 seconds.

[0016] On the other hand, the present invention also provides a method for reducing power loss during transportation of a light controller, comprising:

[0017] Detecting whether the first special key combination is operated; if the first special key combination is operated, the light controller enters the transport mode; wherein, after detecting the operation of the first special key combination, the light controller turns off the LED scanning, touch key scanning, motor, serial port, timer, and digital tube operations, and the accelerometer and Bluetooth chip of the light controller enter a low power consumption state;

[0018] After entering the shipping mode, check whether the USB is plugged in or out. If the USB is plugged in or out, exit the shipping mode.

[0019] The beneficial effects of the present invention are as follows: compared with the existing technology, the method of the present invention turns off most of the peripherals in the transport mode, ensuring that the shaking wake-up will not be triggered during transportation, reducing the power consumption of the product during transportation; in the transport mode, only specific buttons or operating methods are processed, ensuring that the button wake-up will not be triggered by mistake during transportation, reducing the power consumption of the product during transportation; in the transport mode, the touch button scanning frequency is greatly reduced, which can reduce the power consumption when there is no operation (taking the light controller as an example, the average current in the sleep mode is about 55uA, and the current in the transport mode is about 38uA), reducing the power consumption of the product when it is stranded in the warehouse or the sales end. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0021] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods.

[0022] like Figure 1 The flowchart of the method of the present invention is shown in FIG. After the initialization is completed, the software enters the main loop, at which time it will determine whether the special key combination is operated. If the special key combination is operated, it is determined to enter the transport mode. If the special key combination is not operated, it enters the idle detection. If it is detected to be in an idle state, it enters the sleep mode, otherwise, it returns to the main loop.

[0023] To enter shipping mode, you need to shut down all peripherals, leaving only some modules needed to exit shipping mode. To exit, you can only press and hold a special key combination or plug and unplug the USB. You cannot exit shipping mode by shaking or touching non-special key combinations.

[0024] After entering sleep mode, if you shake or touch a non-special key combination, you will exit sleep mode and return to the main loop.

[0025] Taking the light controller as an example, when the first combination of buttons is detected, the other lights of the light controller are turned off, and the digital tube is lit to display "----" to indicate that it is now entering the transport mode. At this time, turn off the LED scan, touch button scan, motor, serial port, timer, and digital tube operations to allow the accelerometer and Bluetooth chip to enter low power consumption, so that the light controller is not disturbed by other factors (such as shaking or touching, etc.) and fails to enter the transport mode. After the digital tube goes out, it means that the transport mode has been entered. After entering the transport mode, check whether there are any interference factors. If there are no interference factors, reopen the watchdog and low-power touch scan, and reduce the scan frequency to only meet the wake-up requirements. In the transport mode, only detect whether the second combination of buttons set in advance is triggered by a long press or the USB is plugged in and out to exit the transport mode and re-initialize.

[0026] When implementing this function, please note that when entering the transport mode, it is necessary to first detect whether there are interference factors and then turn on the watchdog and low-power touch scanning, rather than directly reducing the scanning frequency. In this way, even if the production line employees make mistakes during operation (long press the combination key to enter the transport mode for too long), they can enter the transport mode as soon as it is detected that there are no interference factors (after releasing the hand).

[0027] If the product function does not require exiting the shipping mode by touching a button (for example, exiting the shipping mode by plugging and unplugging the USB), then there is no need to enable touch scanning, which will result in lower power consumption.

[0028] The first combination key and / or the second combination key include at least two keys that are far apart. The two keys that are far apart can be two non-adjacent keys or two keys that are diagonally located. As long as the two keys are not prone to misoperation, they are within the protection scope of the present invention.

[0029] The specific operation in actual use is: before packing, the production line staff presses the "sleep rhythm" and "off" keys at the same time for the first preset time (these two keys are relatively far apart on the light controller, in order to prevent users from accidentally triggering them during normal use and not being able to continue normal use due to unclear reasons), and the digital tube displays "----" to enter the transportation mode. After the user gets the light controller, when using it for the first time, he needs to exit the transportation mode - insert a USB or press the "wake-up rhythm" and "sensing night light" keys at the same time for the second preset time (these two keys are located in the upper left and lower right places on the light controller, in order to prevent the transportation mode from being accidentally touched by external factors, and it is difficult to only touch these two keys, and it will not exit the transportation mode, causing a large current, thereby affecting the battery power). After exiting the transportation mode, it can be used normally (only the first time it is used, and it is not necessary to do so for subsequent normal use). The first preset time and the second preset time can be set according to experience, usually 5 seconds.

[0030] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention. For ordinary technicians in this field, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention.

Claims

1. A method for reducing power loss during transportation of a light controller, characterized in that: The method comprises: Detect whether the first special key combination is operated; if the first special key combination is operated, the light controller enters the transport mode; wherein, after the first special key combination is detected, the light controller turns off the LED scanning, touch key scanning, motor, serial port, timer, and digital tube operations, and the accelerometer and Bluetooth chip of the light controller enter a low power consumption state; after the LED scanning, touch key scanning, motor, serial port, timer, and digital tube operations are turned off, detect whether there are interference factors, and if there are no interference factors, turn on the watchdog and low power touch scanning, and reduce the scanning frequency to only meet the wake-up requirements; After entering the transport mode, it is detected whether the second special combination button is operated or the USB is plugged in or out. If the second special combination button is operated or the USB is plugged in or out, the transport mode is exited.

2. The method according to claim 1, wherein: The interference factor includes operating the first special key combination for too long.

3. The method according to claim 1, wherein: The first combination of keys includes at least two keys that are far apart and / or the second combination of keys includes at least two keys that are far apart.

4. The method according to claim 1 or 3, wherein: The detecting whether the first special combination key is operated includes: pressing the "sleep aid rhythm" and "off" keys simultaneously for a first preset time period.

5. The method according to claim 1 or 3, wherein: The detecting whether the second special combination key is operated includes: pressing the "wake-up rhythm" and "sensing night light" keys simultaneously for a second preset time period.

6. The method according to claim 4, wherein: The first preset time length is 5 seconds.

7. The method according to claim 5, wherein: The second preset time length is 5 seconds.

8. A method for reducing power loss during transportation of a light controller, characterized in that: The method comprises: Detecting whether the first special key combination is operated; if the first special key combination is operated, the light controller enters the transport mode; wherein, after detecting the operation of the first special key combination, the light controller turns off the LED scanning, touch key scanning, motor, serial port, timer, and digital tube operations, and the accelerometer and Bluetooth chip of the light controller enter a low power consumption state; After entering the shipping mode, check whether the USB is plugged in or out. If the USB is plugged in or out, exit the shipping mode.

9. The method according to claim 8, wherein: The first combination of keys includes at least two keys that are far apart.

10. The method according to claim 8 or 9, wherein: The detecting whether the first special combination key is operated includes: pressing the "sleep aid rhythm" and "off" keys simultaneously for a first preset time period.