A multi-sensor auxiliary positioning module and method for a track-type inspection robot
By combining magnetic sensors, visual code scanning sensors and visual character positioning in the orbital robot system, composite positioning is achieved, and the system unavailability problem caused by the failure of a single positioning sensor is solved, positioning accuracy and reliability are improved, and equipment demand is reduced.
Patent Information
- Application Number
- CN202011587791.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-12-28
AI Technical Summary
In the existing track robot inspection system, when a single positioning sensor module fails, the entire positioning system cannot work normally, and lacks system redundancy measures, resulting in insufficient positioning accuracy and reliability.
Using a combination of magnetic sensor module, visual code scanning sensor module and visual character positioning, the multi-sensor auxiliary positioning module, including positioning identification module, sensor module and positioning solution module, realizes composite positioning, and uses Hall sensor and code scanning camera Perform position calculation with the visible light camera to ensure the precise positioning of the robot in the pipeline corridor.
No additional base stations and wireless devices are required, which improves positioning accuracy and system fault tolerance, ensuring that a certain sensor can still work properly when it fails, and reducing system space and costs.
Smart Images

Figure CN112631307B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of navigation and positioning, and relates to a method for fusion positioning and navigation using a magnetic sensor module, a visual code scanning sensor module, and visual character positioning. Background Art
[0002] During the operation of pipeline inspection robots in my country, precise positioning of the robots has always been one of the core contents. Excellent positioning solutions can effectively improve inspection efficiency and accuracy.
[0003] Conventional rail robot inspections mainly rely on odometers for relative positioning. Since odometers produce cumulative errors, they also need to rely on external auxiliary wireless tags for absolute position calibration. Common calibration methods include UWB wireless positioning and RFID tag positioning. UWB positioning accuracy is about 0.1m, requiring the wireless base station in the tunnel to have UWB positioning function. RFID passive tag positioning accuracy is higher, up to 0.02m, but an RFID tag needs to be placed every other section of track, and special card reading equipment is also required.
[0004] The problem with a single positioning method is that when the positioning sensor module (such as a card reader) fails, the entire positioning system cannot work properly, and there is a lack of system redundancy measures. Summary of the invention
[0005] In order to solve the above defects in the prior art, the purpose of the present invention is to provide a fusion positioning and navigation method suitable for a rail-type inspection robot in a pipe gallery. Composite positioning is achieved by using one or a combination of a magnetic sensor module, a visual code scanning sensor module, and a visual character positioning, and the positioning system has a certain fault-tolerant navigation capability.
[0006] The present invention is achieved through the following technical solutions.
[0007] A multi-sensor auxiliary positioning module for a track inspection robot, comprising: a positioning identification module, including a character nameplate and a track patch, the character nameplate being vertically mounted on the top of a pipe gallery and used for a sensor module to identify and locate; a track patch, including a positioning code and a magnetic sheet, used for the sensor module to identify the positioning code and the magnetic sheet; a sensor module, which identifies the character nameplate and the track patch in the pipe gallery track through multiple sensors, and transmits the acquired information to a positioning solution module;
[0008] The positioning solution module is used to solve the information obtained by the sensor module and transmit it to the control center, which determines the position of the robot body in the tunnel;
[0009] The sensor module and the positioning solution module are arranged in the robot body. The control center controls the robot body to move in the tunnel track. The positioning identification module information is obtained through the sensor module. The positioning solution module solves and the control center determines the position of the robot body in the tunnel.
[0010] For the above technical solution, the present invention has a further preferred solution:
[0011] Preferably, the robot body is provided with walking wheels, a sensor module, a power module, a positioning solution module, a two-dimensional turntable and a photoelectric load; the sensor module includes an odometer, a visual code scanning sensor, a magnetic sensor and a visual character positioning sensor provided in the photoelectric load; the odometer is provided on the walking wheels, and the walking wheels are hung on the corridor track; the visual code scanning sensor and the magnetic sensor are provided on the detection plate between the two walking wheels; the photoelectric load is installed on the two-dimensional turntable.
[0012] Preferably, the magnetic sensor includes a Hall sensor, a magnetic sheet is installed on the pipeline gallery track, and a position calibration is performed on the pipeline gallery track in advance; the Hall sensor senses the magnetic sheet on the pipeline gallery track.
[0013] Preferably, the visual code scanning sensor is a code scanning camera installed on the robot body, and the code scanning camera scans the positioning code installed on the track, and the positioning code is a one-bit code or a two-dimensional code.
[0014] Preferably, the character nameplate includes coarse positioning characters and fine positioning marks; the visual character positioning sensor is a visible light camera installed on a two-dimensional turntable, which performs coarse positioning on the coarse positioning characters on the character nameplate appearing in the field of view, or performs coarse and fine composite positioning on the coarse positioning characters and fine positioning marks on the character nameplate.
[0015] Preferably, the positioning and solving module includes a DSP core circuit, a memory and an RS232 serial port. The magnetic sensor is connected to the DSP core circuit through the GPIO port of the DSP core circuit; the visual code scanning sensor is connected to the DSP core circuit through the RS232 serial port, the visual character positioning sensor is connected to the DSP core circuit through the extended serial port, and the DSP core circuit is connected to the external circuit through the serial port.
[0016] The present invention further provides a multi-sensor assisted positioning method for a track-type inspection robot, including turntable camera visual coarse positioning + positioning code fine positioning + magnetic sheet position calibration:
[0017] a) Start: The photoelectric load of the two-dimensional turntable points forward, and the robot calculates the mileage based on the relative start position accumulated by the odometer;
[0018] b) Coarse positioning: When a nameplate with characters appears in the field of view of the photoelectric load of the two-dimensional turntable, the robot body determines the approximate location of the corridor based on the nameplate with characters and starts to decelerate to reduce the imaging blur of the visual code scanning sensor caused by high-speed operation;
[0019] c) Precise positioning: The barcode scanning camera of the visual barcode scanning sensor scans the positioning code on the corridor track in the vicinity of the corridor and determines the absolute position of the corridor based on the information in the positioning code;
[0020] d) Continuous position recursion: Based on this absolute position, the robot body will perform accurate absolute position positioning according to the mileage accumulated by the odometer;
[0021] e) Position calibration: There may be cumulative errors in odometer positioning. The accumulated errors of the robot's odometer can be eliminated by calibrating the magnetic position information on the corridor track.
[0022] Preferably, it includes turntable camera visual coarse positioning + turntable camera visual fine positioning + magnetic sheet position calibration:
[0023] During the coarse and fine composite positioning process, if the barcode scanning camera fails, the robot body is slowly moved to different positions of the corridor track on the basis of coarse positioning, and the visible light camera on the two-dimensional turntable continues to accurately identify the signboard, and fine positioning is performed based on the P4P principle. During this process, the robot body stops for a certain period of time at different positions on the track.
[0024] Preferably, precise positioning is performed based on the P4P principle, and the precise absolute position coordinates of the robot body in the pipe gallery are obtained by:
[0025] The coordinate system of the character nameplate is oxyz, the coordinate system of the visible light camera on the turntable is o1x1y1z1, and the coordinate system of the robot body is o2x2y2z2. Then, the elements m constituting the projection matrix M are obtained. i The linear homogeneous system of equations is:
[0026]
[0027] Where (X, Y, Z) is the coordinate system of the character nameplate, i = 0, 1, 3, 4, 5, 7, 8, 9, 11;
[0028] The projection matrix M is expressed as follows:
[0029]
[0030] Define the z-axis as the vertical direction of the character nameplate. is the image coordinate of the visible light camera on the turntable, m 11is the translation of the visible light camera coordinate system on the turntable relative to the character nameplate coordinate system on the Z axis; let a i =m i / m 11 , then about a i The linear equations are expressed as follows:
[0031]
[0032] By solving the linear equations, the precise coordinates of the visible light camera coordinate system relative to the character nameplate coordinate system can be obtained, and then the precise position information of the robot body in the tunnel can be obtained.
[0033] The present invention adopts the above technical solution, which has the following beneficial effects:
[0034] The present invention does not require additional base stations and wireless devices. It only needs to set corresponding markers on the track, such as punch holes, magnets, position characters, etc., and cooperate with corresponding sensors and solution units to achieve high-precision positioning.
[0035] The combined positioning method of coarse positioning by visible light camera on the turntable + fine positioning by positioning code + magnetic plate position calibration is adopted. Compared with the single wireless positioning method, it can improve the positioning accuracy. In addition, when one of the sensors fails, the positioning system can still work normally, thus improving the fault tolerance and reliability of the system.
[0036] The method of coarse positioning by visible light camera on the turntable + fine positioning by visible light camera on the turntable + magnetic plate position calibration is adopted. Compared with the traditional RFID tag positioning method which requires tags and card readers, this method can achieve coarse and fine positioning at the same time through the robot's own turntable visible light camera and positioning characters, making full use of the function of the robot's own visual camera for compatible positioning, saving system space and cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute an improper limitation of the present invention. In the drawings:
[0038] Figure 1 A hierarchical diagram for the multi-sensor module auxiliary positioning module;
[0039] Figure 2 It is the main hardware component of the multi-sensor module auxiliary positioning module of the corridor inspection robot;
[0040] Figure 3 The working principle of the magnetic sensor module;
[0041] Figure 4 The working principle of the visual code scanning sensor module;
[0042] Figure 5 It is a block diagram of the connection between the various parts of the multi-sensor module auxiliary positioning module;
[0043] Figure 6 It is a schematic diagram of the relative position relationship between the coarse and fine composite positioning equipment and the markings;
[0044] Figure 7 This is the flow chart of coarse and fine composite positioning;
[0045] Figure 8 Schematic diagram of precise positioning achieved by a turntable camera.
[0046] In the figure: 1. Pipeline corridor track; 2. Magnetic sensor; 3. Visual code scanning sensor; 4. Travel wheel; 5. Power module; 6. Two-dimensional turntable; 7. Photoelectric load; 8. Auxiliary positioning solution module; 9. Character nameplate; 10. Odometer. DETAILED DESCRIPTION
[0047] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The exemplary embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.
[0048] like Figure 1 As shown, the multi-sensor auxiliary positioning module of the rail inspection robot of the present invention includes: a positioning identification module, including a character nameplate and a track patch, the character nameplate is vertically installed on the top of the tunnel, and is used for the sensor module to identify the positioning. The track patch includes a positioning code and a magnetic sheet, and is used for the sensor module to identify the positioning code and the magnetic sheet.
[0049] The sensor module includes multiple sensors, including magnetic sensors, visual barcode scanning sensors, visual character positioning sensors and odometers. The multiple sensors identify the character nameplates and track patches in the corridor tracks and pass the acquired information to the positioning solution module.
[0050] The positioning solution module includes a DSP core circuit, a memory and a communication circuit, which is used to solve the information obtained by the sensor module and transmit it to the control center. The control center determines the position of the robot body in the tunnel.
[0051] The power module is used to supply power to the multi-sensor module auxiliary positioning module system.
[0052] The sensor module and the positioning solution module are arranged in the robot body. The control center controls the robot body to move in the tunnel track. The positioning identification module information is obtained through the sensor module. The positioning solution module solves and the control center determines the position of the robot body in the tunnel.
[0053] like Figure 2As shown, the multi-sensor module auxiliary positioning module of the present invention is a component of the tunnel inspection robot and is installed on the robot body. The robot body is provided with a walking wheel 4, a sensor module, a power module 5, an auxiliary positioning solution module 8, a two-dimensional turntable 6 and a photoelectric load 7; the odometer 10 in the sensor module is arranged on the walking wheel 4, and the walking wheel 4 is hung on the tunnel track 1; the visual code scanning sensor 3 and the magnetic sensor 2 are arranged on the detection board between the two walking wheels; the photoelectric load 7 is installed on the two-dimensional turntable 6, and the photoelectric load 7 includes a visible light camera.
[0054] The power module mainly provides power for the device.
[0055] Each sensor module is described below separately.
[0056] like Figure 3 As shown, the magnetic sensor includes a Hall sensor. The magnetic sheet is installed on the track and the position is calibrated in advance. When the robot is running, the Hall sensor module will output a pulse signal every time it passes a magnetic sheet position. The pulse signal is transmitted to the CAP capture end of the DSP. The DSP will calculate the distance between the two pulse signals (corresponding to the two magnetic sheets on the track) in combination with the odometer information, and store a series of distance information in the database.
[0057] like Figure 4 As shown in the figure, the visual barcode scanning sensor is a barcode scanning camera installed on the robot body. A positioning code is installed on the track. The positioning code is a one-bit code or a two-dimensional code. The positioning code contains the absolute position information of the corridor where it is located. After the barcode scanning camera scans the positioning code, it can parse the corresponding absolute position information.
[0058] The visual character positioning sensor is a visible light camera installed on a two-dimensional turntable. Under normal inspection conditions, the visible light camera images the scene in front of the robot body. The imaging camera has certain image processing capabilities and can perform rough positioning when the positioning characters appear in the field of view.
[0059] The odometer is installed on the walking wheels of the robot body. The odometer will output corresponding pulses as the wheels rotate. It is used to obtain the mileage of the inspection robot by accumulating the odometer count when no position mark is detected. After the absolute position mark is detected, the position information of the inspection robot in the corridor can be obtained in combination with the odometer information.
[0060] The positioning solution module includes DSP core circuit, memory and RS232 serial port, which are used to solve the sensor module data and data fusion. The solved navigation data is sent to the external terminal through the RS232 port. The external terminal stores the pipeline corridor map, which can display the position of the inspection robot in the pipeline corridor with the navigation data, and then pass it to the DSP through the serial port.
[0061] like Figure 5 The figure shows the connection relationship between the various parts of the multi-sensor module auxiliary positioning module.
[0062] The power module supplies power to the sensor module and the auxiliary positioning solution module.
[0063] The magnetic sensor signal is connected to the DSP core of the positioning interpretation module through the GPIO port of the DSP. When the inspection robot passes through the magnetic piece on the track, the pulse output by the magnetic sensor is received by the DSP, generating a corresponding GPIO port interrupt. Since the position of the magnetic piece (corresponding to the magnetic sensor) on the track has been calibrated in advance, the mileage generated by the odometer can be corrected according to the stored calibration position and interrupt signal.
[0064] The visual barcode scanning sensor is connected to the DSP via the RS232 serial port. When the visual barcode scanning sensor scans the positioning code and parses the absolute position coordinates of the positioning code, it transmits the coordinates to the DSP via the serial port. The DSP uses the information to perform absolute position correction.
[0065] The visual character positioning sensor is connected to the DSP via the RS232 serial port. When the visual character positioning sensor scans the positioning character, it performs rough positioning and transmits the rough positioning information to the DSP for related control operations of fine positioning.
[0066] The pulses generated by the odometer are connected to the DSP through the CAP capture port of the DSP. In the absence of external information correction, the DSP receives the pulses, accumulates them, and then calculates the mileage of the inspection robot based on the radius of the walking wheels.
[0067] The effect of the present invention is explained below by the method of the present invention.
[0068] Multi-sensor module fusion positioning:
[0069] The original signal of the magnetic positioning method is a pulse signal, which can only determine the relative position, and does not contain the absolute position information. The positioning code (whether one-dimensional or two-dimensional) contains the absolute position coordinate information, and the visual positioning sensor can also determine the absolute position by recognizing characters. Therefore, the coarse and fine composite positioning method is adopted. The schematic diagram is as follows Figure 6 There are two ways to perform coarse and fine positioning: one is turntable camera vision coarse positioning + positioning code fine positioning + magnetic sheet position calibration; the other is turntable camera vision coarse positioning + turntable camera vision fine positioning + magnetic sheet position calibration.
[0070] In the case of rapid and continuous inspection movement of the robot, the following coarse and fine composite positioning method is adopted:
[0071] Coarse and fine compound positioning method 1:
[0072] Magnetic sheets and positioning codes are set on the corridor track near the location of the character nameplate, and the positions of these markers are calibrated in advance. In the case of routine inspection by the inspection robot body, the inspection speed is ≥1m / s. Since the visual code scanning recognition method is prone to motion blur, and the magnetic sensor is relatively positioned, it cannot directly obtain absolute position information. Therefore, the inspection robot body first recognizes the character nameplate hanging on the top of the corridor wall in front of it, which is a rough positioning process.
[0073] The specific positioning process is as follows: Figure 7 As shown, the steps are described as follows:
[0074] a) Start: The robot body starts, the photoelectric load of the two-dimensional turntable points forward, and the robot body begins to patrol. At this time, the accumulated position of the odometer is a relative position, and the robot body can only calculate how much mileage it has traveled relative to the starting position.
[0075] b) Coarse positioning: When a character nameplate appears in the field of view of the two-dimensional turntable's photoelectric load, the robot body determines the approximate location of the corridor based on the character nameplate, and the robot body begins to decelerate to reduce the imaging blur of the visual scanning sensor caused by high-speed operation.
[0076] c) Precise positioning: Since the positioning code is arranged on the track near the character nameplate, after rough positioning, the visual code scanning sensor will scan the positioning code in the nearby area and determine the absolute position of the corridor based on the information in the positioning code.
[0077] d) Continuous position recursion: Based on this absolute position, the robot body will then accurately locate its absolute position according to the mileage accumulated by the odometer.
[0078] e) Position calibration: Since the running wheels connected to the odometer may slip, the odometer positioning may have cumulative errors after a period of time. Positioning codes and magnetic pieces are distributed on the track, and the positions of the positioning codes and magnetic pieces are calibrated in advance. The accumulated errors of the robot body odometer are eliminated based on the detected positioning codes and magnetic piece position information.
[0079] Rough and fine compound positioning method 2:
[0080] In the process of coarse and fine composite positioning, if the barcode scanning camera of the fine positioning sensor module fails, such as the positioning code is covered by stains, the magnetic sheet is lost, etc., then on the basis of coarse positioning, the robot body can be slowly moved to different positions on the track, and the visible light camera on the two-dimensional turntable continues to accurately identify the identification plate, and fine positioning is performed based on the P4P principle. This process requires the robot to stop for a certain period of time at different positions on the track.
[0081] like Figure 8As shown in the figure, there are coarse positioning characters and fine positioning marks on the nameplate of the positioning character. The coarse positioning characters mainly mark the area of the corridor where the nameplate is located. The fine positioning marks are black dots distributed on the four corners of the character nameplate. The position and spacing of the dots of the fine positioning marks have been calibrated in advance. The coordinate system of the character nameplate is oxyz, the coordinate system of the visible light camera on the turntable is o1x1y1z1, and the coordinate system of the robot body is o2x2y2z2. According to the P4P related principles of image processing, the center positions of the four fine positioning marks are extracted.
[0082] Therefore, through coordinate transformation, the position of the robot body relative to the character nameplate can be obtained, thereby obtaining the exact position of the robot body in the tunnel.
[0083] The multi-sensor module auxiliary positioning module of the rail inspection robot adopts multi-sensor module composite positioning. Compared with the single sensor module positioning method, when one of the sensor modules fails, it can still rely on other sensor modules for continuous positioning, which has a certain fault tolerance capability.
[0084] The present invention is not limited to the above-mentioned embodiments. On the basis of the technical solution disclosed in the present invention, technicians in this field can make some substitutions and deformations to some technical features therein according to the disclosed technical content without creative labor, and these substitutions and deformations are all within the protection scope of the present invention.
Claims
1. A multi-sensor assisted positioning method for a track-type inspection robot, characterized in that: The method uses a multi-sensor auxiliary positioning module of a track-type inspection robot, including: The positioning identification module includes a character nameplate and a track patch. The character nameplate is vertically installed on the top of the pipe gallery and is used for the sensor module to identify the positioning; the track patch includes a positioning code and a magnetic sheet, which are used for the sensor module to identify the positioning code and the magnetic sheet; The sensor module uses multiple sensors to identify the character nameplates and track patches in the corridor track and transmits the acquired information to the positioning solution module; The positioning solution module is used to solve the information obtained by the sensor module and transmit it to the control center, which determines the position of the robot body in the tunnel; The sensor module and the positioning solution module are arranged in the robot body. The control center controls the robot body to move in the corridor track. The positioning identification module information is obtained through the sensor module. The positioning solution module solves and the control center determines the position of the robot body in the corridor. The multi-sensor assisted positioning method of the track-type inspection robot includes turntable camera visual coarse positioning + positioning code fine positioning + magnetic sheet position calibration: a) Start: The photoelectric load of the two-dimensional turntable points forward, and the robot calculates the mileage based on the relative start position accumulated by the odometer; b) Coarse positioning: When a coarse positioning character nameplate appears in the field of view of the two-dimensional turntable photoelectric load, the robot body determines the approximate position of the corridor based on the coarse positioning character nameplate and starts to decelerate to reduce the imaging blur of the visual code scanning sensor caused by high-speed operation; c) Precise positioning: The barcode scanning camera of the visual barcode scanning sensor scans the positioning code on the corridor track in the vicinity of the corridor and determines the absolute position of the corridor based on the information in the positioning code; d) Continuous position recursion: Based on this absolute position, the robot body will perform accurate absolute position positioning according to the mileage accumulated by the odometer; e) Position calibration: There may be cumulative errors in odometer positioning. The accumulated errors of the robot odometer can be eliminated by calibrating the magnetic piece position information on the corridor track. Including turntable camera vision rough positioning + turntable camera vision fine positioning + magnetic plate position calibration: During the coarse and fine composite positioning process, if the barcode scanning camera fails, the robot body will slowly move to different positions of the corridor track on the basis of coarse positioning, and the visible light camera on the two-dimensional turntable will continue to accurately identify the fine positioning mark on the character nameplate, and fine positioning will be performed based on the P4P principle. During this process, the robot body will stop for a certain period of time at different positions on the track.
2. The multi-sensor assisted positioning method of the track-type inspection robot according to claim 1, characterized in that: Based on the P4P principle, the precise absolute position coordinates of the robot body in the tunnel are obtained in the following ways: The coordinate system of the character nameplate is , the coordinate system of the visible light camera on the turntable is , the robot body coordinate system is , then we get the projection matrix Elements of The linear homogeneous system of equations is: (1.1) In the formula, is the coordinate system of the character nameplate, ; Projection Matrix It is expressed as follows: (1.2) definition The axis is vertical to the character nameplate direction, is the image coordinate of the visible light camera on the turntable, The coordinate system of the visible light camera on the turntable is relative to the coordinate system of the character nameplate The amount of translation on the axis; , then about The linear equations are expressed as follows: (1.3) By solving the linear equations, the precise coordinates of the visible light camera coordinate system relative to the character nameplate coordinate system can be obtained, and then the precise position information of the robot body in the tunnel can be obtained.
3. The multi-sensor assisted positioning method of a track-type inspection robot according to claim 1, characterized in that: The robot body is provided with running wheels, sensor modules, power modules, positioning and solving modules, a two-dimensional turntable and a photoelectric load; the sensor module comprises an odometer, a visual code scanning sensor, a magnetic sensor and a visual character positioning sensor provided in the photoelectric load; the odometer is provided on the running wheels, and the running wheels are hung on the corridor track; the visual code scanning sensor and the magnetic sensor are provided on the detection board between the two running wheels; the photoelectric load is installed on the two-dimensional turntable.
4. The multi-sensor assisted positioning method of a track-type inspection robot according to claim 3, characterized in that: The magnetic sensor includes a Hall sensor. The magnetic sheet is installed on the pipeline gallery track and the position is calibrated on the pipeline gallery track in advance. The Hall sensor senses the magnetic sheet on the pipeline gallery track.
5. The multi-sensor assisted positioning method of a track-type inspection robot according to claim 1, characterized in that: The visual code scanning sensor is a code scanning camera installed on the robot body. The code scanning camera scans the positioning code installed on the track. The positioning code is a one-bit code or a two-dimensional code.
6. The multi-sensor assisted positioning method of a track-type inspection robot according to claim 3, characterized in that: The character nameplate includes coarse positioning characters and fine positioning marks; the visual character positioning sensor is a visible light camera installed on a two-dimensional turntable, which performs coarse positioning of the coarse positioning characters on the character nameplate appearing in the field of view, or performs coarse and fine composite positioning of the coarse positioning characters and fine positioning marks on the character nameplate.
7. The multi-sensor assisted positioning method of a track-type inspection robot according to claim 1, characterized in that: The positioning and solving module includes a DSP core circuit, a memory and an RS232 serial port. The magnetic sensor is connected to the DSP core circuit through the GPIO port of the DSP core circuit; the visual code scanning sensor is connected to the DSP core circuit through the RS232 serial port, the visual character positioning sensor is connected to the DSP core circuit through the extended serial port, and the DSP core circuit is connected to the external circuit through the serial port.
