Indoor positioning method and system with multi-level dimming of optical signals

By improving the processing and multi-level dimming of the optical signal of indoor positioning technology, the impact of light source flicker on the human eye is solved, and a healthy lighting and energy-saving indoor positioning method is achieved.

CN119197515BActive Publication Date: 2025-09-23GUANGDONG XUYU OPTOELECTRONICS CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411131343.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-15
Publication Date
2025-09-23
Estimated Expiration
2043-05-15

AI Technical Summary

Technical Problem

Existing indoor positioning technology cannot meet users' healthy lighting needs and cannot achieve multi-level dimming, resulting in light source flickering that affects the human eye.

Method used

By improving the original light signal of the lighting source, a pulse width modulation signal with flicker suppression is generated, and multi-level dimming processing is performed to generate a target modulation signal, which is used for positioning, and the reflected light signal of the terminal to be located is received to determine the position.

Benefits of technology

It achieves indoor positioning while meeting users' lighting needs, reducing the impact of light source flicker on the human eye, and achieving energy-saving effects through multi-level dimming.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119197515B_ABST
    Figure CN119197515B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication positioning technology, and solves the problem that the prior art cannot provide an indoor positioning method and system for multi-level dimming of optical signals. The method comprises: improving the original encoding method of the original optical signal of the lighting source to obtain a first pulse width modulation signal after flicker suppression; dimming the first pulse width modulation signal to obtain a target modulation signal that supports multi-level dimming ratios; based on the target modulation signal, sending a positioning optical signal to the terminal to be located; receiving the reflected optical signal emitted by the terminal to be located, and determining the position information of the terminal to be located. The present invention not only realizes real-time positioning of the terminal to be located, but also suppresses light flicker, thereby avoiding interference and influence of inappropriate optical signals on the user during indoor positioning.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention is a divisional application of the invention patent application filed on May 15, 2023, with the invention name “Indoor visible light real-time positioning method, device and equipment based on healthy lighting” and application number 202310543835.0. Technical Field

[0002] The present invention relates to the field of communication positioning technology, and in particular to an indoor positioning method and system for multi-level dimming of optical signals. Background Art

[0003] In today's information age, people have an increasing demand for their own location information, and indoor positioning has become a hot topic. Nowadays, there is a demand for indoor positioning in many occasions, and it has many important applications. However, GPS, which is suitable for outdoor positioning, is not suitable for indoor positioning. Existing magnetic positioning systems, infrared positioning systems, and WiFi positioning systems cannot meet the needs of high-precision, low-cost, and low-complexity indoor positioning. Visible light communication (VLC) technology, which uses environmentally friendly and energy-saving LEDs as light sources, is considered to be a technology with great development potential and application background. Indoor positioning systems based on visible light communication have become a hot research topic recently because they have advantages that traditional indoor positioning methods do not have.

[0004] Currently, most research on VLC technology uses high-speed MCUs, pursuing high speed and high capacity without considering users' actual lighting needs and ignoring human health. On the one hand, high speed can cause light sources to flicker, and the human eye, as an important sensory organ, will suffer from decreased vision and damage to its mechanism if exposed to flickering modulated light sources for a long time. On the other hand, more and more users need to use modulated light sources that support multi-level dimming, but the optical signals emitted by existing indoor positioning technologies do not support multi-level dimming. In summary, existing indoor positioning technologies cannot meet users' actual lighting needs.

[0005] Therefore, how to meet users' needs for healthy lighting while using visible light for real-time indoor positioning is an urgent problem to be solved. Summary of the Invention

[0006] In view of this, the present invention provides an indoor positioning method and system with multi-level dimming of optical signals, so as to solve the problem in the prior art that when performing optical signal positioning on indoor targets, users are interfered with and affected by inappropriate optical signals.

[0007] The technical solution adopted in the present invention is:

[0008] In a first aspect, the present invention provides an indoor positioning method for multi-level dimming of an optical signal, wherein the method comprises:

[0009] An original encoding method of an original light signal of the illumination light source is improved and processed to obtain a first pulse width modulation signal after flicker suppression;

[0010] Performing dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting multiple dimming ratios;

[0011] Sending a positioning optical signal to the terminal to be located according to the target modulation signal;

[0012] Receive the reflected light signal emitted by the terminal to be located, and determine the location information of the terminal to be located.

[0013] In a preferred embodiment, the dimming processing of the first pulse width modulation signal to obtain a target modulation signal supporting a multi-level dimming ratio includes:

[0014] Obtaining a preset dimming value, and deriving a first duty cycle of the first pulse width modulation signal according to the dimming value;

[0015] Determining a second pulse width modulation signal with a second duty cycle based on the first pulse width modulation signal with a first duty cycle, wherein the second duty cycle is the sum of the first duty cycle and a preset dimming increment;

[0016] A third pulse width modulation signal with a third duty cycle is obtained according to the first pulse width modulation signal and the second pulse width modulation signal, and the third pulse width modulation signal is used as the target modulation signal.

[0017] In a preferred embodiment, the step of deriving a third pulse width modulation signal having a third duty cycle based on the first pulse width modulation signal and the second pulse width modulation signal, and using the third pulse width modulation signal as the target modulation signal, includes:

[0018] Obtaining a preset first time interval and a second time interval;

[0019] Determining a weight value of the first duty cycle according to the first time interval, and determining a weight value of the second duty cycle according to the second time interval;

[0020] According to the weight value of the first duty cycle and the weight value of the second duty cycle, taking a weighted average of the first duty cycle and the second duty cycle as the third duty cycle;

[0021] The third pulse width modulation signal with the third duty cycle is used as the target modulation signal.

[0022] In a preferred embodiment, the receiving of the reflected light signal emitted by the terminal to be located and determining the location information of the terminal to be located includes:

[0023] When transmitting the reflected light signal, forward error correction code technology is used to correct errors by adding redundant information.

[0024] In a preferred embodiment, the receiving of the reflected light signal emitted by the terminal to be located and determining the location information of the terminal to be located includes:

[0025] Acquiring a reflected light signal emitted by the terminal to be located;

[0026] Further calculating the direction angle and light intensity of the positioning light signal according to the direction angle and light intensity of the reflected light signal;

[0027] The real-time location information of the terminal to be located is obtained based on the direction angle and light intensity of the positioning light signal.

[0028] In a preferred embodiment, the improved processing of the original encoding mode of the original light signal of the illumination light source to obtain the first pulse width modulation signal after flicker suppression includes:

[0029] According to the original coding mode of the original optical signal of the illumination light source, an original line encoded according to the original coding mode is obtained;

[0030] Limiting the run length of the binary code in the original line to obtain a new coding method;

[0031] Encoding is performed according to the new encoding method to obtain the first pulse width modulation signal.

[0032] In a preferred embodiment, limiting the run length of the binary code in the original line to obtain a new coding method includes:

[0033] The run lengths of code 0 and code 1 of the binary code are restricted respectively.

[0034] In a preferred embodiment, the run lengths of the code 0 and the code 1 are respectively smaller than the corresponding run lengths in the original code so that the code 0 and the code 1 appear alternately to reduce light signal flicker.

[0035] In a second aspect, the present invention further provides an indoor positioning system for multi-level dimming of an optical signal, wherein the indoor positioning system comprises:

[0036] A first pulse width modulation signal module is used to improve the original encoding method of the original light signal of the lighting light source to obtain a first pulse width modulation signal after flicker suppression;

[0037] a multi-level dimming module, configured to perform dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting multi-level dimming ratios;

[0038] A positioning signal transmitting module is used to transmit a positioning optical signal to the terminal to be located according to the target modulation signal;

[0039] The positioning module is used to receive the reflected light signal emitted by the terminal to be positioned and determine the position information of the terminal to be positioned.

[0040] In a preferred embodiment, the positioning system is applied to one of the following indoor daily scenarios: commercial centers, large public buildings, high-risk industrial areas, hospitals and nursing homes.

[0041] In summary, the beneficial effects of the present invention are as follows:

[0042] The indoor positioning method and system for multi-level dimming of optical signals provided by the present invention dims the first pulse width modulation signal to derive a target modulation signal that supports multi-level dimming ratios. Multi-level dimming achieves excellent energy conservation while maximally meeting people's lighting needs. By improving the original encoding method of the original optical signal of the lighting source, not only is real-time positioning of the terminal to be positioned achieved, but light flicker is also suppressed, preventing users from being interfered with and affected by inappropriate optical signals during indoor positioning. Since positioning is performed only by emitting optical signals that meet the user's lighting needs, the user's need for healthy lighting is further met. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work, and these are all within the scope of protection of the present invention.

[0044] Figure 1 This is a schematic diagram of the overall working process of the indoor visible light real-time positioning method based on healthy lighting in Example 1 of the present invention;

[0045] Figure 2 Schematic diagram of the process of sending a positioning light signal in Example 1 of the present invention;

[0046] Figure 3 Schematic diagram of a process for determining a first pulse width modulation signal in embodiment 1 of the present invention;

[0047] Figure 4 Schematic diagram of a process for determining a target modulation signal in Embodiment 1 of the present invention;

[0048] Figure 5 Schematic diagram of a process for determining a third duty cycle in embodiment 1 of the present invention;

[0049] Figure 6 Schematic diagram of the process of receiving the reflected light signal in Example 1 of the present invention;

[0050] Figure 7 Schematic diagram of the process of matching real-time tags and target tags in Example 1 of the present invention;

[0051] Figure 8 This is a schematic diagram of a process for determining the real-time location information of a terminal to be located in Example 1 of the present invention;

[0052] Figure 9 This is a structural block diagram of an indoor visible light real-time positioning device based on healthy lighting in Example 2 of the present invention;

[0053] Figure 10 This is a schematic diagram of the structure of an electronic device in Example 3 of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like is based on the orientation or position relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further limitations, elements defined by the phrase "comprising..." do not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising the elements. The embodiments of the present invention and the features thereof may be combined with each other if there is no conflict, and all are within the scope of protection of the present invention.

[0055] Example 1

[0056] See Figure 1Embodiment 1 of the present invention discloses a real-time positioning method for indoor visible light based on healthy lighting, the method comprising:

[0057] S1: Acquire real-time tag information on a terminal to be located in various indoor daily scenarios;

[0058] Specifically, the indoor everyday scenarios include at least one of the following: commercial centers, large public buildings (such as subways, airports, and libraries), high-risk industrial areas, hospitals, and nursing homes. By acquiring real-time tag information from the target terminals in these different scenarios, real-time indoor positioning of the target terminals in these different scenarios is achieved, further demonstrating the diversity of positioning scenarios and the wide range of applications for indoor positioning.

[0059] S2: Processing the original optical signal, and sending the processed optical signal that meets the user's lighting requirements as a positioning optical signal to the terminal to be located;

[0060] Specifically, since the current research on indoor positioning (VLC) technology does not take into account the actual lighting needs of users and also ignores human health, the original optical signal is processed and the optimized optical signal that meets the user's lighting requirements is used as the positioning optical signal, wherein the optical signal that meets the user's lighting requirements refers to an optical signal with suppressed flicker and supports multi-level dimming ratio. The positioning optical signal is sent to the terminal to be positioned, thereby avoiding the user from being interfered with and affected by inappropriate optical signals during the process of indoor positioning.

[0061] In one embodiment, see Figure 2 , said S2 includes:

[0062] S21: improving the original encoding method of the original optical signal to obtain a first pulse width modulation signal after flicker suppression;

[0063] Specifically, because the high-speed MCU used in existing indoor positioning technology pursues high transmission rate and high capacity, optical signal flickering may occur. By improving the original encoding method of the original optical signal, a first pulse width modulation signal after flicker suppression is obtained, which avoids the problem of vision loss and mechanism damage caused by long-term exposure of the human eye to the flickering modulated light source.

[0064] In one embodiment, see Figure 3 , the S21 includes:

[0065] S211: Obtain the original encoding mode corresponding to the original optical signal;

[0066] Specifically, the original coding method is obtained. Since the optical signal adopts binary coding, there are multiple original coding methods, in which the interval time between the 0 code and the 1 code in the coding line is also different.

[0067] S212: Obtaining an original line encoded according to the original encoding method based on the original encoding method;

[0068] S213: limiting the run length of the binary code in the original line to obtain a new coding method;

[0069] S214: Encoding is performed according to the new encoding method to obtain the first pulse width modulation signal.

[0070] Specifically, by limiting the run length of the binary code in the original line, for example, in the original encoding scheme, the run length of the 0 code is 5, meaning that a 1 code appears every five run lengths. By limiting the run length of the 0 code in the original encoding scheme to 3, a 1 code appears every three run lengths. Similarly, by limiting the run length of the 1 code in the above manner, a new encoding scheme is derived, and the corresponding modulation signal encoded according to the new encoding scheme is used as the first pulse width modulation signal. By improving the encoding scheme, the long duration of 0 codes and 1 codes in the transmission sequence is reduced, and their appearance is alternating, thereby reducing flicker, thereby avoiding the adverse effects of flicker on human physical and mental health caused by the emitted positioning light signal.

[0071] S22: performing dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting multiple dimming ratios;

[0072] Specifically, by dimming the first pulse width modulation signal, a target modulation signal supporting multi-level dimming ratios is obtained. Multi-level dimming can achieve a good energy-saving effect and meet people's lighting needs to the greatest extent.

[0073] In one embodiment, see Figure 4 , the S22 includes:

[0074] S221: Obtain a preset dimming value, and obtain a first duty cycle of the first pulse width modulation signal according to the dimming value;

[0075] S222: Determine a second pulse width modulation signal with a second duty cycle based on the first pulse width modulation signal with a first duty cycle, wherein the second duty cycle is a sum of the first duty cycle and a preset dimming increment;

[0076] Specifically, based on the dimming value input by the user, a first duty cycle of the pulse width modulation signal is determined; and a second duty cycle of the pulse width modulation signal is calculated by adding the first duty cycle to a preset dimming increment. An 8-bit binary pulse width modulation signal can achieve 256 levels of dimming, and the preset dimming increment can be set to 1, with each increase in the dimming value increasing the dimming level by one. For example, when the dimming value input by the user is 200, a pulse width modulation signal with a duty cycle of 200 and a pulse width modulation signal with a duty cycle of 201 can be generated.

[0077] S223: Determine a third pulse width modulation signal with a third duty cycle according to the first pulse width modulation signal and the second pulse width modulation signal, and use the third pulse width modulation signal as the target modulation signal.

[0078] In one embodiment, see Figure 5 , the S223 includes:

[0079] S2231: Obtaining a preset first time interval and a preset second time interval;

[0080] Specifically, a preset first time interval and a second time interval are acquired, a pulse width modulation signal of the first duty cycle is outputted in the first preset time interval, and a pulse width modulation signal of the second duty cycle is outputted in the second preset time interval.

[0081] S2232: Determine a weight value of the first duty cycle according to the first time interval, and determine a weight value of the second duty cycle according to the second time interval;

[0082] S2233: according to the weight value of the first duty cycle and the weight value of the second duty cycle, taking a weighted average of the first duty cycle and the second duty cycle as the third duty cycle;

[0083] Specifically, based on the first preset time interval and the second preset time interval, the weight value of the first duty cycle and the weight value of the second duty cycle are calculated respectively; based on the weight value of the first duty cycle and the weight value of the second duty cycle, a weighted average of the first duty cycle and the second duty cycle is calculated as the third duty cycle. For example, the first preset time interval may be 2ms, and the second preset time interval may be 1ms. During the 0-2ms period, pulse width modulation information with a duty cycle of 200 is output, during the 2ms-3ms period, pulse width modulation information with a duty cycle of 201 is output, during the 3ms-5ms period, pulse width modulation information with a duty cycle of 200 is output again, and during the 5ms-6ms period, pulse width modulation information with a duty cycle of 201 is output, and the output is cyclically and alternately performed in this manner. Then, within a few minutes or hours, the output pulse width modulation signal of the third duty cycle is the weighted average of the pulse width modulation signal of the first duty cycle and the pulse width modulation signal of the second duty cycle. If the first preset time interval is T1 and the second preset time interval is T2, then the third duty cycle = first duty cycle * (T1 / T1+T2) + second duty cycle * (T2 / T1+T2). When TI = 2ms and T2 = 1ms, the third duty cycle is 200.33. It should be noted that the first preset time interval is not limited to 2ms and can also be set to other times; the second preset time interval is not limited to 1ms and can also be set to other times.

[0084] S2234: Use the third pulse width modulation signal with the third duty cycle as the target modulation signal.

[0085] S23: Sending the positioning optical signal to the terminal to be located according to the target modulation signal.

[0086] Specifically, the positioning light signal is derived based on the target modulation signal and is sent to the terminal to be located. Because the target adjustment signal has been flicker-suppressed and has a multi-level dimming function, the output positioning light signal better meets the user's lighting needs, helping the user achieve healthy lighting.

[0087] S3: matching the real-time tag information with preset target tag information, and when the real-time tag information matches the target tag information, receiving a reflected light signal reflected back by the terminal to be located;

[0088] In one embodiment, see Figure 6 , said S3 includes:

[0089] S31: Acquire the target tag information, wherein the target tag information includes a plurality of tag information and at least includes the real-time tag information;

[0090] Specifically, multiple pre-labeled tag information input by the user is obtained as the target tag information, such as "refrigerator", "mobile phone", "computer", "tablet" and "nursing equipment", etc. The above target tag information at least includes the real-time tag information on the terminal to be located, for example, the real-time tag information on the terminal to be located is "computer".

[0091] S32: Match the real-time tag information with each tag information in the target tag information in sequence, and output a matching result;

[0092] Specifically, the real-time tag information is matched sequentially with each tag in the target tag information. The matching results for the target tags "refrigerator," "mobile phone," "tablet," and "nursing device" are all mismatches, while the matching result for the target tag "computer" is a match. By matching the real-time tag information with the target tag information, a positioning light signal is only emitted when a match is found, thus avoiding the waste of resources caused by unnecessary light signals when a match is not found. Furthermore, the target tag information can be flexibly set by the user according to actual needs, making it more suitable for practical application scenarios and improving the user experience.

[0093] In one embodiment, see Figure 7 , the S32 includes:

[0094] S321: Preprocessing the real-time tag information and the target tag information to obtain first keyword information and second keyword information;

[0095] Specifically, the real-time tags and preset tags are preprocessed to remove stop words, normalize synonyms, and retain keywords, thereby obtaining first keyword information and second keyword information. For example, natural language processing tools in Python, such as NLTK and JIEBA, can be used to perform this preprocessing. Removing stop words and normalizing synonyms can remove noise and redundant information from the text, reducing interference and improving matching accuracy. Retaining keywords can transform the text into key information, facilitating subsequent feature representation and similarity calculation.

[0096] S322: Inputting the first keyword information and the second keyword information into a bag-of-words model to obtain a first feature vector and a second feature vector;

[0097] Specifically, the first and second keyword information are input into a bag-of-words model to generate a first feature vector and a second feature vector. The bag-of-words model is a text representation method that treats text as a bag, ignoring the order in which words appear and only considering the number of times each word appears in the text. In the bag-of-words model, text can be represented as a vector, where each dimension of the vector corresponds to a word, and the value of the dimension represents the number of times the word appears in the text. Converting text into a vector representation facilitates subsequent similarity calculations.

[0098] S323: Calculate the similarity between the first eigenvector and the second eigenvector using a cosine similarity algorithm;

[0099] Specifically, the cosine similarity algorithm is used to calculate the similarity between the first and second feature vectors. Cosine similarity is a method for calculating the similarity between two vectors and is commonly used in text similarity calculations. The principle of cosine similarity calculation is to represent two vectors as vectors in space and calculate the cosine value of the angle between them. The larger the cosine value of the angle, the closer the directions of the two vectors are and the higher the similarity. In text similarity calculations, each text can be represented as a vector, with each dimension of the vector representing a word, and the value of the vector representing the number of occurrences or weight of the word in the text. Then, the cosine similarity formula is used to calculate the similarity of the two text vectors, resulting in a value between 0 and 1 representing the similarity between the two texts, with larger values ​​indicating higher similarity. By calculating the similarity between the real-time tag and the preset tag, a matching degree is obtained, which facilitates the selection of the best matching tag.

[0100] S324: Obtain the matching result based on the similarity and a preset similarity threshold, wherein the similarity threshold is set according to an actual application scenario.

[0101] Specifically, for example, the similarity threshold is set to 0.85, and the calculated similarity between the real-time tag and the preset tag is 0.9, which is greater than 0.85, then the matching result is considered to be a match; if it is 0.7, which is less than 0.85, then it is not a match. The similarity threshold is flexibly set according to the actual application scenario. The similarity threshold is set according to specific needs to filter low-similarity tags and reduce false matches.

[0102] S33: When the matching result is that the real-time tag information matches a tag information in the target tag information, receiving a reflected light signal reflected back by the terminal to be located.

[0103] Specifically, a reflective surface is pre-set on the terminal to be located. When the matching result is that the real-time tag information matches a tag information in the target tag information, the terminal to be located will reflect the positioning light signal back. By receiving the reflected light signal reflected back by the terminal to be located, accurate real-time positioning of the indoor terminal is achieved.

[0104] S4: Positioning the terminal to be located based on the reflected light signal to obtain real-time location information of the terminal to be located.

[0105] Specifically, the reflected light signal may be subject to interference from noise, attenuation, and other factors during transmission, leading to an increased bit error rate. To improve the reliability of the reflected light signal, forward error correction (FEC) technology is used to correct errors by adding redundant information. Common FEC codes include convolutional codes and LDPC codes. The terminal to be located is located using the reflected light signal. Because the visible light emission range, i.e., the communication boundary, is very clear and immune to other radio interference, the system operates stably. Furthermore, the real-time position of the terminal to be located can be determined by measuring the sensor's luminous flux. This allows for the creation of a high-precision, clear, and stable digital beacon, enabling high-precision indoor positioning applications.

[0106] In one embodiment, see Figure 8 , said S4 includes:

[0107] S41: Determining the direction angle and light intensity of the positioning light signal based on the reflected light signal;

[0108] S42: Obtaining the real-time position information according to the direction angle and the light intensity.

[0109] Specifically, the reflected light signal emitted by the terminal to be located is obtained, and the direction angle and light intensity of the positioning light signal are further calculated based on the direction angle and light intensity of the reflected light signal. Based on the direction angle and light intensity of the positioning light signal, the real-time position information of the terminal to be located is obtained, thereby realizing visible light real-time positioning of the terminal to be located. Compared with traditional indoor wireless positioning methods, visible light real-time positioning has the advantages of being green, energy-saving and environmentally friendly, low cost, free of electromagnetic interference, high positioning accuracy and a wide range of applications.

[0110] Example 2

[0111] See Figure 9 Embodiment 2 of the present invention further provides an indoor visible light real-time positioning device based on healthy lighting, the device comprising:

[0112] The real-time tag information acquisition module is used to obtain real-time tag information on a terminal to be located in various indoor daily scenes;

[0113] A positioning light signal sending module is used to process the original light signal and send the processed light signal that meets the user's lighting requirements as a positioning light signal to the terminal to be located;

[0114] a reflected light signal receiving module, configured to match the real-time tag information with preset target tag information, and receive the reflected light signal reflected back by the terminal to be located when the real-time tag information matches the target tag information;

[0115] The real-time position acquisition module is used to locate the terminal to be located based on the reflected light signal and obtain the real-time position information of the terminal to be located.

[0116] Specifically, an embodiment of the present invention provides an indoor visible light real-time positioning device based on healthy lighting, the device comprising: a real-time tag information acquisition module for acquiring real-time tag information on a terminal to be positioned in a variety of indoor daily scenarios; a positioning light signal emission module for processing the original light signal and emitting the processed light signal that meets the user's lighting requirements as a positioning light signal to the terminal to be positioned; a reflected light signal receiving module for matching the real-time tag information with preset target tag information, and when the real-time tag information matches the target tag information, receiving the reflected light signal reflected back from the terminal to be positioned; and a real-time position acquisition module for locating the terminal to be positioned based on the reflected light signal to obtain the real-time position information of the terminal to be positioned. On the one hand, the device matches the tag information on the terminal to be positioned with the preset tag. When a match is found, the reflected light signal is used to achieve indoor positioning of the terminal to be positioned; on the other hand, while achieving indoor positioning using visible light signals, the original light signal is also processed to only emit light signals that meet the user's lighting requirements for positioning, further meeting the user's healthy lighting needs.

[0117] Example 3

[0118] In addition, combined Figure 1 The indoor visible light real-time positioning method based on healthy lighting according to the first embodiment of the present invention can be implemented by an electronic device. Figure 10 A schematic diagram of the hardware structure of an electronic device provided in Example 3 of the present invention is shown.

[0119] An electronic device may include a processor and a memory storing computer program instructions.

[0120] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0121] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In appropriate cases, the memory may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory may be inside or outside the data processing device. In a specific embodiment, the memory is a non-volatile solid-state memory. In a specific embodiment, the memory includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0122] The processor reads and executes computer program instructions stored in the memory to implement any one of the indoor visible light real-time positioning methods based on healthy lighting in the above embodiments.

[0123] In one example, the electronic device may further include a communication interface and a bus. Figure 10 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.

[0124] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.

[0125] Bus comprises hardware, software or both, couples the parts of described equipment to each other.For example, and not limitation, bus can comprise accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus can comprise one or more buses. Although the embodiment of the present invention describes and shows specific bus, the present invention considers any suitable bus or interconnection.

[0126] Example 4

[0127] In addition, in conjunction with the healthy lighting-based indoor visible light real-time positioning method in Example 1, Example 4 of the present invention may also be implemented by providing a computer-readable storage medium. The computer-readable storage medium stores computer program instructions; when executed by a processor, the computer program instructions implement any of the healthy lighting-based indoor visible light real-time positioning methods in the above-mentioned embodiments.

[0128] In summary, the embodiments of the present invention provide a method, apparatus, and device for real-time indoor visible light positioning based on healthy lighting.

[0129] It should be understood that the present invention is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted. In the above embodiments, several specific steps are described and illustrated as examples. However, the method of the present invention is not limited to the specific steps described and illustrated. Those skilled in the art may make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present invention.

[0130] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in unit, a function card or the like. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0131] It should also be noted that the exemplary embodiments described herein describe methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the steps described above. In other words, the steps may be performed in the order described in the embodiments, or in a different order, or several steps may be performed simultaneously.

[0132] The above description is only a specific embodiment of the present invention. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention.

Claims

1. An indoor positioning method with multi-level dimming of optical signals, characterized in that: The method comprises: An original encoding method of an original light signal of the illumination light source is improved and processed to obtain a first pulse width modulation signal after flicker suppression; Performing dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting multiple dimming ratios; Sending a positioning optical signal to the terminal to be located according to the target modulation signal; receiving a reflected light signal emitted by the terminal to be located, and determining the location information of the terminal to be located; The receiving the reflected light signal emitted by the terminal to be located and determining the location information of the terminal to be located includes: When transmitting the reflected light signal, forward error correction code technology is used to correct errors by adding redundant information; Acquiring a reflected light signal emitted by the terminal to be located; Calculating the direction angle and light intensity of the positioning light signal based on the direction angle and light intensity of the reflected light signal; Determining the real-time location information of the terminal to be located based on the direction angle and light intensity of the positioning light signal; The improved processing of the original encoding mode of the original light signal of the illumination light source to obtain the first pulse width modulation signal after flicker suppression includes: According to the original coding mode of the original optical signal of the illumination light source, an original line encoded according to the original coding mode is obtained; Limiting the run length of the binary code in the original line to obtain a new coding method; Encoding is performed according to the new encoding method to obtain the first pulse width modulation signal.

2. The indoor positioning method with multi-level dimming of optical signals according to claim 1, characterized in that: The dimming process is performed on the first pulse width modulation signal to obtain a target modulation signal supporting a multi-level dimming ratio, including: Obtaining a preset dimming value, and deriving a first duty cycle of the first pulse width modulation signal according to the dimming value; Determining a second pulse width modulation signal with a second duty cycle based on the first pulse width modulation signal with a first duty cycle, wherein the second duty cycle is the sum of the first duty cycle and a preset dimming increment; A third pulse width modulation signal with a third duty cycle is obtained according to the first pulse width modulation signal and the second pulse width modulation signal, and the third pulse width modulation signal is used as the target modulation signal.

3. The indoor positioning method with multi-level dimming of optical signals according to claim 2, characterized in that: The method of deriving a third pulse width modulation signal having a third duty cycle according to the first pulse width modulation signal and the second pulse width modulation signal, and using the third pulse width modulation signal as the target modulation signal, comprises: Obtaining a preset first time interval and a second time interval; Determining a weight value of the first duty cycle according to the first time interval, and determining a weight value of the second duty cycle according to the second time interval; According to the weight value of the first duty cycle and the weight value of the second duty cycle, taking a weighted average of the first duty cycle and the second duty cycle as the third duty cycle; The third pulse width modulation signal with the third duty cycle is used as the target modulation signal.

4. The indoor positioning method with multi-level dimming of optical signals according to claim 1, characterized in that: The limiting the run length of the binary code in the original line to obtain a new coding method includes: The run lengths of code 0 and code 1 of the binary code are restricted respectively.

5. The indoor positioning method with multi-level dimming of optical signals according to claim 4, characterized in that: The run lengths of the code 0 and the code 1 are respectively smaller than the corresponding run lengths in the original code so that the code 0 and the code 1 appear alternately to reduce light signal flickering.

6. An indoor positioning system with multi-level dimming of optical signals, characterized in that: The indoor positioning system comprises: A first pulse width modulation signal module is used to improve the original encoding method of the original light signal of the lighting light source to obtain a first pulse width modulation signal after flicker suppression; a multi-level dimming module, configured to perform dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting multi-level dimming ratios; A positioning signal transmitting module is used to transmit a positioning optical signal to the terminal to be located according to the target modulation signal; A positioning module, configured to receive the reflected light signal emitted by the terminal to be positioned and determine the position information of the terminal to be positioned; The receiving the reflected light signal emitted by the terminal to be located and determining the location information of the terminal to be located includes: When transmitting the reflected light signal, forward error correction code technology is used to correct errors by adding redundant information; Acquiring a reflected light signal emitted by the terminal to be located; Calculating the direction angle and light intensity of the positioning light signal based on the direction angle and light intensity of the reflected light signal; Determining the real-time location information of the terminal to be located based on the direction angle and light intensity of the positioning light signal; The improved processing of the original encoding mode of the original light signal of the illumination light source to obtain the first pulse width modulation signal after flicker suppression includes: According to the original coding mode of the original optical signal of the illumination light source, an original line encoded according to the original coding mode is obtained; Limiting the run length of the binary code in the original line to obtain a new coding method; Encoding is performed according to the new encoding method to obtain the first pulse width modulation signal.

7. The indoor positioning system according to claim 6, characterized in that: The positioning system is applied to one of the following daily indoor scenarios: commercial centers, large public buildings, high-risk industrial areas, hospitals and nursing homes.

Citation Information

Patent Citations

  • Apparatus, system and method for pulse width modulated lighting control

    CN103493590A

  • Visible light indoor terminal positioning method and visible light positioning system

    CN111551182A