A method for reducing power consumption of wireless PTL electronic picking labels

Through PWM pulse width modulation technology, the problem of high power consumption of LED lighting of wireless PTL electronic picking tags is solved, brightness adjustment is realized, battery life is extended and system flexibility is improved.

CN114390752BActive Publication Date: 2024-09-13BEIJING HIWELLS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011114922.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-19
Publication Date
2024-09-13
Estimated Expiration
2040-10-19

AI Technical Summary

Technical Problem

The LED lighting of existing wireless PTL electronic picking tags consumes high power, resulting in shortened battery life, and the LED light brightness cannot be digitally adjusted, limiting the flexibility of the system.

Method used

Using PWM pulse width modulation technology, by changing the duty cycle of the LED light pulse width, the MCU's comparison capture unit is used to achieve constant light control of the LED light, reduce the lighting power consumption, and realize brightness adjustment through host computer control.

Benefits of technology

It effectively reduces the power consumption of LED lights, extends battery life, and realizes digital adjustment of LED light brightness to meet brightness needs in different environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114390752B
    Figure CN114390752B
Patent Text Reader

Abstract

The present invention discloses a method for reducing the power consumption of a wireless PTL electronic picking label. The method makes full use of the PWM pulse width modulation technology integrated in an MCU and the principle of human visual persistence. The LED lamp is intermittently lit by PWM pulse width modulation, but the human eye cannot feel the trembling of the light-emitting pixels at all, thereby reducing the power consumption of the LED lamp. The MCU adopts an ultra-low power consumption MCU to further reduce the power consumption, and is integrated with a PWM pulse width modulation control function. The PWM pulse width modulation changes the lighting time of the LED lamp by periodically changing the size of the pulse width to replace the continuous lighting of the LED lamp, thereby achieving the purpose of reducing the power consumption of the lamp. Moreover, as long as the PWM pulse width modulation frequency is greater than the frequency corresponding to the human visual persistence, the human eye cannot feel the flickering of the lamp, which is the same as the effect of constant lighting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of new generation information technology of industrial Internet of Things, and specifically to a method for reducing light power consumption of intelligent wireless electronic picking tags in a PTL (pick to light) system in a warehouse picking link of intelligent manufacturing and warehousing and logistics industries. Background Art

[0002] More than 98% of the existing PTL systems on the market use wired power supply and communication methods. The wired mode has very obvious disadvantages:

[0003] 1. On-site implementation requires wiring, which is very inconvenient;

[0004] 2. The display uses a 7-segment LED digital tube display, which can only display digital information (picking quantity, etc.), and cannot display richer content such as text, graphics, symbols, barcodes, etc.;

[0005] 3. In order to display more information, the number of digits of the digital tube is increasing and the length is getting longer;

[0006] 4. Wired PTL controllers usually use RS485 communication mode, with a limited number of tags, usually up to 128, mainly limited by the number of RS485 communication addresses and wire voltage drop.

[0007] With the development of technology and to overcome the above-mentioned shortcomings of the wired mode, a wireless communication mode PTL light picking system has emerged. The wireless PTL electronic picking tag is powered by a battery. Reducing power consumption is an important performance indicator requirement of the wireless PTL electronic picking tag, and the LED lighting part accounts for a large proportion of the power consumption. The existing wireless PTL electronic picking tag uses the high and low levels of the ordinary IO port of the MCU (microcontroller unit) to control the on and off of the LED light. For example, when the light is on, a high level is continuously output, and when the light is off, a low level is continuously output. Continuously outputting a high level and keeping the light on will cause a lot of power consumption to the battery, greatly reducing the battery life. Summary of the invention

[0008] Purpose of the invention: The purpose of the present invention is to address the deficiencies in the prior art and to provide a method that can effectively reduce the power consumption of wireless PTL electronic picking tags when the lights are on, and to achieve digital adjustment of the brightness of LED lights according to the needs of the on-site application environment. The main purpose of the present invention is to reduce the power consumption of the lights and thus extend the battery life. If the environment allows a lower brightness to meet the requirements, the power consumption of the lights can be further reduced by reducing the brightness.

[0009] Technical solution: A method for reducing the power consumption of a wireless PTL electronic picking label. The main principle is to use the visual persistence characteristics of the human eye and use PWM pulse width modulation to complete the constant lighting control of the LED lamp, that is, to periodically change the light pulse width (that is, the duty cycle). As long as the repeated lighting cycle is short enough (that is, the rewriting frequency is high enough), the human eye cannot feel the trembling of the light-emitting pixel, that is, the human eye cannot distinguish whether it is a pulse current with a high enough frequency or a continuous DC current flowing through the LED lamp. This method has been introduced in many technical documents, but its main purpose is to control the grayscale level or brightness of the LED display through PWM pulse width modulation, which is completely different from the main purpose of reducing the power consumption of the present invention.

[0010] The method for reducing the power consumption of the wireless PTL electronic picking label is a software control method, which makes full use of the comparison capture unit inside the MCU (microcontroller) to change the duty cycle of the LED light pulse by changing the duty cycle of the PWM pulse width modulation output frequency, so that the human eye feels that the LED light is always on, but the average current consumption is the product of the light pulse current and the light pulse duty cycle. For example, if the PWM duty cycle is 20%, the average current consumed by the LED is 20% of the current when the LED is always on, and the power saving reaches 80%. For the specific software processing flow, see Figure 1 , described in detail as follows:

[0011] 1. Initialize the IO port of the MCU with PWM function to PWM output;

[0012] 2. Clear the registers related to PWM;

[0013] 3. Set the PWM clock source and the initial count value of the PWM pulse width modulation to determine the PWM pulse width modulation frequency. Since the visual persistence time of the human eye is usually 0.1-0.4 seconds, the corresponding frequency is 2.5Hz-10Hz, so the PWM pulse width modulation frequency only needs to be greater than 10Hz. The present invention sets the PWM pulse width modulation frequency to 1.953kHz;

[0014] 4. Enable the PWM function, load the comparison value CL, and start the automatic count comparison operation.

[0015] The process 1 initializes the IO port of the MCU with PWM function as PWM output, which is to define the port of the MCU as a special function PWM pin;

[0016] The process 2 clears the registers related to PWM to 0 to ensure that each register value has an original determined state;

[0017] The process 3 first sets the clock source CLK of the PWM count, determines the width t of a count cycle, and the time width when counting to CL is CL*t. The process 3 sets the PWM pulse width modulation initial count value PWMPREL_REG, and the PWM pulse width modulation frequency is CLK / (256-PWMPREL_REG). The clock source CLK of the present invention is 500kHz, and PWMPREL_REG is set to 0, so the PWM pulse width modulation frequency is 1.953kHz;

[0018] The process 4 enables the PWM function, loads the comparison value CL, and starts the automatic counting comparison operation from the initial count value PWMPREL_REG. CL is loaded to the comparison registers CCAPxL_REG and CCAPxH_REG respectively. When CL is less than CCAPxL_REG, the comparison capture unit outputs low. When a match occurs (CL=CCAPxL_REG), the comparison capture unit outputs high and remains high until CL counts to 0xFF and decreases from 0xFF to the initial count value PWMPREL_REG. At the end of a counting cycle, the comparison capture unit flips and outputs a low level. The CCAPxH_REG value is loaded into CCAPxL_REG to start the next cycle. Usually, CCAPxH_REG=CCAPxL_REG. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the description of this embodiment will be briefly introduced below. Obviously, the drawings described below are only one embodiment of the patent of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a software processing flow chart of an embodiment of the present invention;

[0021] Figure 2 PWM drive hardware circuit diagram of an embodiment of the present invention;

[0022] Figure 3 This is a schematic diagram of brightness adjustment. DETAILED DESCRIPTION

[0023] The embodiment of the present invention provides a method for reducing the power consumption of a wireless PTL electronic picking label.

[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiment is only one embodiment of the present invention, not all of them. What the patent of the present invention needs to protect is the use of the visual persistence principle and PWM pulse width modulation technology in the wireless PTL electronic picking tag to achieve the purpose of reducing the power consumption of LED lights. At the same time, the host computer can also send LED brightness instructions to the wireless PTL electronic picking tag through the wireless base station according to the on-site environmental conditions to achieve the purpose of adjusting the brightness of the LED indicator light. For those skilled in the art, all other embodiments obtained without creative labor and adopting other pulse generation methods belong to the scope of protection of the present invention.

[0025] The following is a detailed description through examples.

[0026] The terms "first", "second", "third", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not used to describe a specific sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances. In addition, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] Figure 1 is a software processing flow chart of an embodiment of the present invention. The software processing method can be implemented on different MCUs, and the processing flow is basically the same. The specific processing flow is as follows Figure 1 As shown:

[0028] 1. Initialize the IO port of the MCU with PWM function to PWM output;

[0029] 2. Clear the registers related to PWM;

[0030] 3. Set the PWM clock source and the initial count value of the PWM pulse width modulation to determine the PWM pulse width modulation frequency. Since the visual persistence time of the human eye is usually 0.1-0.4 seconds, the corresponding frequency is 2.5Hz-10Hz, so the PWM pulse width modulation frequency only needs to be greater than 10Hz. The present invention sets the PWM pulse width modulation frequency to 1.953kHz;

[0031] 4. Enable the PWM function, load the comparison values ​​CCAPxL_REG, CCAPxH_REG, and the initial count value PWMPREL_REG;

[0032] 5. Start counting and compare the counting result CL with the comparison value CCAPxL_REG.

[0033] The process 1 initializes the IO port of the MCU with PWM function as PWM output, which is to define the port of the MCU as a special function PWM pin;

[0034] The process 2 clears the registers related to PWM to 0 to ensure that each register value has an original determined state;

[0035] The process 3 first sets the clock source CLK of the PWM count, determines the width t of a count cycle, and the time width when counting to CL is CL*t. The process 3 sets the PWM pulse width modulation initial count value PWMPREL_REG, and the PWM pulse width modulation frequency is CLK / (256-PWMPREL_REG). The clock source CLK of the present invention is 500kHz, and PWMPREL_REG is set to 0, so the PWM pulse width modulation frequency is 1.953kHz;

[0036] The process 4 enables the PWM function, loads the comparison value to the comparison registers CCAPxL_REG and CCAPxH_REG, sets the initial count value PWMPREL_REG, and starts to count automatically from the initial count value PWMPREL_REG;

[0037] The process 5 starts counting and compares the counting result CL with the loaded comparison value CCAPxL_REG. When CL is less than CCAPxL_REG, the comparison capture unit outputs low. When a match occurs (CL=CCAPxL_REG), the comparison capture unit outputs high and remains high until CL counts to 0xFF and decreases from 0xFF to the initial count value PWMPREL_REG. At the end of a counting cycle, the comparison capture unit flips and outputs a low level, and then automatically loads the register CCAPxH_REG value to CCAPxL_REG to start the next cycle. Usually, CCAPxH_REG=CCAPxL_REG.

[0038] Figure 2This is a hardware circuit diagram of an embodiment of the present invention. The MCU IO port outputs a PWM pulse width modulation signal to control the on and off of the N-channel MOS tube, thereby controlling the on and off of the LED. In the figure, a PWM driving circuit for red (LED_R), green (LED_G), and blue (LED_B) three-color LED indicator lights is designed. The PWM1 pin of the MCU outputs a PWM signal to directly drive the N-channel MOS tube Q1. When PWM1 outputs a high level, Q1 is turned on, and the current forms a loop from the power supply VCC through LED_R, R1, Q1 to the power supply ground, thereby lighting up LED_R. When PWM1 outputs a low level, Q1 is turned off, and LED_R is extinguished because no current flows through it. In this way, under the drive of PWM1, LED_R flows through a pulse current, and it turns on and off, but because of the principle of visual persistence of the human eye, only the light is seen, but not the light is not seen, and there is no flickering, thereby achieving a similar effect of constant light, but obviously, a large amount of power consumption is saved, and the brightness is not significantly reduced.

[0039] The same goes for green (LED_G) and blue (LED_B), which will not be described here.

[0040] Figure 3 It is a schematic diagram of brightness adjustment. In the figure, the host computer 1 sends light information data to the wireless base station 2 through the TCP / IP network communication protocol. The information content includes but is not limited to: the ID number of the wireless PTL electronic picking tag, the light color, the light intensity, etc. After the wireless base station successfully receives the information sent by the host computer, it transmits electromagnetic waves in the form of 433MHz wireless communication. After the wireless PTL electronic picking tag receives the electromagnetic wave signal, it first determines whether the data is sent to me through the ID number. If so, after receiving the data, it executes the instruction to light up the LED indicator of the corresponding color with the instruction light intensity.

[0041] In summary, a method for reducing power consumption of a wireless PTL electronic picking tag provided by an embodiment of the present invention includes host computer control instructions, a response of a wireless base station, MCU software control and LED drive in the wireless PTL electronic picking tag, etc. Through the PWM lighting control method, the brightness of the light can be adjusted and controlled, and the brightness can be infinitely adjusted.

[0042] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting the present invention.

Claims

1. A method for reducing power consumption of a wireless PTL electronic picking label, characterized in that By making full use of the PWM pulse width modulation technology integrated in the MCU and the principle of human visual persistence, the LED lamp is intermittently lit through PWM pulse width modulation, and the human eye cannot feel the trembling of the light-emitting pixels at all, thereby reducing the power consumption of the LED lamp. The MCU adopts an ultra-low power MCU to further reduce the power consumption, and the MCU is integrated with a PWM pulse width modulation control function. The PWM pulse width modulation changes the lighting time of the LED lamp by periodically changing the size of the pulse width to replace the LED lamp being lit all the time, thereby achieving the purpose of reducing the power consumption of the lamp. Moreover, as long as the PWM pulse width modulation frequency is greater than the frequency corresponding to the human visual persistence time, the human eye cannot feel the flickering of the lamp, which is the same as the effect of constant lighting. The method for reducing the power consumption of the wireless PTL electronic picking label is a software control method, which makes full use of the comparison capture unit inside the MCU and changes the duty cycle of the LED light pulse by changing the duty cycle of the PWM pulse width modulation output frequency; the specific software processing flow includes:

1. Initializing the IO port of the MCU with PWM function as PWM output; 2. Clearing the register related to PWM; 3. Setting the PWM clock source, setting the initial count value of PWM pulse width modulation, and determining the PWM pulse width modulation frequency; 4. Enabling the PWM function, loading the comparison value CL, and starting to automatically count from the initial count value PWMPREL_REG Comparison operation, load CL to the comparison registers CCAPxL_REG and CCAPxH_REG respectively. When CL<CCAPxL_REG, the comparison capture unit outputs low. When CL=CCAPxL_REG, the comparison capture unit outputs high and keeps until CL counts to 0xFF and decreases from 0xFF to the initial count value PWMPREL_REG. At the end of a counting cycle, the comparison capture unit flips and outputs a low level. The CCAPxH_REG value is loaded into CCAPxL_REG to start the next cycle. Usually, CCAPxH_REG=CCAPxL_REG; It also includes the purpose of adjusting the brightness of the LED indicator light by the host computer sending an LED brightness instruction to the wireless PTL electronic picking tag through the wireless base station according to the on-site environmental conditions. Specifically, the host computer sends lighting information data to the wireless base station through the TCP / IP network communication protocol. The information content includes: the ID number of the wireless PTL electronic picking tag, the lighting color, and the lighting intensity. After the wireless base station successfully receives the information sent by the host computer, it transmits electromagnetic waves in the form of 433MHz wireless communication. After the wireless PTL electronic picking tag receives the electromagnetic wave signal, it first determines whether the data is sent to itself through the ID number. If so, it executes the instruction after receiving the data to light up the LED indicator light of the corresponding color with the instruction lighting intensity.

2. According to claim 1, a method for reducing power consumption of a wireless PTL electronic picking label, characterized in that: The MCU adopts FM3316, which has ultra-low power consumption and integrates the function of PWM pulse width modulation control.

3. The method for reducing power consumption of a wireless PTL electronic picking label according to claim 1, characterized in that: PWM pulse width modulation can not only reduce the power consumption of the light, but also achieve the purpose of adjusting the brightness of the LED light. For places with dim ambient light, the PWM duty cycle can be further reduced, thereby reducing the brightness of the LED light and further reducing the power consumption of the light. For places with bright ambient light, the PWM duty cycle can be increased, thereby increasing the brightness of the LED, allowing the human eye to better recognize the lighting effect in a brighter environment.