CN116608858A - Indoor visible light real-time positioning method, device and equipment based on health illumination - Google Patents

Indoor visible light real-time positioning method, device and equipment based on health illumination Download PDF

Info

Publication number
CN116608858A
CN116608858A CN202310543835.0A CN202310543835A CN116608858A CN 116608858 A CN116608858 A CN 116608858A CN 202310543835 A CN202310543835 A CN 202310543835A CN 116608858 A CN116608858 A CN 116608858A
Authority
CN
China
Prior art keywords
real
tag information
time
terminal
positioning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310543835.0A
Other languages
Chinese (zh)
Other versions
CN116608858B (en
Inventor
曹小兵
李超
林金填
陈冲
卢淑芬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuyu Optoelectronics Shenzhen Co ltd
ZHONGSHAN INNOCLOUD INTELLECTUAL PROPERTY SERVICES CO LTD
Original Assignee
Xuyu Optoelectronics Shenzhen Co ltd
ZHONGSHAN INNOCLOUD INTELLECTUAL PROPERTY SERVICES CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xuyu Optoelectronics Shenzhen Co ltd, ZHONGSHAN INNOCLOUD INTELLECTUAL PROPERTY SERVICES CO LTD filed Critical Xuyu Optoelectronics Shenzhen Co ltd
Priority to CN202310543835.0A priority Critical patent/CN116608858B/en
Publication of CN116608858A publication Critical patent/CN116608858A/en
Application granted granted Critical
Publication of CN116608858B publication Critical patent/CN116608858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/16Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using electromagnetic waves other than radio waves
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Electromagnetism (AREA)
  • Optical Communication System (AREA)

Abstract

The application relates to the technical field of communication positioning, solves the problem that the indoor real-time positioning cannot be performed by utilizing visible light in the prior art, and meets the requirements of healthy illumination of a user, and provides an indoor visible light real-time positioning method, device and equipment based on healthy illumination. The method comprises the following steps: acquiring real-time tag information on a terminal to be positioned in various indoor daily scenes; processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal; matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the preset target tag information; and positioning the terminal to be positioned according to the reflected light signal to obtain real-time position information of the terminal to be positioned. The application realizes indoor positioning by utilizing the visible light signals and meets the requirements of healthy illumination of users.

Description

Indoor visible light real-time positioning method, device and equipment based on health illumination
Technical Field
The application relates to the technical field of communication positioning, in particular to an indoor visible light real-time positioning method, device and equipment based on health illumination.
Background
In the present informatization era, people have an increasing demand for their own location information, so indoor positioning becomes a hotspot. Nowadays, there are many important applications for indoor positioning in many occasions, however, GPS suitable for outdoor positioning is not suitable for indoor positioning, but the existing magnetic positioning system, infrared positioning system and WiFi positioning system cannot meet the indoor positioning requirements of high precision, low cost and low complexity. Visible Light Communication (VLC) technology using an environment-friendly and energy-saving LED as a light source is considered to be a technology with great development potential and application background, and an indoor positioning system based on visible light communication is a recent and popular research subject due to the advantages not possessed by a traditional indoor positioning method.
The research of VLC technology at present mostly uses high-speed MCU, pursues high speed and high capacity, does not consider the actual lighting requirement of users, and neglects the health of human body, on one hand, the high speed can cause the light source to flicker, and human eyes as important sensing organs can cause vision degradation and mechanism damage if the human eyes are exposed to the flickering modulated light source for a long time; on the other hand, more and more users need to use a modulated light source capable of supporting multi-stage dimming, and the light signal sent by the existing indoor positioning technology does not support multi-stage dimming, so that the existing indoor positioning technology cannot meet the actual lighting requirement of the users.
Therefore, how to meet the requirements of user health illumination while using visible light for indoor real-time positioning is a problem to be solved.
Disclosure of Invention
In view of the above, the application provides an indoor visible light real-time positioning method, device and equipment based on healthy illumination, which are used for solving the problem that the indoor real-time positioning cannot be performed by utilizing visible light and the requirement of healthy illumination of a user in the prior art is met.
The technical scheme adopted by the application is as follows:
in a first aspect, the application provides an indoor visible light real-time positioning method based on healthy illumination, which is characterized by comprising the following steps:
s1: acquiring real-time tag information on a terminal to be positioned in various indoor daily scenes;
s2: processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal;
s3: matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information;
s4: and positioning the terminal to be positioned according to the reflected light signal to obtain real-time position information of the terminal to be positioned.
Preferably, the S2 includes:
s21, carrying out improvement treatment on an original coding mode of an original optical signal to obtain a first pulse width modulation signal after flicker suppression;
s22: performing dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting a multi-level dimming ratio;
s23: and sending the positioning optical signal to the terminal to be positioned according to the target modulation signal.
Preferably, the S21 includes:
s211, acquiring the original coding mode corresponding to the original optical signal;
s212: obtaining an original line which is coded according to the original coding mode;
s213: limiting the run length of binary codes in the original line to obtain a new coding mode;
s214: and encoding according to the new encoding mode to obtain the first pulse width modulation signal.
Preferably, the S223 includes:
s2231: acquiring a preset first time interval and a preset second time interval;
s2232: according to the first time interval, a weight value of the first duty ratio is obtained, and according to the second time interval, a weight value of the second duty ratio is obtained;
s2233: taking a weighted average value of the first duty cycle and the second duty cycle as the third duty cycle according to the weight value of the first duty cycle and the weight value of the second duty cycle;
s2234: and taking the third pulse width modulation signal with the third duty ratio as the target modulation signal.
Preferably, the S3 includes:
s31: acquiring the target tag information, wherein the target tag information comprises a plurality of tag information and at least comprises the real-time tag information;
s32: sequentially matching the real-time tag information with each tag information in the target tag information, and outputting a matching result;
s33: and when the matching result is that the real-time tag information is matched with one tag information in the target tag information, receiving a reflected light signal reflected by the terminal to be positioned.
Preferably, the step S4 includes:
s41: according to the reflected light signals, a direction angle and light intensity of the positioning light signals are obtained;
s42: and obtaining the real-time position information according to the direction angle and the light intensity.
In a second aspect, the present application provides a real-time indoor visible light positioning device based on healthy illumination, the device comprising:
the real-time tag information acquisition module is used for acquiring real-time tag information of a terminal to be positioned in various indoor daily scenes;
the positioning optical signal sending module is used for processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal;
the reflected light signal receiving module is used for matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information;
and the real-time position acquisition module is used for positioning the terminal to be positioned according to the reflected light signals to obtain the real-time position information of the terminal to be positioned.
In a third aspect, an embodiment of the present application further provides an electronic device, including: at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method as in the first aspect of the embodiments described above.
In a fourth aspect, embodiments of the present application also provide a storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method as in the first aspect of the embodiments described above.
In summary, the beneficial effects of the application are as follows:
the application provides an indoor visible light real-time positioning method, device and equipment based on healthy illumination, wherein the method comprises the following steps: acquiring real-time tag information on a terminal to be positioned in various indoor daily scenes; processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal; matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information; and positioning the terminal to be positioned according to the reflected light signal to obtain real-time position information of the terminal to be positioned. On one hand, the application realizes the indoor positioning of the terminal to be positioned by utilizing the reflected light signal by matching the label information on the terminal to be positioned with the preset label when matching; on the other hand, when the indoor positioning by utilizing the visible light signals is realized, the original light signals are processed, and only the light signals meeting the illumination requirements of users are sent out for positioning, so that the requirements of healthy illumination of the users are further met.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described, and it is within the scope of the present application to obtain other drawings according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of the overall operation of the indoor visible light real-time positioning method based on healthy illumination in embodiment 1 of the present application;
FIG. 2 is a flow chart of sending out a positioning light signal in embodiment 1 of the present application;
fig. 3 is a flowchart illustrating a process of determining a first pwm signal according to embodiment 1 of the present application;
fig. 4 is a flow chart of determining a target modulation signal in embodiment 1 of the present application;
FIG. 5 is a flow chart of determining a third duty cycle in embodiment 1 of the present application;
FIG. 6 is a flow chart of receiving a reflected light signal in embodiment 1 of the present application;
fig. 7 is a schematic flow chart of matching a real-time tag with a target tag in embodiment 1 of the present application;
fig. 8 is a flowchart illustrating a process of determining real-time location information of a terminal to be located in embodiment 1 of the present application;
FIG. 9 is a block diagram of an indoor visible light real-time positioning device based on health illumination in embodiment 2 of the present application;
fig. 10 is a schematic structural diagram of an electronic device in embodiment 3 of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. In the description of the present application, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element. If not conflicting, the embodiments of the present application and the features of the embodiments may be combined with each other, which are all within the protection scope of the present application.
Example 1
Referring to fig. 1, embodiment 1 of the application discloses an indoor visible light real-time positioning method based on health illumination, which comprises the following steps:
s1: acquiring real-time tag information on a terminal to be positioned in various indoor daily scenes;
specifically, the indoor daily scene at least comprises one of the following scenes: commercial centers, large public buildings (subways, airports, libraries, etc.), high-risk industrial areas, hospitals, and nursing homes. By acquiring the real-time tag information on the terminal to be positioned in different scenes, the real-time indoor positioning of the terminal to be positioned in different scenes is realized, the diversity of positioning scenes is further illustrated, and the application range of indoor positioning is wider.
S2: processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal;
specifically, because the actual lighting requirement of the user is not considered in the research of the current indoor positioning (VLC) technology, the human health is ignored, the optimized light signal meeting the lighting requirement of the user is used as a positioning light signal by processing the original light signal, wherein the light signal meeting the lighting requirement of the user is the light signal with the flicker suppressed and supporting the multi-level dimming ratio, and the positioning light signal is sent to the terminal to be positioned, so that the interference and influence of the unsuitable light signal in the indoor positioning process of the user are avoided.
In one embodiment, referring to fig. 2, the step S2 includes:
s21, carrying out improvement treatment on an original coding mode of an original optical signal to obtain a first pulse width modulation signal after flicker suppression;
specifically, due to the high-speed MCU adopted by the existing indoor positioning technology, the flicker condition of the optical signal can occur while the high speed and the high capacity of transmission are pursued, and the first pulse width modulation signal after flicker inhibition is obtained by improving the original coding mode of the original optical signal, so that the problems of vision degradation and mechanism damage caused by long-time exposure of human eyes to a flickering modulation light source are avoided.
In one embodiment, referring to fig. 3, the step S21 includes:
s211, acquiring the original coding mode corresponding to the original optical signal;
specifically, the original coding modes are obtained, and as the optical signals are binary coded, the original coding modes are various, wherein the interval time between the 0 code and the 1 code in the coding line is also different.
S212: obtaining an original line which is coded according to the original coding mode;
s213: limiting the run length of binary codes in the original line to obtain a new coding mode;
s214: and encoding according to the new encoding mode to obtain the first pulse width modulation signal.
Specifically, by limiting the run length of the binary code in the original line, for example, the run length of the 0 code in the original coding mode is 5, that is, a 1 code appears only at intervals of 5 run lengths, and the run length of the 0 code in the original coding line is limited to 3, at this time, a 1 code appears at intervals of 3 run lengths, and similarly, the run length of the 1 code appears is limited according to the above method, a new coding mode is obtained, and a corresponding modulation signal coded according to the new coding mode is used as the first pwm signal. The coding mode is improved to reduce the long-time existence of the 0 code and the 1 code in the transmission sequence, so that the 0 code and the 1 code alternately appear to reduce flicker, and adverse effects of the flicker on physical and mental health of a human body caused by the emitted positioning light signals are avoided.
S22: performing dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting a multi-level dimming ratio;
specifically, the target modulation signal supporting the multi-level dimming ratio is obtained by performing dimming processing on the first pulse width modulation signal. Through multistage dimming, not only can the energy-saving effect be very good, but also the illumination needs of people can be met to the maximum extent.
In one embodiment, referring to fig. 4, the step S22 includes:
s221: acquiring a preset dimming value, and obtaining a first duty ratio of the first pulse width modulation signal according to the dimming value;
s222: obtaining a second pulse width modulation signal with a second duty ratio according to the first pulse width modulation signal with the first duty ratio, wherein the second duty ratio is the sum of the first duty ratio and a preset dimming increment;
specifically, according to a dimming value input by a user, determining a first duty ratio of the pulse width modulation signal; and calculating the sum of the first duty ratio and a preset dimming increment to obtain a second duty ratio of the pulse width modulation signal. 256-level dimming can be realized for the 8-bit binary pulse width modulation signal, the preset dimming increment can be set to be 1, and the dimming level is increased by one level every 1 dimming value is increased. For example: when the dimming value input by the user is 200, a pulse width modulation signal with a duty ratio of 200 and a pulse width modulation signal with a duty ratio of 201 can be generated.
S223: and obtaining a third pulse width modulation signal with a third duty ratio according to the first pulse width modulation signal and the second pulse width modulation signal, and taking the third pulse width modulation signal as the target modulation signal.
In one embodiment, referring to fig. 5, the step S223 includes:
s2231: acquiring a preset first time interval and a preset second time interval;
specifically, a preset first time interval and a second time interval are acquired, a pulse width modulation signal with a first duty ratio is output in the first preset time interval, and a pulse width modulation signal with a second duty ratio is output in the second preset time interval.
S2232: according to the first time interval, a weight value of the first duty ratio is obtained, and according to the second time interval, a weight value of the second duty ratio is obtained;
s2233: taking a weighted average value of the first duty cycle and the second duty cycle as the third duty cycle according to the weight value of the first duty cycle and the weight value of the second duty cycle;
specifically, according to the first preset time interval and the second preset time interval, respectively calculating a weight value of the first duty cycle and a weight value of the second duty cycle; and calculating a weighted average value of the first duty cycle and the second duty cycle as the third duty cycle according to the weight value of the first duty cycle and the weight value of the second duty cycle. For example: the first preset time interval may be 2ms, the second preset time interval may be 1ms, the pwm information with the duty ratio of 200 is output at 0-2ms, the pwm information with the duty ratio of 201 is output at 2ms-3ms, the pwm information with the duty ratio of 200 is output at 3ms-5ms, the pwm information with the duty ratio of 201 is output at 5ms-6ms, and the output is performed cyclically and alternately in this way. Then the output pulse width modulated signal of the third duty cycle is a weighted average of the pulse width modulated signal of the first duty cycle and the pulse width modulated signal of the second duty cycle within a period of minutes or hours, wherein if the first preset time interval is T1 and the second preset time interval is T2, the third duty cycle=first duty cycle (t1/t1+t2) +second duty cycle (t2/t1+t2), and when ti=2 ms, t2=1 ms, the third duty cycle is 200.33. It should be noted that the first preset time interval is not limited to 2ms, but may be set to other times; the second preset time interval is not limited to be set to 1ms, but may be set to other times.
S2234: and taking the third pulse width modulation signal with the third duty ratio as the target modulation signal.
S23: and sending the positioning optical signal to the terminal to be positioned according to the target modulation signal.
Specifically, according to the target modulation signal, the positioning optical signal is obtained, and the positioning optical signal is sent to the terminal to be positioned. Because the target adjustment signal is subject to flicker suppression and has a multi-stage dimming function, the output positioning light signal more accords with the illumination requirement of a user, and is beneficial to helping the user to realize healthy illumination.
S3: matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information;
in one embodiment, referring to fig. 6, the step S3 includes:
s31: acquiring the target tag information, wherein the target tag information comprises a plurality of tag information and at least comprises the real-time tag information;
specifically, a plurality of pieces of pre-labeled tag information input by a user are obtained as the target tag information, for example, a "refrigerator", "mobile phone", "computer", "tablet", a "nursing device" and the like, where the target tag information at least includes real-time tag information on a terminal to be located, for example, the real-time tag information on the terminal to be located is a "computer".
S32: sequentially matching the real-time tag information with each tag information in the target tag information, and outputting a matching result;
specifically, the real-time tag information is sequentially matched with each tag information in the target tag information, the matching results of the real-time tag information and the target tag information are not matched with the matching results of the refrigerator, the mobile phone, the tablet and the nursing equipment, and the matching results of the real-time tag information and the computer in the target tag information are matched. Through matching real-time tag information with target tag information, only send out the location light signal when the matching to avoid the unnecessary light signal that sends when not matching to lead to the fact the wasting of resources, target tag information user can set up in a flexible way according to actual demand simultaneously, laminating actual application scene more, promoted user's use experience.
In one embodiment, referring to fig. 7, the step S32 includes:
s321: preprocessing the real-time tag information and the target tag information to obtain first keyword information and second keyword information;
specifically, preprocessing a real-time label and a preset label, removing stop words, synonym normalization and the like, reserving keywords, and obtaining first keyword information and second keyword information. The preprocessing may be accomplished, for example, using natural language processing tools in Python, such as NLTK, jieba, etc. Noise and redundant information in the text can be removed by removing stop words, synonym normalization and the like, interference is reduced, matching precision is improved, keywords are reserved, the text can be converted into key information, and follow-up feature representation and similarity calculation are facilitated.
S322: inputting the first keyword information and the second keyword information into a bag-of-word model to obtain a first feature vector and a second feature vector;
specifically, inputting the first keyword information and the second keyword information into a bag-of-word model to obtain a first feature vector and a second feature vector; wherein the bag-of-words model is a text representation method which treats the text as a bag, and only the number of times each word in the text appears is considered regardless of the order in which the words appear. In the bag of words model, text may be represented as a vector, with each dimension of the vector corresponding to a word, and the value of the dimension representing the number of times the word appears in the text. By converting the text into a vector representation, subsequent similarity calculations are facilitated.
S323: calculating the similarity between the first feature vector and the second feature vector by using a cosine similarity algorithm;
specifically, calculating the similarity between the first feature vector and the second feature vector by using a cosine similarity algorithm; cosine similarity is a method for calculating the similarity of two vectors, and is commonly used for text similarity calculation. The principle of cosine similarity calculation is that two vectors are expressed as vectors in space, and the cosine value of an included angle between them is calculated. The larger the cosine value of the included angle is, the closer the directions of the two vectors are, and the higher the similarity is. In text similarity calculation, each text may be represented as a vector, each dimension of the vector representing a word, and the value of the vector representing the number of times or weight the word appears in the text. And then, calculating the similarity of the two text vectors by using a cosine similarity calculation formula to obtain a value ranging from 0 to 1, wherein the larger the value is, the higher the similarity is. And the matching degree is obtained by calculating the similarity between the real-time label and the preset label, so that the best matching label is convenient to select.
S324, obtaining the matching result according to the similarity and a preset similarity threshold, wherein the similarity threshold is set according to an actual application scene.
Specifically, for example, a similarity threshold is set to be 0.85, and if the similarity between the real-time tag and the preset tag is calculated to be 0.9 to be more than 0.85, the matching result is considered as matching; if the similarity is smaller than 0.85 and is smaller than 0.7, the similarity threshold is flexibly set according to the actual application scene, the similarity threshold is set according to specific requirements, the low-similarity labels are filtered, and mismatching is reduced.
S33: and when the matching result is that the real-time tag information is matched with one tag information in the target tag information, receiving a reflected light signal reflected by the terminal to be positioned.
Specifically, a reflecting surface is preset on the terminal to be positioned, when the matching result is that the real-time tag information is matched with one tag information in the target tag information, the terminal to be positioned can reflect the positioning light signal back, and accurate real-time positioning of the indoor terminal is realized by receiving the reflected light signal reflected back by the terminal to be positioned.
S4: and positioning the terminal to be positioned according to the reflected light signal to obtain real-time position information of the terminal to be positioned.
Specifically, the reflected optical signal may be disturbed by noise, attenuation, etc. during transmission, resulting in an increase in the bit error rate. In order to improve the reliability of the reflected light signal, a forward error correction code technology is adopted, errors are corrected by adding redundant information, a common forward error correction code comprises a convolution code and an LDPC code, the terminal to be positioned is positioned by the reflected light signal, and the visible light emitting range, namely the communication boundary, is quite clear, cannot be interfered by other radio, is stable in operation, and meanwhile, the real-time position information of the terminal to be positioned can be determined by measuring the luminous flux of a sensor, so that a high-precision clear stable digital beacon can be realized, and the high-precision indoor positioning application is realized.
In one embodiment, referring to fig. 8, the step S4 includes:
s41: according to the reflected light signals, a direction angle and light intensity of the positioning light signals are obtained;
s42: and obtaining the real-time position information according to the direction angle and the light intensity.
Specifically, the reflected light signals sent by the terminal to be positioned are obtained, the direction angle and the light intensity sent by the positioning light signals are further calculated according to the direction angle and the light intensity of the reflected light signals, and the real-time position information of the terminal to be positioned is obtained according to the direction angle and the light intensity of the positioning light signals, so that the visible light real-time positioning of the terminal to be positioned is realized, and compared with the traditional indoor wireless positioning means, the visible light real-time positioning has the advantages of being environment-friendly, energy-saving, environment-friendly, free of electromagnetic interference, high in positioning precision, wide in application field and the like.
Example 2
Referring to fig. 9, embodiment 2 of the present application further provides an indoor visible light real-time positioning device based on health illumination, the device includes:
the real-time tag information acquisition module is used for acquiring real-time tag information of a terminal to be positioned in various indoor daily scenes;
the positioning optical signal sending module is used for processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal;
the reflected light signal receiving module is used for matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information;
and the real-time position acquisition module is used for positioning the terminal to be positioned according to the reflected light signals to obtain the real-time position information of the terminal to be positioned.
Specifically, the indoor visible light real-time positioning device based on health illumination provided by the embodiment of the application comprises: the real-time tag information acquisition module is used for acquiring real-time tag information of a terminal to be positioned in various indoor daily scenes; the positioning optical signal sending module is used for processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal; the reflected light signal receiving module is used for matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information; and the real-time position acquisition module is used for positioning the terminal to be positioned according to the reflected light signals to obtain the real-time position information of the terminal to be positioned. On one hand, the device realizes indoor positioning of the terminal to be positioned by utilizing the reflected light signal by matching the tag information on the terminal to be positioned with the preset tag; on the other hand, when the indoor positioning by utilizing the visible light signals is realized, the original light signals are processed, and only the light signals meeting the illumination requirements of users are sent out for positioning, so that the requirements of healthy illumination of the users are further met.
Example 3
In addition, the real-time positioning method of indoor visible light based on health illumination of embodiment 1 of the present application described in connection with fig. 1 may be implemented by an electronic device. Fig. 10 shows a schematic hardware structure of an electronic device according to embodiment 3 of the present application.
The electronic device may include a processor and memory storing computer program instructions.
In particular, the processor may comprise a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
The memory may include mass storage for data or instructions. By way of example, and not limitation, the memory may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. The memory may include removable or non-removable (or fixed) media, where appropriate. The memory may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory is a non-volatile solid state memory. In a particular embodiment, the memory includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor reads and executes the computer program instructions stored in the memory to implement any of the real-time indoor visible light positioning methods based on healthy illumination in the above embodiments.
In one example, the electronic device may also include a communication interface and a bus. The processor, the memory, and the communication interface are connected by a bus and complete communication with each other as shown in fig. 10.
The communication interface is mainly used for realizing communication among the modules, the devices, the units and/or the equipment in the embodiment of the application.
The bus includes hardware, software, or both that couple the components of the device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. The bus may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
Example 4
In addition, in combination with the indoor visible light real-time positioning method based on health illumination in the above embodiment 1, embodiment 4 of the present application may also provide a computer readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by the processor, implement any of the health lighting based indoor visible light real-time localization methods of the above embodiments.
In summary, the embodiment of the application provides an indoor visible light real-time positioning method, device and equipment based on health illumination.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.

Claims (10)

1. An indoor visible light real-time positioning method based on healthy illumination is characterized by comprising the following steps:
s1: acquiring real-time tag information on a terminal to be positioned in various indoor daily scenes;
s2: processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal;
s3: matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information;
s4: and positioning the terminal to be positioned according to the reflected light signal to obtain real-time position information of the terminal to be positioned.
2. The real-time positioning method of indoor visible light based on healthy lighting as set forth in claim 1, wherein said S2 comprises:
s21, carrying out improvement treatment on an original coding mode of an original optical signal to obtain a first pulse width modulation signal after flicker suppression;
s22: performing dimming processing on the first pulse width modulation signal to obtain a target modulation signal supporting a multi-level dimming ratio;
s23: and sending the positioning optical signal to the terminal to be positioned according to the target modulation signal.
3. The real-time positioning method of indoor visible light based on healthy illumination of claim 2, wherein S21 comprises:
s211, acquiring the original coding mode corresponding to the original optical signal;
s212: obtaining an original line which is coded according to the original coding mode;
s213: limiting the run length of binary codes in the original line to obtain a new coding mode;
s214: and encoding according to the new encoding mode to obtain the first pulse width modulation signal.
4. The real-time positioning method of indoor visible light based on healthy lighting as set forth in claim 2, wherein said S22 includes:
s221: acquiring a preset dimming value, and obtaining a first duty ratio of the first pulse width modulation signal according to the dimming value;
s222: obtaining a second pulse width modulation signal with a second duty ratio according to the first pulse width modulation signal with the first duty ratio, wherein the second duty ratio is the sum of the first duty ratio and a preset dimming increment;
s223: and obtaining a third pulse width modulation signal with a third duty ratio according to the first pulse width modulation signal and the second pulse width modulation signal, and taking the third pulse width modulation signal as the target modulation signal.
5. The real-time localization method of indoor visible light based on healthy lighting of claim 4, wherein S223 comprises:
s2231: acquiring a preset first time interval and a preset second time interval;
s2232: according to the first time interval, a weight value of the first duty ratio is obtained, and according to the second time interval, a weight value of the second duty ratio is obtained;
s2233: taking a weighted average value of the first duty cycle and the second duty cycle as the third duty cycle according to the weight value of the first duty cycle and the weight value of the second duty cycle;
s2234: and taking the third pulse width modulation signal with the third duty ratio as the target modulation signal.
6. The real-time positioning method of indoor visible light based on healthy lighting as set forth in claim 1, wherein said S3 comprises:
s31: acquiring the target tag information, wherein the target tag information comprises a plurality of tag information and at least comprises the real-time tag information;
s32: sequentially matching the real-time tag information with each tag information in the target tag information, and outputting a matching result;
s33: and when the matching result is that the real-time tag information is matched with one tag information in the target tag information, receiving a reflected light signal reflected by the terminal to be positioned.
7. The real-time positioning method of indoor visible light based on healthy lighting as set forth in claim 1, wherein said S4 comprises:
s41: according to the reflected light signals, a direction angle and light intensity of the positioning light signals are obtained;
s42: and obtaining the real-time position information according to the direction angle and the light intensity.
8. An indoor visible light real-time positioning device based on health illumination, which is characterized by comprising:
the real-time tag information acquisition module is used for acquiring real-time tag information of a terminal to be positioned in various indoor daily scenes;
the positioning optical signal sending module is used for processing the original optical signal, and sending the processed optical signal meeting the illumination requirement of the user to the terminal to be positioned as a positioning optical signal;
the reflected light signal receiving module is used for matching the real-time tag information with preset target tag information, and receiving a reflected light signal reflected by the terminal to be positioned when the real-time tag information is matched with the target tag information;
and the real-time position acquisition module is used for positioning the terminal to be positioned according to the reflected light signals to obtain the real-time position information of the terminal to be positioned.
9. An electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of any one of claims 1-7.
10. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-7.
CN202310543835.0A 2023-05-15 2023-05-15 Indoor visible light real-time positioning method, device and equipment based on health illumination Active CN116608858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310543835.0A CN116608858B (en) 2023-05-15 2023-05-15 Indoor visible light real-time positioning method, device and equipment based on health illumination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310543835.0A CN116608858B (en) 2023-05-15 2023-05-15 Indoor visible light real-time positioning method, device and equipment based on health illumination

Publications (2)

Publication Number Publication Date
CN116608858A true CN116608858A (en) 2023-08-18
CN116608858B CN116608858B (en) 2024-09-06

Family

ID=87677488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310543835.0A Active CN116608858B (en) 2023-05-15 2023-05-15 Indoor visible light real-time positioning method, device and equipment based on health illumination

Country Status (1)

Country Link
CN (1) CN116608858B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118353526A (en) * 2024-04-12 2024-07-16 旭宇光电(深圳)股份有限公司 Exhibition information pushing method, device, equipment and medium based on visible light communication

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8699887B1 (en) * 2013-03-14 2014-04-15 Bret Rothenberg Methods and systems for encoding and decoding visible light with data and illumination capability
US20140241730A1 (en) * 2013-02-22 2014-08-28 Qualcomm Incorporated Method and apparatus for power-efficient joint dimming and visible light communication
WO2019020200A1 (en) * 2017-07-28 2019-01-31 Fundació Privada I2Cat, Internet I Innovació Digital A Catalunya Method and apparatus for accurate real-time visible light positioning
CN110798796A (en) * 2019-09-20 2020-02-14 南方科技大学 Indoor positioning method and device, computer equipment and storage medium
CN111551182A (en) * 2020-06-08 2020-08-18 中国人民解放军战略支援部队信息工程大学 Visible light indoor terminal positioning method and visible light positioning system
KR102398536B1 (en) * 2020-12-14 2022-05-16 한국광기술원 Optical modulation device based on visible light communication and method thereof, Visible light communication system
WO2023039827A1 (en) * 2021-09-17 2023-03-23 深圳大学 Optimization method based on fusion of visible light communication and visible light positioning

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140241730A1 (en) * 2013-02-22 2014-08-28 Qualcomm Incorporated Method and apparatus for power-efficient joint dimming and visible light communication
US8699887B1 (en) * 2013-03-14 2014-04-15 Bret Rothenberg Methods and systems for encoding and decoding visible light with data and illumination capability
WO2019020200A1 (en) * 2017-07-28 2019-01-31 Fundació Privada I2Cat, Internet I Innovació Digital A Catalunya Method and apparatus for accurate real-time visible light positioning
CN110798796A (en) * 2019-09-20 2020-02-14 南方科技大学 Indoor positioning method and device, computer equipment and storage medium
CN111551182A (en) * 2020-06-08 2020-08-18 中国人民解放军战略支援部队信息工程大学 Visible light indoor terminal positioning method and visible light positioning system
KR102398536B1 (en) * 2020-12-14 2022-05-16 한국광기술원 Optical modulation device based on visible light communication and method thereof, Visible light communication system
WO2023039827A1 (en) * 2021-09-17 2023-03-23 深圳大学 Optimization method based on fusion of visible light communication and visible light positioning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
娄鹏华 等: "基于室内可见光照明的位置服务系统", 光电子.激光, vol. 23, no. 12, 31 December 2012 (2012-12-31) *
汪广业 等: "一种基于LED标签法的室内可见光定位系统", 光通信研究, no. 06, 31 December 2016 (2016-12-31) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118353526A (en) * 2024-04-12 2024-07-16 旭宇光电(深圳)股份有限公司 Exhibition information pushing method, device, equipment and medium based on visible light communication

Also Published As

Publication number Publication date
CN116608858B (en) 2024-09-06

Similar Documents

Publication Publication Date Title
CN116608858B (en) Indoor visible light real-time positioning method, device and equipment based on health illumination
US8752761B2 (en) Locationing using mobile device, camera, and a light source
CN102749072B (en) Indoor positioning method, indoor positioning apparatus and indoor positioning system
CN106537816B (en) Derive method, equipment and the computer-readable medium of identifier in visible light signal
WO2019020200A1 (en) Method and apparatus for accurate real-time visible light positioning
CN111103579A (en) Visible light indoor positioning system and method based on mobile phone camera
KR102092496B1 (en) S2-PSK optical wireless communication method and apparatus
WO2005062734A2 (en) Device and method for self-aligning position reference system
CN106932770A (en) A kind of indoor locating system and method based on LED
US20170228579A1 (en) Fingerprint Image Sensor and Method for Optical Wireless Communications Using the Same
CN107835050A (en) A kind of localization method and system based on visible light communication
CN107370538A (en) Radio data transmission method, camera and system
CN107105408A (en) A kind of localization method based on visible light communication, apparatus and system
US6750790B2 (en) Data-encoding apparatus, data-encoding method, data-decoding apparatus, data-decoding method, data-transmitting apparatus, data-receiving apparatus, data storage medium and computer programs
CN107222260B (en) Visible light communication coding and code expanding method based on variable data area length
WO2020232703A1 (en) Rigid body recognition method and apparatus, and system and terminal device
CN207216659U (en) It is a kind of based on LED flat lamp the barcode encoding decoding hardware systems of EAN 13
Marcu et al. Flicker free VLC system with automatic code resynchronization using low frame rate camera
CN108801257B (en) Positioning method for indoor automatic parking
CN109586791B (en) Visible light communication method and device
CN103701527A (en) Visible light information receiving method and device
CN110531318B (en) Method for indoor positioning extension of light-emitting unit ID (identity) in visible light imaging
CN111220949A (en) Unmanned system space positioning method based on LED light source
Aswin et al. Indoor localization using visible light communication and image processing
CN211718515U (en) Visible light indoor positioning system based on mobile phone camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant