Vehicle positioning system and method based on photoelectric sensor
By using a combination technology of photoelectric sensors and shields in the vehicle positioning system, the problems of poor anti-interference ability and high positioning delay caused by vehicle positioning relying on external signal sources in the prior art are solved, and vehicle positioning with high precision, low latency and strong anti-interference ability are achieved.
Patent Information
- Application Number
- CN202510234289.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-05-06
AI Technical Summary
The existing vehicle positioning methods mainly rely on external signal sources, have poor anti-interference ability, high positioning delay rate, and are difficult to achieve real-time positioning.
A vehicle positioning system based on photoelectric sensors is adopted, by setting the main equipment on the vehicle and setting the shielding plate on the road side, the optical path signal is formed by using the optoelectronic photoelectric sensor and the positioning hole positioning on the shielding plate to achieve real-time positioning of the vehicle.
The system can effectively avoid the dependence of external signal sources, improve anti-interference ability, reduce positioning delay, and improve positioning accuracy and real-time.
Smart Images

Figure CN119936859A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle positioning, and in particular to a vehicle positioning system and method based on a photoelectric sensor. Background Art
[0002] Vehicle positioning refers to the process of obtaining the accurate position of a vehicle in space through various technical means, and tracking and monitoring its movement trajectory. Its core purpose is to determine the vehicle's position coordinates, speed, direction and other information in real time to provide support for traffic management, navigation and related applications.
[0003] In the field of intelligent manufacturing and automation, with the continuous iteration and advancement of technology, the application of precise positioning technology in various dynamic systems has become increasingly important. Especially in vehicle travel and navigation, the positioning system has become one of the core supports to ensure path planning, target identification and driving safety. Vehicle positioning is an important part of the intelligent transportation system, which can accurately determine the location and movement status of the vehicle. It is particularly critical in scenarios such as parking management, logistics transportation and unmanned driving. It not only improves operating efficiency, but also avoids traffic accidents and optimizes resource allocation, laying the foundation for the intelligence and safety of modern transportation.
[0004] However, the existing vehicle positioning methods mainly rely on external signal sources, have poor anti-interference capabilities, and the positioning delay rate is easily affected by signal delays. The delay rate is high, making it difficult to complete real-time positioning of the vehicle. Summary of the invention
[0005] In order to solve the technical problems that the vehicle positioning method in the prior art mainly relies on external signal sources, has poor anti-interference ability, and the positioning delay rate is easily affected by signal delay, has a high delay rate, and is difficult to complete real-time positioning of the vehicle, the present invention provides a vehicle positioning system and method based on photoelectric sensors.
[0006] The technical solution provided by the embodiment of the present invention is as follows:
[0007] First aspect
[0008] An embodiment of the present invention provides a vehicle positioning system based on a photoelectric sensor, the system comprising: a display, a main device fixed to the vehicle, and a shielding plate arranged on the side of the road;
[0009] The main device includes a single chip microcomputer, a power supply, and a plurality of opposite-beam photoelectric sensors, each of which is connected in parallel to form a light control circuit;
[0010] The single chip microcomputer, power supply and light control circuit are connected in series in sequence to form a positioning loop, and the display is connected in parallel to both ends of the single chip microcomputer;
[0011] The shielding plate is provided with a vehicle traveling direction positioning group, a road side position positioning group and a vehicle position positioning group, wherein the vehicle traveling direction positioning group has a plurality of numbered holes, the numbered holes are used to determine the vehicle traveling direction, the road side position positioning group is provided with a plurality of holes at different intervals, the plurality of holes at different intervals are used to mark different road side positions, and the vehicle position positioning group has a single hole, the single hole is used to mark the vehicle position;
[0012] When the vehicle enters the shielding plate position on the road side, the shielding plate is located between the transmitting end of the through-beam photoelectric sensor and the receiving end of the through-beam photoelectric sensor, and the vehicle travel direction positioning group, the road side position positioning group and the vehicle position positioning group are triggered in sequence to control the on-off of the optical path of the through-beam photoelectric sensor to form an optical path signal;
[0013] The display is connected to the single chip microcomputer to display the vehicle position and complete the vehicle positioning.
[0014] Second aspect
[0015] An embodiment of the present invention provides a vehicle positioning method based on a photoelectric sensor, which is applied to the vehicle positioning based on a photoelectric sensor in the first aspect, and the method includes:
[0016] S1: Collecting the light control circuit change signal when the shielding plate position of the vehicle enters the road side, and obtaining the first light path signal of the positioning group of the vehicle's traveling direction;
[0017] S2: responds to the light control circuit change signal;
[0018] S3: When receiving a change signal from the light control circuit, trigger the light control circuit to send a periodic signal;
[0019] S4: in response to the periodic signal, triggering the road side position positioning group to collect a second optical path signal about the road side position positioning group;
[0020] S5: In response to the periodic signal, trigger the vehicle position positioning group to collect a third optical path signal related to the vehicle position positioning group;
[0021] S6: parsing the first optical path signal, the second optical path signal and the third optical path signal through the single chip microcomputer of the main device, and outputting the corresponding vehicle driving direction, road side position and vehicle position associated with the road side position in sequence.
[0022] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0023] In the present invention, a display with a simple structure, a main device fixed to the vehicle and a shielding plate arranged on the road side are used to collect vehicle driving signals in the form of optical path signals, which can not only effectively avoid the problem of poor anti-interference ability caused by over-reliance on external signal sources for positioning, but also a vehicle travel direction positioning group with multiple numbered holes, a road side position positioning group with multiple holes at different intervals and a vehicle position positioning group with a single hole are arranged on the shielding plate. The three positioning groups are triggered in sequence, which can not only timely and automatically obtain vehicle position information and new direction information, but also timely determine the vehicle travel direction information, have strong anti-interference ability, and avoid positioning information delay caused by communication delay of external signal sources. It has higher practicality, lower delay rate, stronger anti-interference ability, and greatly improves the accuracy of vehicle positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A schematic diagram of the structure of a vehicle positioning system based on a photoelectric sensor provided by an embodiment of the present invention;
[0026] Figure 2 A structural schematic diagram of the relative position relationship between a shielding plate and a through-beam photoelectric sensor provided in an embodiment of the invention;
[0027] Figure 3 A schematic structural diagram of a shielding plate provided by an embodiment of the present invention;
[0028] Figure 4 A schematic diagram of the structure of a plurality of opposite-beam photoelectric sensors provided by an embodiment of the present invention;
[0029] Figure 5 A schematic flow chart of a vehicle positioning method based on a photoelectric sensor provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The technical solution of the present invention is described below in conjunction with the accompanying drawings.
[0031] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.
[0032] In the embodiments of the present invention, "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same.
[0033] In the embodiments of the present invention, sometimes a subscript such as W1 may be in a non-subscript form such as W1. When the difference is not emphasized, the meanings to be expressed are consistent.
[0034] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0035] Reference Manual Attached Figure 1 , shows a structural schematic diagram of a vehicle positioning system based on a photoelectric sensor provided in an embodiment of the present invention.
[0036] Reference Manual Attached Figure 2 , shows a structural schematic diagram of the relative position relationship between a shielding plate and a through-beam photoelectric sensor provided in an embodiment of the present invention.
[0037] Figure 1 The n in here represents the number of through-beam photoelectric sensors.
[0038] Reference Manual Attached Figure 3 , showing a schematic structural diagram of a shielding plate provided in an embodiment of the present invention.
[0039] like Figure 3 As shown, the shielding plate includes three groups of positioning holes, namely, a vehicle traveling direction positioning group a, a road side position positioning group c and a vehicle position positioning group b.
[0040] Reference Manual Attached Figure 4 , showing a schematic structural diagram of a plurality of opposing-beam photoelectric sensors provided in an embodiment of the present invention.
[0041] Figure 4In the above, def is a sensor array with different numbers of sensors, and d is a sensor array with 4 sensors. Each sensor has a number and is set relative to the vehicle's direction of travel. When the vehicle enters the shielding area, ad group will be on the same horizontal line, be group will be on the same horizontal line, and cf group will be on the same horizontal line. The sensors and positioning holes of the same group will form different optical path signals when they intersect. By converting the optical path signal, the vehicle's direction of travel and current position are obtained.
[0042] The embodiment of the present invention provides a vehicle positioning system based on a photoelectric sensor, the system comprising: a display, a main device fixed to the vehicle, and a shielding plate arranged on the road side.
[0043] The main device includes a single chip microcomputer, a power supply, and a plurality of opposite-beam photoelectric sensors, and each opposite-beam photoelectric sensor is connected in parallel to form a light control circuit.
[0044] The single chip microcomputer, power supply and light control circuit are connected in series in sequence to form a positioning loop, and the display is connected in parallel to both ends of the single chip microcomputer.
[0045] The shielding plate is provided with a vehicle travel direction positioning group, a road side position positioning group and a vehicle position positioning group, wherein the vehicle travel direction positioning group has a plurality of numbered hole positions, and the numbered hole positions are used to determine the vehicle travel direction; the road side position positioning group is provided with a plurality of hole positions with different intervals, and the plurality of hole positions with different intervals are used to mark different road side positions; the vehicle position positioning group has a single hole position, and the single hole position is used to mark the vehicle position.
[0046] It should be noted that the design on the shield plate realizes multi-dimensional positioning of the vehicle through three hole groups. The vehicle travel direction positioning group consists of multiple numbered holes and is used to detect the vehicle's travel direction. The road side position positioning group uses multiple holes at different intervals to mark the specific position of the vehicle on the road side. The vehicle position positioning group uses a single hole to accurately determine the specific stop position of the vehicle. The three positioning groups cooperate with each other to achieve comprehensive detection of the vehicle's position and direction, ensuring the accuracy and real-time performance of positioning.
[0047] When the vehicle enters the shielding plate position on the road side, the shielding plate is located between the transmitting end of the through-beam photoelectric sensor and the receiving end of the through-beam photoelectric sensor, triggering the vehicle travel direction positioning group, the road side position positioning group and the vehicle position positioning group in turn to control the on and off of the optical path of the through-beam photoelectric sensor to form an optical path signal.
[0048] Specifically, when the vehicle enters the area where the shielding plate is located, the shielding plate is located between the transmitting end and the receiving end of the through-beam photoelectric sensor, and different hole positions block the light path in turn. The hole positions of the vehicle travel direction positioning group, the road side position positioning group and the vehicle position positioning group are triggered in the designed order, and the light path on-off signals of the through-beam photoelectric sensor are collected to form light path signals. These signals are used to identify the vehicle's travel direction, road side position and specific stop position to accurately locate the vehicle. The light path signal uses the on-off characteristics of the photoelectric sensor to achieve vehicle positioning, and has the advantages of high accuracy, strong real-time performance and strong anti-interference ability. Compared with wireless signals, optical path signals do not rely on external communications, avoid delays and interference problems, adapt to complex environments, and ensure that the positioning results are fast, reliable and stable.
[0049] The display is connected to the single chip microcomputer to display the vehicle position and complete the vehicle positioning.
[0050] Among them, the display is used to display the vehicle's positioning information in real time. The single-chip microcomputer is used to process the optical path signal from the sensor, calculate and output the vehicle's location information. The power supply provides working power for the main device. Multiple through-beam photoelectric sensors obtain vehicle positioning information by detecting the on and off of the optical path. The light control circuit is composed of through-beam photoelectric sensors in parallel and is used for the transmission and processing of optical signals. The shielding plate (set on the road side) is a physical component installed on the edge of the road. Its function is to realize the positioning of the vehicle's driving direction, road side position and precise position through the design of the hole position and the cooperation with the photoelectric sensor.
[0051] In actual application, when a vehicle enters the area where the shield is located, the holes of the shield will sequentially block the light paths emitted and received by the photoelectric sensor, generating light path signals. These light path signals are transmitted to the microcontroller through the optical control circuit for processing, and finally the vehicle's position information is presented on the display. The shield is an external trigger device that triggers the photoelectric signal through different hole combinations. The main device collects and processes the light signal to complete data calculation and display. The display displays the processed positioning information in real time. The system collects and displays the vehicle's position and direction information through the coordinated work of the photoelectric sensor, shield and microcontroller. The shield is installed on the road side, the main device is fixed on the vehicle, and the display shows the final result to determine and display the vehicle's positioning information.
[0052] In a possible implementation, the single chip microcomputer is an embedded microcontroller.
[0053] It is understandable that embedded microcontrollers have a higher degree of integration and can efficiently process optical path signals and control system operation, while supporting peripheral device communication and improving the real-time performance and reliability of vehicle positioning systems.
[0054] Optionally, the embedded microcontroller includes but is not limited to processors of different architectures such as 8-bit, 16-bit, and 32-bit, depending on the scale and working conditions of the application scenario. Such processors are usually designed with Harvard or von Neumann architecture and integrate a variety of peripheral modules, such as communication interfaces, timers, analog-to-digital converters, etc., which can meet a variety of needs from household appliances to industrial automation control systems. This flexibility not only improves the adaptability and performance of the system, but also excels in energy consumption, stability and scalability. It is widely used in electronic measuring instruments, medical equipment, smart homes, robotics and other fields, fully reflecting the advantages of modern embedded system design. The software program of the single-chip microcomputer controller is written in C language, and the industry-wide development environment Keil C51 and Arduino's ARM system are selected as the development platform. The above system integrates a complete set of development tools, including C compiler, macro assembler, linker, library management function and powerful simulation debugger, which provides efficient and convenient support for the development and debugging of single-chip microcomputer programs.
[0055] In a possible implementation manner, the main device further includes a reset circuit.
[0056] The reset circuit is connected in series with the positioning circuit.
[0057] It should be noted that it is connected in series with the reset circuit in the positioning loop to quickly restore the initial state when an abnormality or failure occurs in the system, ensure the stability and reliability of the vehicle positioning system, and avoid positioning inaccuracy caused by signal processing errors.
[0058] In a possible implementation, the display is connected to the single-chip microcomputer via an SPI interface or a parallel communication interface.
[0059] Among them, SPI (Serial Peripheral Interface) is a synchronous serial communication protocol that transmits data in full-duplex mode. It is mainly used for high-speed communication between microcontrollers and peripheral devices (such as sensors, displays, etc.). It uses clock signals (SCLK), master-slave input (MOSI), master-slave output (MISO) and device select (CS) lines for communication. The display is connected to the microcontroller through the SPI interface or parallel communication interface to achieve efficient data transmission. The SPI interface has a fast transmission speed and occupies less resources. It is suitable for processing real-time vehicle location information. It also supports multi-device collaboration, which improves the flexibility and applicability of the system. The communication method can use a high-performance gateway that supports ModBus to ProfiNet or ProfiNet to ModBus, which can efficiently realize the seamless connection of the two communication protocols. Through this module, ModBus RTU devices (such as ammeters, temperature controllers, inverters and other terminal devices) can be easily connected to the control system based on ProfiNet.
[0060] In a possible implementation, the hole positions of the vehicle traveling direction positioning group specifically include a first hole position and a second hole position. The road side position positioning group specifically includes twenty hole positions.
[0061] It should be noted that the vehicle travel direction positioning group contains four numbered holes, which are blocked in sequence to detect the vehicle's travel direction. The road side position positioning group consists of twenty holes with different intervals, which are used to accurately mark the specific position of the vehicle on the road side. The combination of the two sets of holes can fully capture the vehicle's travel direction and position information, and achieve high-precision, multi-dimensional vehicle positioning.
[0062] In a possible implementation, the vehicle travel direction positioning group is arranged at the upper side of the shielding plate, the single hole position is arranged at the center of the shielding plate, and the road side position positioning group is arranged at the lower side of the shielding plate.
[0063] It should be noted that the shield plate optimizes the position distribution of the hole groups according to their functions. The vehicle travel direction positioning group is arranged on the upper side of the shield plate to identify the travel direction. The single hole is set in the center to mark the precise stop position of the vehicle. The road side position positioning group is located on the lower side to mark the specific position of the vehicle on the road side. Such a layout improves the orderliness and accuracy of signal acquisition, facilitates the gradual triggering of the photoelectric sensor and the multi-dimensional acquisition of vehicle positioning information.
[0064] In a possible implementation, the display is a liquid crystal display.
[0065] It is understandable that the LCD module is used to display location information and distance data in real time. The module uses a high-performance dot matrix LCD screen with a multi-pixel array that can clearly display letters, numbers and various symbols. Through the synergy of the built-in LCD controller and the dot matrix driver chip, the module is seamlessly connected to the microcontroller through the SPI or parallel communication interface. Its main advantages include high brightness, high contrast visual performance, and low power consumption. This makes the LCD module widely used in transportation logistics, medical health, and retail systems (such as supermarket cashiers). In this system, the LCD module provides users with clear and reliable location and distance information in an intuitive and convenient way, which improves the operating experience and practicality of the device.
[0066] In actual application, the optical path signals of the vehicle's direction of travel, road side position and precise stop position are collected in sequence through the cooperation of the hole group on the shielding plate and the photoelectric sensor, and are processed by the single-chip microcomputer and displayed on the LCD. The system realizes high-precision, real-time and anti-interference vehicle positioning through optical path signals. The embedded microcontroller improves the efficiency and reliability of the system, and the reset circuit and SPI interface design ensure the stability, flexibility and efficiency of the system. The overall structure is simple and practical, adaptable to complex environments, accurate positioning and low latency.
[0067] More specifically, when the vehicle continues to travel and gradually approaches the target point, i.e., the shield, the shield will gradually enter the trigger range of the optical sensor. In this process, the positioning holes at the top of the shield interact with the photoelectric sensor on the vehicle body probe. When the positioning holes of the shield enter the optical path between the transmitter and the receiver of the sensor, the transmission path of the light beam is partially or completely blocked. This blockage causes a significant change in the light intensity received by the optical receiver, which is captured in real time by the signal processing circuit and converted into an electrical signal. The generated electrical signal triggers the switch mechanism or generates a corresponding output signal, which is transmitted to the single-chip microcomputer system in the form of an array through an efficient serial port to obtain information about the vehicle's direction of travel. At the same time, the photoelectric sensor will also generate periodic signals when triggering the customized shield, which are used as clock signals to provide precise synchronization control for subsequent data acquisition logic. Under the guidance of the clock signal, the two rows of positioning holes at the bottom of the shield cooperate with the photoelectric sensor to complete the feature identification and data collection of the target point. As the vehicle approaches the customized shield further, the photoelectric sensor will gradually scan the single hole in the middle of the shield. This hole works in conjunction with the photoelectric sensor in the main body to achieve precise positioning of the target point. The entire process, from the vehicle approaching the target point to the completion of precise positioning, is run in a highly automated manner, ensuring the real-time and accuracy of the system.
[0068] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0069] The vehicle driving signal is collected in the form of an optical path signal by using a display with a simple structure, a main device fixed to the vehicle and a shielding plate arranged on the road side, which not only effectively avoids the problem of poor anti-interference ability caused by over-reliance on external signal sources for positioning, but also a vehicle travel direction positioning group with multiple numbered holes, a road side position positioning group with multiple holes at different intervals and a vehicle position positioning group with a single hole are arranged on the shielding plate. The three positioning groups are triggered in sequence, which can not only timely and automatically obtain vehicle position information and new direction information, but also timely determine the vehicle travel direction information, have strong anti-interference ability, and avoid positioning information delay caused by communication delay of external signal sources. It has higher practicality, lower delay rate, stronger anti-interference ability, and greatly improves the accuracy of vehicle positioning.
[0070] Reference Manual Attached Figure 5 , shows a schematic flow chart of a vehicle positioning method based on a photoelectric sensor provided in an embodiment of the present invention.
[0071] The present invention also provides a vehicle positioning method based on a photoelectric sensor, which is applied to the above-mentioned vehicle positioning system based on a photoelectric sensor, and the method comprises:
[0072] S1: Collect the light control circuit change signal when the shielding plate position of the vehicle enters the road side, and obtain the first light path signal of the positioning group of the vehicle's traveling direction.
[0073] It should be noted that the light control circuit collects the signal changes caused by the hole position triggering the shielding plate to generate the first light path signal. This signal reflects the order in which the holes in the vehicle's travel direction positioning group are blocked in sequence, providing a data basis for the subsequent analysis of the vehicle's travel direction.
[0074] S2: responds to the light control circuit changing signal.
[0075] Among them, the light control circuit change signal refers to the signal generated when the holes on the baffle block the light path of the opposing photoelectric sensor in sequence when the vehicle passes through the baffle, causing the on-off state of the light path in the light control circuit to change. Specifically, this signal reflects the process of the baffle holes being triggered in sequence, and is the real-time detection result of the blocking event by the light control circuit. It is used to indicate the direction of travel of the vehicle and the basis for triggering subsequent positioning steps. It should be noted that a response is made immediately after the signal change of the light control circuit is detected. This response mechanism ensures the real-time nature of the subsequent positioning process, triggers the generation of periodic signals, and provides preparation for collecting the light path signals of other positioning groups, thereby ensuring the efficient operation of the vehicle positioning process.
[0076] S3: When receiving the light control circuit change signal, trigger the light control circuit to send a periodic signal. It should be noted that after receiving the light control circuit change signal, the system generates a periodic signal through the light control circuit. This periodic signal is used as a key signal to trigger the subsequent positioning group work, and is used to coordinate the optical path signal acquisition process of the road side position positioning group and the vehicle position positioning group to ensure the sequentiality and real-time nature of the positioning process.
[0077] S4: In response to the periodic signal, trigger the road side position positioning group to collect the second optical path signal about the road side position positioning group.
[0078] It should be noted that after receiving the periodic signal, the road side position positioning group in the shielding plate is activated, and the second optical path signal is generated by collecting the optical path signals triggered by the different interval holes in the group. The second optical path signal corresponds to the specific position of the vehicle on the road side, providing important data support for the subsequent determination of the precise position and driving direction of the vehicle.
[0079] S5: In response to the periodic signal, trigger the vehicle position positioning group to collect the third optical path signal about the vehicle position positioning group.
[0080] It should be noted that after receiving the periodic signal, the system triggers the vehicle position positioning group in the shielding plate, and generates a third optical path signal by collecting the optical path on-off signal of a single hole. This signal is used to mark the precise stop position of the vehicle, and combined with the signals of other positioning groups, it provides key data for the final analysis of vehicle positioning, ensuring the accuracy and completeness of positioning.
[0081] S6: parsing the first optical path signal, the second optical path signal and the third optical path signal through the single chip microcomputer of the main device, and outputting the corresponding vehicle driving direction, road side position and vehicle position associated with the road side position in sequence.
[0082] In the actual application process, first, when the vehicle passes through the baffle, the system collects the signal of the change of the light control circuit caused by the hole position of the baffle, and generates the first light path signal to determine the driving direction of the vehicle. Subsequently, the system responds to the change signal of the light control circuit in real time to provide trigger conditions for subsequent positioning. Then, the light control circuit generates a periodic signal to coordinate the work of each positioning group. After responding to the periodic signal, the road side position positioning group is triggered in turn to collect the second light path signal to mark the specific position of the vehicle on the road side, and the vehicle position positioning group collects the third light path signal to accurately determine the vehicle's stop position. Finally, the single-chip microcomputer analyzes the three groups of light path signals, outputs the vehicle's driving direction, road side position and final vehicle position, and realizes comprehensive vehicle positioning. The whole process has the characteristics of strong real-time performance, high precision and strong anti-interference ability, ensuring that the positioning results are fast, accurate and reliable.
[0083] In a possible implementation, the first optical path signal is specifically a first array signal about the trigger sequence of the numbered hole positions. The second optical path signal is specifically a second array signal about multiple hole positions at different intervals. The third optical path signal is specifically a level signal about a single hole position, the first array signal includes two array signals corresponding to the driving directions one by one, and the second array signal includes multiple array signals corresponding to the road side positions one by one.
[0084] It should be noted that the first optical path signal is composed of an array signal generated by the trigger sequence of the numbered hole positions of the vehicle's traveling direction positioning group, which can accurately correspond to the vehicle's driving direction. The second optical path signal is an array signal generated by the trigger intervals of multiple hole positions of the road side position positioning group, marking the specific position of the vehicle on the road side. The third optical path signal is generated by the level change of a single hole position, which is used to accurately locate the vehicle's parking position. Among them, the first array signal contains two sets of data, which correspond to the possible driving directions of the vehicle. The second array signal corresponds one by one to the specific position on the road side. The three sets of signals together provide complete vehicle position and direction information to ensure the comprehensiveness and accuracy of positioning.
[0085] In a possible implementation manner, after S6, the method further includes: when the level signal is a high level signal, outputting the road side position marked by the shielding plate as the vehicle position.
[0086] It should be noted that after completing the analysis of the optical path signal, the system further determines the level state of the third optical path signal. When the level signal is high, the vehicle position is directly determined as the road side position marked by the shielding plate, and the positioning result is quickly output. This mechanism simplifies the judgment process and improves positioning efficiency and accuracy.
[0087] In actual application, the optical control circuit is used to collect the optical path signal triggered by the hole position of the shielding plate, and the optical path signals of the vehicle's travel direction, road side position and precise stop position are gradually collected through multiple positioning groups, and the single-chip microcomputer analyzes and processes them to output the positioning results. When the vehicle enters, the system determines the vehicle's travel direction, road side position and final stop position in turn by collecting the first array signal, the second array signal and the single hole position level signal, while avoiding dependence on external signal sources, effectively improving the anti-interference ability and reducing communication delay. This solution has a simple structure, high accuracy and strong real-time performance, and is suitable for vehicle positioning scenarios in complex environments.
[0088] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0089] The vehicle driving signal is collected in the form of an optical path signal by using a display with a simple structure, a main device fixed to the vehicle and a shielding plate arranged on the road side, which not only effectively avoids the problem of poor anti-interference ability caused by over-reliance on external signal sources for positioning, but also a vehicle travel direction positioning group with multiple numbered holes, a road side position positioning group with multiple holes at different intervals and a vehicle position positioning group with a single hole are arranged on the shielding plate. The three positioning groups are triggered in sequence, which can not only timely and automatically obtain vehicle position information and new direction information, but also timely determine the vehicle travel direction information, have strong anti-interference ability, and avoid positioning information delay caused by communication delay of external signal sources. It has higher practicality, lower delay rate, stronger anti-interference ability, and greatly improves the accuracy of vehicle positioning.
[0090] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0091] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0092] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage system such as a server, data center, etc. that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0093] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0094] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0095] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0096] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0097] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0098] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0099] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0100] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0101] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer system (which can be a personal computer, a server, or a network system, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0102] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0103] There are a few points to note:
[0104] (1) The drawings of the embodiments of the present invention only relate to the structures related to the embodiments of the present invention, and other structures may refer to the general design.
[0105] (2) For the sake of clarity, in the drawings used to describe the embodiments of the present invention, the thickness of the layers or regions is exaggerated or reduced, that is, these drawings are not drawn according to the actual scale. It is understood that when an element such as a layer, film, region or substrate is referred to as being "on" or "under" another element, the element may be "directly" "on" or "under" the other element or there may be intermediate elements.
[0106] (3) In the absence of conflict, the embodiments of the present invention and the features therein may be combined with each other to obtain new embodiments.
[0107] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. The protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A vehicle positioning system based on photoelectric sensors, characterized in that: It includes a display, a main device fixed to the vehicle and a shielding plate arranged on the road side; The main device includes a single chip microcomputer, a power supply, and a plurality of opposite-beam photoelectric sensors, each of which is connected in parallel to form a light control circuit; The single chip microcomputer, the power supply and the light control circuit are connected in series in sequence to form a positioning loop, and the display is connected in parallel to both ends of the single chip microcomputer; The shielding plate is provided with a vehicle travel direction positioning group, a road side position positioning group and a vehicle position positioning group, wherein the vehicle travel direction positioning group has a plurality of numbered holes, the numbered holes are used to determine the vehicle travel direction, the road side position positioning group is provided with a plurality of holes at different intervals, the plurality of holes at different intervals are used to mark different road side positions, and the vehicle position positioning group has a single hole, the single hole is used to mark the vehicle position; When the vehicle enters the shielding plate position on the road side, the shielding plate is located between the transmitting end of the through-beam photoelectric sensor and the receiving end of the through-beam photoelectric sensor, and the vehicle traveling direction positioning group, the road side position positioning group and the vehicle position positioning group are triggered in sequence to control the on-off of the optical path of the through-beam photoelectric sensor to form an optical path signal; The display is connected to the single chip microcomputer to display the position of the vehicle and complete vehicle positioning.
2. The vehicle positioning system based on photoelectric sensor according to claim 1, characterized in that: The single chip computer is an embedded microcontroller.
3. The vehicle positioning system based on photoelectric sensor according to claim 1, characterized in that: The main device also includes a reset circuit; The reset circuit is connected in series to the positioning loop.
4. The vehicle positioning system based on photoelectric sensor according to claim 1, characterized in that: The display is connected to the single chip microcomputer via an SPI interface or a parallel communication interface.
5. The vehicle positioning system based on photoelectric sensor according to claim 1, characterized in that: The hole positions of the vehicle traveling direction positioning group specifically include a first hole position and a second hole position; the road side position positioning group specifically includes twenty hole positions.
6. The vehicle positioning system based on photoelectric sensor according to claim 1, characterized in that: The vehicle traveling direction positioning group is arranged at the upper side of the shielding plate, the single hole position is arranged at the center of the shielding plate, and the road side position positioning group is arranged at the lower side of the shielding plate.
7. The vehicle positioning system based on photoelectric sensor according to claim 1, characterized in that: The display is a liquid crystal display.
8. A vehicle positioning method based on photoelectric sensor, characterized in that: A vehicle positioning system based on a photoelectric sensor as claimed in any one of claims 1 to 7, the method comprising: S1: collecting a light control circuit change signal when the shielding plate position of the vehicle enters the road side, and obtaining a first light path signal of the positioning group of the vehicle's traveling direction; S2: responding to the light control circuit change signal; S3: upon receiving the light control circuit change signal, triggering the light control circuit to send a periodic signal; S4: in response to the periodic signal, triggering the road side position positioning group to collect a second optical path signal about the road side position positioning group; S5: In response to the periodic signal, trigger the vehicle position positioning group to collect a third optical path signal about the vehicle position positioning group; S6: parsing the first optical path signal, the second optical path signal and the third optical path signal through the single chip microcomputer of the main device, and outputting the corresponding vehicle driving direction, road side position and vehicle position associated with the road side position in sequence.
9. The vehicle positioning method based on photoelectric sensor according to claim 8, characterized in that: The first optical path signal is specifically a first array signal regarding a trigger sequence of numbered hole positions; the second optical path signal is specifically a second array signal regarding multiple hole positions at different intervals; the third optical path signal is specifically a level signal regarding a single hole position, the first array signal includes two groups of array signals corresponding one-to-one to the driving directions, and the second array signal includes multiple groups of array signals corresponding one-to-one to the road side positions.
10. The vehicle positioning method based on photoelectric sensor according to claim 9, characterized in that: After S6, the method further includes: When the level signal is a high level signal, the road side position marked by the shielding plate is output as the vehicle position.