Roadside sensor, calibration method and device thereof, electronic equipment and computer readable storage medium
Through the combination of signal receiver and signal transmitter, the target signal data is used to calculate the calibration matrix, which solves the real-time and sensitivity problems of roadside sensor calibration in special environments and achieves an efficient and real-time calibration process.
Patent Information
- Application Number
- CN202410731181.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-23
AI Technical Summary
Existing roadside sensor calibration solutions are sensitive to environmental changes, especially in special environments such as light and haze, and have poor real-time performance, making it difficult to perform normal calibration under various conditions.
Using a combination device of a signal receiver and multiple signal transmitters, the calibration matrix of the roadside sensor is calculated through the target signal data and the position measurement information of the signal transmitter, thereby preventing the sensor probe from sensing the environment, thereby reducing the impact of environmental changes. Improve calibration timeliness.
It achieves efficient and real-time roadside sensor calibration under various environmental conditions, reduces sensitivity to environmental changes, and improves calibration accuracy and reliability.
Smart Images

Figure CN118534446A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to a roadside sensor and a calibration method, device, electronic device and computer-readable storage medium thereof. Background Art
[0002] As the country vigorously promotes the construction of digital infrastructure, new roadside infrastructure projects such as vehicle-road collaboration and digital twins are being implemented across the country. The service quality of roadside equipment in the vehicle-road collaboration system determines whether the entire system can operate normally, and also profoundly affects the safety factor of the intelligent transportation system based on the vehicle-road collaboration system. Among them, the position perception accuracy of roadside sensors plays a pivotal role in the service quality of roadside equipment.
[0003] At present, the existing calibration schemes for roadside sensors have many limitations. For example, the calibration of cameras needs to be carried out in a well-lit environment, and the LiDAR and millimeter-wave radar need to be carried out during the day without haze. It can be seen that roadside equipment can only calibrate roadside sensors under specific conditions, which is more sensitive to environmental changes, and the real-time performance of roadside sensor calibration is poor. Summary of the invention
[0004] The embodiments of the present application provide a roadside sensor and a calibration method, device, electronic device and computer-readable storage medium thereof, so as to implement the calibration of the roadside sensor based on target signal data rather than the perception data of the roadside sensor, reduce the sensitivity of the roadside sensor to environmental changes in the calibration scenario, and make the calibration of the roadside sensor more real-time.
[0005] The present application embodiment adopts the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a roadside sensor calibration method, wherein the roadside sensor includes a sensor body and a calibration matching device, wherein the calibration matching device includes a signal receiver and a plurality of signal transmitters, wherein the signal receiver is disposed on the sensor body, and the plurality of signal transmitters are distributed at different positions within a monitoring range of the sensor body, and the roadside sensor calibration method includes:
[0007] Acquire target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor;
[0008] Acquiring position measurement information of multiple signal transmitters of the roadside sensor;
[0009] Acquire position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information;
[0010] A calibration matrix of the roadside sensor is obtained according to the position calculation information and the position measurement information of the multiple signal transmitters.
[0011] In a second aspect, an embodiment of the present application further provides a roadside sensor calibration device, wherein the roadside sensor comprises a sensor body and a calibration matching device, wherein the calibration matching device comprises a signal receiver and a plurality of signal transmitters, wherein the signal receiver is arranged on the sensor body, and the plurality of signal transmitters are distributed at different positions within the monitoring range of the sensor body, and the roadside sensor calibration device comprises:
[0012] A signal acquisition unit, used to acquire target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor;
[0013] A position acquisition unit, used to acquire position measurement information of multiple signal transmitters of the roadside sensor;
[0014] A position calculation unit, configured to obtain position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information;
[0015] A calibration calculation unit is used to obtain a calibration matrix of the roadside sensor according to the position calculation information and position measurement information of the multiple signal transmitters.
[0016] In the third aspect, an embodiment of the present application also provides a roadside sensor, which includes a sensor body and a calibration coordination device, wherein the calibration coordination device includes a signal receiver and multiple signal transmitters, wherein the signal receiver is arranged on the sensor body, and the multiple signal transmitters are distributed at different positions within the monitoring range of the sensor body.
[0017] In a fourth aspect, an embodiment of the present application further provides an electronic device, including:
[0018] A processor; and a memory arranged to store computer executable instructions, which, when executed, cause the processor to perform the aforementioned roadside sensor calibration method.
[0019] In a fifth aspect, an embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes the aforementioned roadside sensor calibration method.
[0020] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0021] The embodiment of the present application uses the improved roadside sensor as the object of roadside equipment calibration. A signal receiver is added to the sensor body of the roadside sensor, and multiple signal transmitters are designed for the signal receiver. Each signal transmitter transmits a signal to the signal receiver respectively. The roadside equipment can calculate the calibration matrix of the roadside sensor according to the target signal data of the roadside sensor and the position measurement information of the signal transmitter. The entire calibration process does not require the sensor probe to perceive the environment, so it can avoid the adverse effects of special environments such as light and haze on the calibration of the roadside sensor, thereby reducing the sensitivity of the roadside sensor to environmental changes in the calibration scenario and improving the calibration effectiveness of the roadside sensor. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0023] Figure 1 This is a schematic diagram of the structure of a roadside sensor in an embodiment of the present application;
[0024] Figure 2 This is a schematic diagram of signal transmission in a roadside sensor traffic scenario in an embodiment of the present application;
[0025] Figure 3 This is a schematic diagram of a roadside sensor calibration method flow in an embodiment of the present application;
[0026] Figure 4 This is a structural block diagram of a roadside sensor calibration device in an embodiment of the present application;
[0027] Figure 5 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0029] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0030] The embodiments of the present application provide a roadside sensor calibration method. The following embodiments of the present application use roadside equipment as the execution subject of the roadside sensor calibration method for example. It can be understood that the execution subject of the embodiments of the present application may also be other devices or systems, such as a roadside unit, a roadside edge computing system or a chip system, the chip system includes at least one processor, and a communication interface or a memory, wherein the memory is used to store programs or instructions, and the communication interface is used to provide the processor with information or data input and output functions. Alternatively, the execution subject of the roadside sensor calibration method of the embodiments of the present application may also be the cloud. The execution subject in the embodiments of the present application may be software or hardware, and different execution steps may be centralized or distributed.
[0031] To facilitate understanding of the following embodiments of the present application, the roadside sensor of the embodiments of the present application is first described.
[0032] like Figure 1 As shown, the roadside sensor of the embodiment of the present application includes a sensor body and a calibration matching device. In some scenarios, the sensor body is installed on a roadside pole, and the roadside pole includes, for example, a roadside horizontal pole, a roadside vertical pole, a signal lamp post, etc. In practical applications, the sensor body can also be installed on the wall of a building. The sensor body is used to perceive the traffic environment, such as target detection of traffic participants, lane detection of drivable areas in the traffic environment, etc. The sensor body of the embodiment of the present application can be a camera, a laser radar, a millimeter wave radar, etc.
[0033] The calibration coordination device of the embodiment of the present application is used to provide the target signal data required for calibration for the roadside equipment, where the target signal data includes the signal transmission time of each signal transmitter and the signal reception time of each signal transmitter by the signal receiver.
[0034] Specifically, the calibration coordination device includes a signal receiver and multiple signal transmitters, and the multiple signal transmitters are distributed at different positions within the monitoring range of the roadside sensor. When selecting the installation position of the signal transmitter, an open area without obstruction and interference (such as echo interference, wind noise interference, etc.) should be selected to ensure accurate reception and recognition of the signal. Usually, at least three signal transmitters are required to provide sufficient information to determine the spatial position information of the sensor probe in the world coordinate system.
[0035] In practical applications, the target signal is preferably a sound wave signal, but it can also be an electromagnetic wave signal. When the target signal is a sound wave signal, the signal receiver corresponds to a sound wave receiver, and the signal transmitter corresponds to a sound wave transmitter. When the target signal is an electromagnetic wave signal, an electromagnetic wave band that is not easily disturbed by the traffic environment and is easy to receive and identify can be selected. Accordingly, the signal receiver corresponds to an electromagnetic wave receiver, and the signal transmitter corresponds to an electromagnetic wave transmitter.
[0036] In one embodiment, the multiple signal transmitters transmit the target signal in sequence, that is, after one signal transmitter completes signal transmission, another signal transmitter transmits the signal again until all signal transmitters complete signal transmission, so as to avoid mutual interference of signals and affect the accurate reception and identification of signals by the signal receiver.
[0037] Combination Figure 2 As shown, the signal transmitter in the embodiment of the present application is arranged according to the actual situation, for example, it can be independently set at the edge of the road or the road isolation zone within the monitoring range of the roadside sensor, such as Figure 2 The signal transmitter 1 and the signal transmitter 5 are installed at the edge of the road, and the signal transmitter 3 and the signal transmitter 4 are installed in the road isolation zone area; the signal transmitter can also be installed on a specific target object, such as the signal transmitter 2 installed on a road marking pole.
[0038] For a signal transmitter independently set at the edge of a road or in a road isolation zone, the bracket of the signal transmitter is placed at the edge of a road, a road isolation zone or a green belt. The bracket includes, for example, a support rod and a base. The support rod can be raised and lowered and rotated relative to the base. The signal transmitter is aligned with the direction of the signal receiver by rotating the support rod, and then the support rod is raised and lowered to prevent green plants or other obstacles from blocking the signal.
[0039] For a signal transmitter mounted on a specific target object, the signal transmitter may be mounted on the specific target object via a rotatable bracket. The specific target object may be, for example, Figure 2 The road marking vertical pole shown, the specific target object can also be a building wall within the monitoring range of the sensor body.
[0040] After the signal transmitter is installed and deployed in the road environment, the installation location information of each signal transmitter should be obtained. In some scenarios, if the signal transmitter includes a positioning module, the signal transmitter's own positioning module can send its own installation location information to the roadside equipment through a wireless communication protocol; if the signal transmitter does not include a positioning module, when the signal transmitter is installed, the installation location information of the signal transmitter is obtained through a portable positioning device (such as a handheld RTK device) and provided to the roadside equipment.
[0041] It should be noted that different roadside sensors can share the same signal transmitter, for example Figure 2 In the illustrated scenario, signal transmitter 3 and signal transmitter 4 can be shared by cameras Cam1 and Cam3 on the crossbar.
[0042] Based on this, after completing the installation and deployment of the signal transmitter in the road environment, the signal transmitter corresponding to each signal receiver should also be obtained.
[0043] In some embodiments, the signal transmitter corresponding to each signal receiver can be determined by testing means, for example, by controlling each signal transmitter to transmit signals in various traffic environments in turn, judging which signal receivers can receive the signals, and treating all signal receivers that can receive and identify the signals transmitted by signal transmitter A as signal receivers corresponding to signal transmitter A.
[0044] The signal receiver is arranged on the sensor body, receives the signal and generates target signal data, wherein the target signal data includes the signal transmitter identification corresponding to the target signal, the reception time of the target signal, etc., and sends the target signal data to the roadside equipment.
[0045] In order to obtain the relative posture of the signal receiver and the sensor probe, the present embodiment can set installation points on the sensor body to position and install the signal receiver, and adjust the orientation of the signal receiver with the aid of an adjustable bracket. The orientation relationship between the signal receiver and the sensor probe can be obtained through the adjustable bracket. For example, the adjustable bracket has a scale indicating component, and the angle of the signal receiver relative to the sensor probe can be obtained through the scale indicating component.
[0046] Preferably, the signal receiver can be arranged on the side of the sensor probe, for example, directly above, directly below, directly to the left or directly to the right of the sensor probe, and the orientation of the signal receiver is arranged to be the same as that of the sensor probe. In this case, the position offset and angle offset between the signal receiver and the sensor probe are both small, and the relative posture between the signal receiver and the sensor probe has little effect on the calibration result. Therefore, during the calibration calculation process, the relative posture between the two may not be used to compensate for the relevant position data involved in the intermediate process, which can reduce the calibration calculation complexity of the roadside equipment.
[0047] It should be noted that, based on cost considerations and the fact that the number of signal receivers has approximately the same impact on the final calibration result, the embodiment of the present application sets a signal receiver on the sensor body. In practical applications, those skilled in the art can flexibly set the number of signal receivers. Based on the above embodiments, it can be seen that compared to the roadside sensors in the prior art, the implementation of the present application improves the structure of the roadside sensors by adding a calibration matching device, so that the roadside equipment calibrates the roadside sensors based on the target signal data rather than the perception data of the roadside sensors, thereby reducing the sensitivity of the roadside sensors to environmental changes in the calibration scenario, and making the calibration of the roadside sensors more real-time.
[0048] like Figure 3 As shown, a flow chart of a roadside sensor calibration method in an embodiment of the present application is provided, wherein the roadside sensor is the roadside sensor described above with a calibration cooperation device added thereto, and comprises a signal receiver and a plurality of signal transmitters, wherein the signal receiver is arranged on the roadside sensor, and the plurality of signal transmitters are distributed at different positions within the monitoring range of the roadside sensor, and the method comprises at least the following steps S310 to S350:
[0049] Step S310 , acquiring target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor.
[0050] The roadside sensor of the embodiment of the present application is a camera, a laser radar or a millimeter wave radar. When the roadside sensor needs to be calibrated, the roadside device of the embodiment of the present application first obtains the target signal data corresponding to the roadside sensor through the signal receiver and multiple signal transmitters of the roadside sensor, where the target signal data includes the signal transmission time of each signal transmitter and the signal reception time of each signal transmitter by the signal receiver.
[0051] In actual application scenarios, the roadside equipment can be triggered to execute the roadside sensor calibration method based on the set calibration strategy. The set calibration strategy includes, for example, a periodic calibration strategy example, a calibration strategy example based on specific events, etc. Periodic detection can be understood as calibrating the roadside sensor according to the set calibration cycle. Specific events include, for example, calibration instructions received by the roadside equipment, and events such as the roadside equipment judging that the current calibration parameters of the roadside sensor are not accurate enough.
[0052] Step S320: Acquire position measurement information of multiple signal transmitters of the roadside sensor.
[0053] The roadside device can obtain the position measurement information of each signal transmitter through the installation position information sent by each signal transmitter. For example, the signal transmitter obtains its own installation position information through its own positioning module and sends it to the roadside device through the wireless communication module.
[0054] The roadside device can also obtain the position measurement information of each signal transmitter through a designated storage location, where the position information of each signal transmitter is pre-stored. The designated storage location can be a local storage area of the roadside device or a cloud storage area. For example, when the signal transmitter itself does not have a positioning function, the installation position information of the signal transmitter can be measured by a handheld RTK device, and the measured installation position information can be stored in the above-mentioned designated storage location.
[0055] It is worth noting that the installation position of the signal transmitter is fixed. When the sensor body and the signal receiver are slightly shaken or vibrated due to wind or the passing of heavy vehicles, the signal transmitter is not prone to shaking and vibrating. Therefore, the installation position information of the signal transmitter has high reliability and accuracy.
[0056] The position measurement information of the signal transmitter refers to the three-dimensional coordinates of the signal transmitter in the world coordinate system obtained based on the installation position information of the signal transmitter. During the calibration calculation process, the position measurement information is used as the real spatial position of the signal transmitter.
[0057] In actual application scenarios, the installation location information is generally expressed in the form of longitude and latitude. Longitude and latitude is a geographic coordinate system that determines the location based on the intersection of longitude and latitude on the earth's surface. In sensor calibration scenarios, it is usually calibrated based on the world coordinate system. The world coordinate system is a three-dimensional coordinate system represented by three axes, namely the x-axis, y-axis, and z-axis. Each point in the world coordinate system has a unique three-dimensional coordinate, which can be expressed in the form of (x, y, z).
[0058] After obtaining the latitude, longitude and height information of the signal transmitter, the three-dimensional coordinates of each signal transmitter in the world coordinate system can be obtained through coordinate system conversion. The coordinate system conversion scheme between the world coordinate system and the geographic coordinate system can be implemented by those skilled in the art in combination with the prior art, and the embodiments of this application will not be repeated here.
[0059] It should be noted that the embodiment of the present application does not limit the execution order of step S310 and step S320. In other implementation schemes, step S320 may be executed first, and then step S310; or steps S310 and S320 may be executed simultaneously.
[0060] Step S330: Acquire position calculation information of the multiple signal transmitters according to the target signal data and the position measurement information.
[0061] The position calculation information of the signal transmitter refers to the spatial position of the signal transmitter relative to the sensor probe. The position calculation information of the signal transmitter can be understood as the three-dimensional coordinates of the signal transmitter in the sensor coordinate system.
[0062] The sensor coordinate system specifically refers to the camera coordinate system, laser radar coordinate system, millimeter wave radar coordinate system, etc. The camera coordinate system is a three-dimensional coordinate system with the lens focus center as the origin and the optical axis as the z-axis. The laser radar coordinate system (or millimeter wave radar coordinate system) is related to its type and installation method. Generally speaking, its origin is located at the intersection of the multi-beam rotation axis, and the z-axis is upward along the axis. The laser radar is set on the carrier. Through the external parameters of the coordinate system and the carrier posture, the world coordinate system of the laser point can be obtained.
[0063] It is worth noting that since the embodiments of the present application involve multiple coordinate systems, in order to facilitate understanding of which coordinate system various position information is relative to, the embodiments of the present application record the position information based on the world coordinate system as position measurement information, such as the position measurement information of the signal transmitter, the position measurement information of the signal receiver, and the position measurement information of the sensor probe; and record the position information based on the sensor coordinate system as position calculation information, such as the position calculation information of the signal transmitter.
[0064] Step S340: Acquire a calibration matrix of the target sensor according to the position calculation information and position measurement information of the multiple signal transmitters.
[0065] Through the above steps, each signal transmitter corresponds to position measurement information and position calculation information, wherein the position measurement information indicates the three-dimensional coordinates of the signal transmitter in the world coordinate system, representing the real spatial position of the signal transmitter; and the position calculation information indicates the three-dimensional coordinates of the signal transmitter in the sensor coordinate system, representing the sensor probe's perception of the spatial position of the signal transmitter.
[0066] Therefore, a first point set can be constructed based on the position measurement information of multiple signal transmitters, and a second point set can be constructed based on the position calculation information of multiple signal transmitters. The first point set corresponds to the position points in the second point set one by one.
[0067] In this case, this embodiment can perform point registration processing on the first point set and the second point set through the ICP algorithm or other data registration algorithms. According to the point registration results, the rotation and translation matrix between the sensor coordinate system and the world coordinate system can be obtained. The rotation and translation matrix is the calibration matrix of the roadside sensor.
[0068] It is worth noting that when the roadside sensor is a camera, the calibration matrix corresponds to the external parameters of the camera; when the roadside sensor is a lidar or a millimeter-wave radar, the calibration matrix corresponds to the external parameters of the coordinate system of the lidar or millimeter-wave radar.
[0069] In an embodiment of the present application, after obtaining the calibration matrix of each roadside sensor, a joint calibration matrix between roadside sensors can also be obtained. The calculation principle of the joint calibration matrix is basically the same as the calculation principle of the calibration matrix of a single roadside sensor, and the embodiment of the present application will not go into details.
[0070] like Figure 3 It can be seen from the roadside sensor calibration method shown that the embodiment of the present application takes the improved roadside sensor as the object of roadside equipment calibration, a signal receiver is added to the sensor body of the roadside sensor, and multiple signal transmitters are designed for the signal receiver, each signal transmitter transmits a signal to the signal receiver respectively, and the roadside equipment can calculate the calibration matrix of the roadside sensor according to the target signal data of the roadside sensor and the position measurement information of the signal transmitter. The entire calibration process does not require the sensor probe to perceive the environment, so it can avoid the adverse effects of special environments such as light, haze, etc. on the calibration of the roadside sensor, thereby reducing the sensitivity of the roadside sensor to environmental changes in the calibration scenario and improving the calibration effectiveness of the roadside sensor.
[0071] In some embodiments of the present application, obtaining target signal data of the roadside sensor in the above step S310 specifically includes:
[0072] Controlling each signal transmitter of the roadside sensor to transmit signals in sequence;
[0073] The signal transmission time of each signal transmitter of the roadside sensor and the signal reception time of each signal transmitter by the signal receiver are received.
[0074] Each signal transmitter transmits signals in turn to ensure that the signal receiver can accurately receive the target signal of each signal transmitter, thereby avoiding mutual interference between the target signals and affecting the accurate reception and identification of the target signal by the signal receiver.
[0075] When transmitting the target signal, the signal transmitter can also process the target signal through signal processing technology to improve the recognition accuracy and anti-interference ability of the target signal. The specific signal processing scheme can be implemented by technical personnel in this field in combination with the existing technology, and this application will not go into details.
[0076] In actual application scenarios, the signal transmitter and signal receiver can also be calibrated before calibration to ensure that their performance is in the best state. For example, the signal transmission frequency, transmission power, etc. of the signal transmitter and signal receiver can be adjusted to ensure calibration accuracy and reliability.
[0077] In some embodiments of the present application, obtaining the position calculation information of the multiple signal transmitters according to the target signal data and the position measurement information in the above step S330 specifically includes:
[0078] Acquire position measurement information of the sensor probe according to the target signal data and the position measurement information;
[0079] Acquire the relative position between each signal transmitter and the sensor probe according to the position measurement information of the sensor probe and the position measurement information of each signal transmitter;
[0080] The position calculation information of each signal transmitter is obtained according to the relative position.
[0081] The position calculation information of the signal transmitter in the embodiment of the present application indicates the spatial position of the signal transmitter in the sensor coordinate system. Therefore, it is necessary to first calculate the position measurement information of the sensor probe to obtain the relative position between the signal transmitter and the sensor probe based on the position measurement information of the sensor probe.
[0082] In some implementation schemes of this embodiment, obtaining the position measurement information of the sensor probe according to the target signal data and the position measurement information specifically includes:
[0083] According to the signal transmission time and signal reception time of each signal transmitter, the relative distance between each signal transmitter and the signal receiver is obtained;
[0084] Acquire the position measurement information of the signal receiver according to the relative distance between each signal transmitter and the signal receiver and the position measurement information of each signal transmitter;
[0085] Acquire a position calculation strategy corresponding to the roadside sensor, wherein the position calculation strategy includes a position equivalence strategy and a position compensation strategy;
[0086] The position measurement information of the sensor probe is acquired according to the position calculation strategy and the position measurement information of the signal receiver.
[0087] For example, suppose that in the world coordinate system, the three-dimensional coordinates (x i ,y i , z i) represents the position measurement information of signal transmitter i, i is the label of the signal transmitter, and the position measurement information of the signal receiver is represented by three-dimensional coordinates (x, y, z).
[0088] According to the transmission time t1 and reception time t2 of each target signal, the propagation time t of each target signal can be calculated, t = t2-t1, then according to the distance time speed formula d i =v*t to calculate the relative distance d between the signal transmitter i and the signal receiver i .
[0089] In this way, we can establish i sets of equations based on the distance formula between two points:
[0090] (x-x1) 2 +(y-y1) 2 +(z-z1) 2 =d1 2
[0091] (x-x2) 2 +(y-y2) 2 +(z-z2) 2 =d2 2
[0092] (xx i ) 2 +(yy i ) 2 +(zz i ) 2 =d i 2
[0093] By solving the above equations, the three-dimensional coordinates (x, y, z) of the signal receiver in the world coordinate system can be obtained. The three-dimensional coordinates of the signal receiver in the world coordinate system are (x, y, z), which is the position measurement information of the signal receiver.
[0094] It should be noted that the target signal of this embodiment is propagated in the air medium, and its propagation speed is related to the propagation medium. For example, under normal circumstances, the propagation speed of the sound wave signal in the air is 340m / s. The propagation speed of the sound wave signal is affected by the properties, temperature, pressure and composition of the medium. In the roadside traffic scene, environmental parameters such as air temperature, air humidity, and wind speed have a certain influence on the propagation speed of the sound wave signal. Based on this, when calculating the relative distance between the signal transmitter and the signal receiver, the roadside equipment of this embodiment can also obtain environmental parameters such as air temperature, air humidity, and wind speed, and correct the relative distance based on the environmental parameters. For example, a corresponding relationship between the environmental parameters and the propagation speed v of the target signal is constructed based on the test data, and the propagation speed v corresponding to the real-time environmental parameters during the propagation of the target signal can be obtained according to the corresponding relationship.
[0095] After obtaining the position measurement information of the signal receiver, it is necessary to perform corresponding calculation processing on the position measurement information of the signal receiver through the position calculation strategy corresponding to the roadside sensor to obtain the position measurement information of the sensor probe.
[0096] In this embodiment, according to the relative posture relationship between the signal receiver and the sensor probe, the position calculation strategy includes a position equivalence strategy and a position compensation strategy. That is, according to the relative posture between the signal receiver and the sensor probe, it can be determined whether the roadside sensor corresponds to the position equivalence strategy or the position compensation strategy.
[0097] When the relative posture between the signal receiver and the sensor probe is less than a preset posture threshold, the position calculation strategy corresponding to the roadside sensor is determined to be a position equivalence strategy; when the relative posture between the signal receiver and the sensor probe is not less than the preset posture threshold, the position calculation strategy corresponding to the roadside sensor is determined to be a position compensation strategy.
[0098] The relative posture between the signal receiver and the sensor probe is less than the preset posture threshold, which can be understood as the position offset of the signal receiver relative to the sensor probe is less than the preset position offset threshold, and the angle offset of the signal receiver relative to the sensor probe is less than the preset angle offset threshold.
[0099] Correspondingly, the relative posture between the signal receiver and the sensor probe is not less than the preset posture threshold, which can be understood as the position offset of the signal receiver relative to the sensor probe is not less than the preset position offset threshold, and the angle offset of the signal receiver relative to the sensor probe is not less than the preset angle offset threshold.
[0100] The preset position offset threshold and the preset angle offset threshold can be designed based on experience.
[0101] In this embodiment, the roadside equipment can obtain the relative posture between the signal receiver and the sensor probe through a designated storage location, and the designated storage location also stores the relative posture between each signal receiver and the sensor probe.
[0102] When the position calculation strategy corresponding to the roadside sensor is the position equivalence strategy, the relative position between the signal receiver and the sensor probe has little effect on the calibration result. At this time, the position measurement information of the signal receiver can be directly used as the position measurement information of the sensor probe;
[0103] When the position calculation strategy corresponding to the roadside sensor is the position compensation strategy, the relative posture between the signal receiver and the sensor probe has a greater impact on the calibration result. At this time, the position measurement information of the signal receiver is position compensated according to the relative posture between the signal receiver and the sensor probe, and the position compensation result is used as the position measurement information of the sensor probe.
[0104] In this way, the position measurement information of the sensor probe can be acquired through the above embodiment.
[0105] In this embodiment, the relative position between the signal transmitter and the sensor probe refers to the up-down, front-back, left-right position relationship between the two in space, which can be determined based on the coordinate relationship between the two, for example, the relative position between the signal transmitter and the sensor probe is obtained based on the coordinate difference between the two on each coordinate axis.
[0106] After obtaining the relative position between each signal transmitter and the sensor probe, the position measurement information of each signal transmitter is compensated according to the relative position, and the position calculation information of the signal receiver can be calculated, and the three-dimensional coordinates of each signal receiver in the sensor coordinate system can be obtained.
[0107] In some embodiments of the present application, the step S340 of acquiring the calibration matrix of the roadside sensor according to the position calculation information and the position measurement information of the plurality of signal transmitters specifically includes:
[0108] Acquire a first point set through position calculation information of multiple signal transmitters, and acquire a second point set through position measurement information of multiple signal transmitters;
[0109] An ICP algorithm is used to perform point registration calculation on the first point set and the second point set, and a calibration matrix of the roadside sensor is obtained according to the calculation result.
[0110] For example, the first point set P and the second point set Q each include 3 points, where P = {p1, p2, p3},
[0111] Q={q1,q2,q3}; the rotation matrix R and translation vector t between the first point set P and the second point set Q can be calculated by the following steps.
[0112] Step 1: Initial rough registration
[0113] In the initial stage, it can be assumed that the initial transformation matrix is the identity matrix, that is, there is no initial transformation.
[0114] Step 2: Find the closest point
[0115] Since the number of points in P and Q is the same and the point pairs correspond one to one, we can directly match: {(p1,q1), (p2,q2), (p3,q3)}.
[0116] Step 3: Calculate the centroid
[0117] Calculate the centroid of the first point set P and the second point set Q: For example, according to the formula Calculate the centroid μ of the first point set P p and the centroid μ of the second point set Q Q .
[0118] Step 4: Decentralization
[0119] Based on the centroid μ of the first point set P p Decentralize the three points in the first point set P to obtain the decentralized P'; based on the centroid μ of the second point set Q Q Decentralize the three points in the second point set Q to obtain decentralized Q'.
[0120] Step 5: Calculate the covariance matrix
[0121] According to the formula Calculate the covariance matrix S between the decentralized first point set P' and the second point set Q'.
[0122] Step 6: Singular Value Decomposition
[0123] According to the formula U,∑,V T =SVD(S) performs singular value decomposition on the covariance matrix S.
[0124] Step 7: Calculate the rotation matrix R and translation vector t.
[0125] According to the formula The rotation matrix R and translation vector t are calculated.
[0126] The present application also provides a roadside sensor calibration device 400, such as Figure 4As shown, a schematic diagram of the structure of a roadside sensor calibration device in an embodiment of the present application is provided, wherein the device 400 includes: a signal acquisition unit 410, a position acquisition unit 420, a position calculation unit 430 and a calibration calculation unit 440, wherein:
[0127] A signal acquisition unit 410 is used to acquire target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor;
[0128] A position acquisition unit 420, configured to acquire position measurement information of a plurality of signal transmitters of the roadside sensor;
[0129] A position calculation unit 430, configured to obtain position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information;
[0130] The calibration calculation unit 440 is used to obtain a calibration matrix of the roadside sensor according to the position calculation information and position measurement information of the multiple signal transmitters.
[0131] In some embodiments of the present application, the signal acquisition unit 410 is specifically used to control each signal transmitter of the roadside sensor to transmit signals in sequence; receive the signal transmission time of each signal transmitter of the roadside sensor and the signal reception time of each signal transmitter by the signal receiver.
[0132] In some embodiments of the present application, the position calculation unit 430 includes a first calculation module, a second calculation module, and a third calculation module;
[0133] A first calculation module, used for acquiring position measurement information of the sensor probe according to the target signal data and the position measurement information;
[0134] A second calculation module, used for obtaining the relative position between each signal transmitter and the sensor probe according to the position measurement information of the sensor probe and the position measurement information of each signal transmitter;
[0135] The third calculation module is used to obtain the position calculation information of each signal transmitter according to the relative position.
[0136] In some embodiments of the present application, the first calculation module is specifically used to obtain the relative distance between each signal transmitter and the signal receiver based on the signal transmission time and the signal reception time of each signal transmitter; obtain the position measurement information of the signal receiver based on the relative distance between each signal transmitter and the signal receiver and the position measurement information of each signal transmitter; obtain the position calculation strategy corresponding to the roadside sensor, the position calculation strategy including a position equivalence strategy and a position compensation strategy; obtain the position measurement information of the sensor probe based on the position calculation strategy and the position measurement information of the signal receiver.
[0137] In some embodiments of the present application, the first calculation module is also used to determine the position calculation strategy corresponding to the roadside sensor based on the relative posture between the signal receiver and the sensor probe; when the relative posture between the signal receiver and the sensor probe is less than a preset posture threshold, the position calculation strategy corresponding to the roadside sensor is determined to be a position equivalence strategy; when the relative posture between the signal receiver and the sensor probe is not less than a preset posture threshold, the position calculation strategy corresponding to the roadside sensor is determined to be a position compensation strategy.
[0138] In some embodiments of the present application, the first calculation module is also used to use the position measurement information of the signal receiver as the position measurement information of the sensor probe when the position calculation strategy corresponding to the roadside sensor is a position equivalence strategy; when the position calculation strategy corresponding to the roadside sensor is a position compensation strategy, perform position compensation on the position measurement information of the signal receiver according to the relative posture between the signal receiver and the sensor probe, and use the position compensation result as the position measurement information of the sensor probe.
[0139] It can be understood that the above-mentioned roadside sensor calibration device can implement the various steps of the roadside sensor calibration method provided in the aforementioned embodiment. The relevant explanations about the roadside sensor calibration method are applicable to the roadside sensor calibration device and will not be repeated here.
[0140] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 5 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0141] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0142] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0143] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a roadside sensor calibration device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0144] Acquire target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor;
[0145] Acquiring position measurement information of multiple signal transmitters of the roadside sensor;
[0146] Acquire position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information;
[0147] A calibration matrix of the roadside sensor is obtained according to the position calculation information and the position measurement information of the multiple signal transmitters.
[0148] The above application Figure 3The method performed by the roadside sensor calibration device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in software form. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the roadside sensor calibration method in combination with its hardware.
[0149] The electronic device may also perform Figure 3 The method for executing the roadside sensor calibration device in the Figure 3 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.
[0150] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 1 The method performed by the roadside sensor calibration device in the illustrated embodiment is specifically used to perform:
[0151] Acquire target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor;
[0152] Acquiring position measurement information of multiple signal transmitters of the roadside sensor;
[0153] Acquire position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information;
[0154] A calibration matrix of the roadside sensor is obtained according to the position calculation information and the position measurement information of the multiple signal transmitters.
[0155] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0156] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0157] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0159] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0160] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0161] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0162] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0163] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0164] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A roadside sensor calibration method, characterized in that: The roadside sensor comprises a sensor body and a calibration matching device, wherein the calibration matching device comprises a signal receiver and a plurality of signal transmitters, wherein the signal receiver is arranged on the sensor body, and the plurality of signal transmitters are distributed at different positions within the monitoring range of the sensor body. The roadside sensor calibration method comprises: Acquire target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor; Acquiring position measurement information of multiple signal transmitters of the roadside sensor; Acquire position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information; A calibration matrix of the roadside sensor is obtained according to the position calculation information and the position measurement information of the multiple signal transmitters.
2. The roadside sensor calibration method according to claim 1, characterized in that: The obtaining of target signal data information of the roadside sensor includes: Controlling each signal transmitter of the roadside sensor to transmit signals in sequence; The signal transmission time of each signal transmitter of the roadside sensor and the signal reception time of each signal transmitter by the signal receiver are obtained.
3. The roadside sensor calibration method according to claim 1, characterized in that: The acquiring the position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information comprises: Acquire position measurement information of the sensor probe according to the target signal data and the position measurement information; Acquire the relative position between each signal transmitter and the sensor probe according to the position measurement information of the sensor probe and the position measurement information of each signal transmitter; The position calculation information of each signal transmitter is obtained according to the relative position.
4. The roadside sensor calibration method according to claim 3, characterized in that: The step of acquiring the position measurement information of the sensor probe according to the target signal data and the position measurement information comprises: According to the signal transmission time and signal reception time of each signal transmitter, the relative distance between each signal transmitter and the signal receiver is obtained; Acquire the position measurement information of the signal receiver according to the relative distance between each signal transmitter and the signal receiver and the position measurement information of each signal transmitter; Acquire a position calculation strategy corresponding to the roadside sensor, wherein the position calculation strategy includes a position equivalence strategy and a position compensation strategy; The position measurement information of the sensor probe is acquired according to the position calculation strategy and the position measurement information of the signal receiver.
5. The roadside sensor calibration method according to claim 4, characterized in that: The obtaining of the position calculation strategy corresponding to the roadside sensor includes: Determining a position calculation strategy corresponding to the roadside sensor according to the relative position between the signal receiver and the sensor probe; If the relative posture between the signal receiver and the sensor probe is less than a preset posture threshold, determining that the position calculation strategy corresponding to the roadside sensor is a position equivalence strategy; If the relative posture between the signal receiver and the sensor probe is not less than a preset posture threshold, it is determined that the position calculation strategy corresponding to the roadside sensor is a position compensation strategy.
6. The roadside sensor calibration method according to claim 4, characterized in that: When the position calculation strategy corresponding to the roadside sensor is a position equivalence strategy, acquiring the position measurement information of the sensor probe according to the position compensation strategy and the position measurement information of the signal receiver includes: The position measurement information of the signal receiver is used as the position measurement information of the sensor probe.
7. The roadside sensor calibration method according to claim 4, characterized in that: When the position calculation strategy corresponding to the roadside sensor is a position compensation strategy, acquiring the position measurement information of the sensor probe according to the position compensation strategy and the position measurement information of the signal receiver includes: Position compensation is performed on the position measurement information of the signal receiver according to the relative position between the signal receiver and the sensor probe, and the position compensation result is used as the position measurement information of the sensor probe.
8. A roadside sensor calibration device, characterized in that: The roadside sensor includes a sensor body and a calibration matching device, the calibration matching device includes a signal receiver and a plurality of signal transmitters, the signal receiver is arranged on the sensor body, the plurality of signal transmitters are distributed at different positions within the monitoring range of the sensor body, and the roadside sensor calibration device includes: A signal acquisition unit, used to acquire target signal data of a roadside sensor, wherein the target signal data includes a signal transmission time and a signal reception time of each signal transmitter of the roadside sensor; A position acquisition unit, used to acquire position measurement information of multiple signal transmitters of the roadside sensor; A position calculation unit, configured to obtain position calculation information of the plurality of signal transmitters according to the target signal data and the position measurement information; A calibration calculation unit is used to obtain a calibration matrix of the roadside sensor according to the position calculation information and position measurement information of the multiple signal transmitters.
9. A roadside sensor, characterized in that: The roadside sensor includes a sensor body and a calibration matching device, wherein the calibration matching device includes a signal receiver and a plurality of signal transmitters, wherein the signal receiver is arranged on the sensor body, and the plurality of signal transmitters are distributed at different positions within the monitoring range of the sensor body.
10. An electronic device, comprising: processor; as well as A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the roadside sensor calibration method according to any one of claims 1 to 7.
11. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, enables the electronic device to execute the roadside sensor calibration method according to any one of claims 1 to 7.
