Photoacoustic scanning imaging compensation method, imaging method and system based on voice coil motor
Through the pre-planning compensation method of voice coil motor, the problems of slow scanning speed and image distortion in traditional photoacoustic imaging technology are solved, and high-speed and high-resolution photoacoustic imaging is achieved, reducing system costs and improving imaging accuracy.
Patent Information
- Application Number
- CN202210690885.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-06-17
AI Technical Summary
In traditional photoacoustic imaging technology, the scanning speed based on stepping or linear motors is too slow, resulting in insufficient imaging resolution, and high-precision PSO controllers are expensive, and signal control and laser light output delay lead to image distortion.
The photoacoustic scanning imaging compensation method based on the voice coil motor is adopted, and the deviation value of the set and actual light output position is obtained, and the compensation is performed to ensure equal-range output in the high-speed state and achieve high-resolution and distortion-free imaging.
High-speed and high-resolution photoacoustic imaging is realized, which avoids image distortion, reduces system costs, and improves imaging accuracy.
Smart Images

Figure CN115067886B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of photoacoustic scanning imaging, and in particular relates to a photoacoustic scanning imaging compensation method, an imaging method and a system based on a voice coil motor. Background Art
[0002] Photoacoustic Imaging (PAI) is a new type of non-invasive and non-ionizing biomedical imaging method developed in recent years. The optical resolution mode relies on the laser spot and motion mechanism to have extremely high resolution, which can reach 1-3μm or even sub-micron level.
[0003] However, because its imaging resolution, especially CSCAN imaging resolution, needs to rely on motion mechanism and signal trigger mechanism, and because the optical resolution mode needs to achieve acoustic and optical confocality, the scanning speed of using traditional stepper or ordinary linear motor as brake is too slow, and only moving the spot cannot achieve acoustic and optical confocality, which is easy to produce distortion and data distortion. At the same time, the controller of high-speed PSO function based on real-time position is expensive, and it is difficult to drive the voice coil motor. In addition, there is a microsecond delay in signal control and laser light emission, and image distortion will occur when the movement speed reaches a certain level. Summary of the invention
[0004] The object of the present invention is to provide a photoacoustic scanning imaging compensation method and system based on a voice coil motor, and an imaging method and system.
[0005] In order to solve the above technical problems, the present invention provides a photoacoustic scanning imaging compensation method based on a voice coil motor, comprising: step S1, obtaining each set light emitting position of the first movement; step S2, obtaining the actual light emitting position corresponding to each set light emitting position according to each set light emitting position; step S3, executing step S4 or step S5; step S4, judging whether the deviation value between each actual light emitting position and the corresponding set light emitting position meets the requirements; if not, compensating each set light emitting position according to each actual light emitting position to obtain each compensated light emitting position, taking each compensated light emitting position as each set light emitting position of the next movement, and executing step S2; if so, outputting each set light emitting position of the movement as each set light emitting position that meets the requirements; step S5, compensating each set light emitting position according to each actual light emitting position to obtain each compensated light emitting position, taking each compensated light emitting position as each set light emitting position of the next movement, executing step S2, and after the number of compensations meets the preset number of times, outputting each compensated light emitting position as each set light emitting position that meets the requirements.
[0006] Further, step S1 includes: setting the starting position Sstart of the first movement; setting the light emission spacing Sp of the first movement; then the set light emission positions of the first movement are: SFirst[n]=Sstart+Sp×(n-1); wherein n is an integer greater than 0.
[0007] Further, step S2 includes: according to STemp m [n], get S m [n]; where STemp m [n] is the light output position set for the mth movement, and STemp1[n] = SFirst[n]; S m [n] is the actual light output position of the mth movement.
[0008] Furthermore, the judgment formula in step S4 is: |S m [n]-SFirst[n]|≤A; where A is the deviation value; if the judgment formula is not satisfied, then according to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n], let STemp m+1 [n] = STTL m [n], execute step S2; if the judgment formula is satisfied, then the STemp of this movement m [n] is output as each set light output position that meets the requirements.
[0009] Further, step S5 includes: according to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n], let STemp m+1 [n] = STTL m [n], execute step S2; when m=w, STTL m [n] is output as each set light output position that meets the requirements.
[0010] Further, according to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n] Includes: STTL m [n] = STemp m [n]-(S m [n]-SFirst[n]).
[0011] Furthermore, the deviation value is several times the resolution of the grating ruler.
[0012] On the other hand, the present invention provides a photoacoustic scanning imaging method based on a voice coil motor, comprising: sending a light emission instruction to a laser according to each set light emission position that meets the requirements; the laser emits light according to the light emission instruction; obtaining an ultrasonic signal of the sample after laser irradiation for imaging; wherein each set light emission position that meets the requirements is suitable for being obtained using the photoacoustic scanning imaging compensation method based on a voice coil motor as described above.
[0013] On the other hand, the present invention provides a photoacoustic scanning imaging system based on a voice coil motor, comprising: a laser for emitting laser; a scanning head on which a reflector and an ultrasonic probe are arranged, wherein the reflector is used to reflect the laser emitted by the laser to the sample, and the ultrasonic probe is used to receive the ultrasonic signal emitted by the sample after being irradiated by the laser; a driver for driving the scanning head to move back and forth; a position acquisition module for acquiring the moving position of the scanning head; a spectroscopic probe for acquiring the sub-beams of the laser emitted by the laser; a signal processor electrically connected to the laser, the position acquisition module, and the spectroscopic probe; and a host computer, wherein the driver, the signal processor, and the ultrasonic probe are all electrically connected to the host computer; wherein the host computer The host computer is suitable for controlling the driver to drive the scanning head to move back and forth, and sending the set light emitting positions of the first movement to the signal processor, the signal processor is suitable for sending a light emitting instruction to the laser when the movement position of the scanning head meets the set light emitting position, the signal processor is suitable for obtaining the actual light emitting position corresponding to each set light emitting position through the spectroscopic probe and the position acquisition module; and the signal processor is suitable for adopting the above-mentioned photoacoustic scanning imaging compensation method based on the voice coil motor to obtain each set light emitting position that meets the requirements, and sending a light emitting instruction to the laser according to each set light emitting position that meets the requirements, and the ultrasonic probe is suitable for receiving the ultrasonic signal emitted by the sample after being irradiated by the laser and transmitting it to the host computer for imaging.
[0014] On the other hand, the present invention provides a photoacoustic scanning imaging compensation system based on a voice coil motor, comprising: a set light emitting position acquisition module, suitable for acquiring each set light emitting position; an actual light emitting position acquisition module, suitable for acquiring the actual light emitting position corresponding to each set light emitting position according to each set light emitting position; a processing module; wherein the processing module is suitable for judging whether the deviation values of each actual light emitting position and the corresponding set light emitting position meet the requirements; if not, the set light emitting positions are compensated according to each actual light emitting position to obtain each compensated light emitting position, and each compensated light emitting position is used as each set light emitting position of the next movement, and is transmitted to the set light emitting position acquisition module; if so, the set light emitting positions of this movement are output as each set light emitting position that meets the requirements; or the processing module is suitable for compensating each set light emitting position according to each actual light emitting position to obtain each compensated light emitting position, and each compensated light emitting position is used as each set light emitting position of the next movement, and is transmitted to the set light emitting position acquisition module, and after the number of compensations meets the preset number of times, each compensated light emitting position is output as each set light emitting position that meets the requirements.
[0015] The beneficial effect of the present invention is that the present invention can achieve equal-spaced output under high-speed state through pre-planned compensated motion control, thereby achieving high-speed, high-resolution, and distortion-free imaging functions.
[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and the drawings.
[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flow chart of a photoacoustic scanning imaging compensation method based on a voice coil motor according to an embodiment of the present invention;
[0020] Figure 2 A flow chart of a photoacoustic scanning imaging method based on a voice coil motor according to an embodiment of the present invention;
[0021] Figure 3A schematic diagram of a photoacoustic scanning imaging system based on a voice coil motor according to an embodiment of the present invention;
[0022] Figure 4 is a signal diagram of an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] In actual social production and life, some applications require high resolution, small stroke (<1mm), and high-speed scanning. Therefore, we use the high-speed oscillation characteristics of the voice coil motor and cooperate with the pre-planned compensation position algorithm to achieve laser equidistant output, realizing high-speed, high-resolution, and distortion-free imaging functions of photoacoustic imaging in optical resolution mode.
[0025] like Figure 3 Shown is an optional photoacoustic scanning imaging system based on a voice coil motor.
[0026] Imaging process
[0027] The laser 1 is focused by the focusing mirror 2, and irradiates the sample 10 through the acoustic lens 5 via the reflector 4. The ultrasonic probe 7 receives the ultrasonic signal emitted by the sample 10 after being irradiated by the laser 1, and transmits it to the host computer through the acquisition card after secondary amplification.
[0028] Exercise
[0029] The focusing mirror 2, the triangular mirror 3, the reflecting mirror 4, the acoustic lens 5 and the ultrasonic probe 7 are fixed to the moving coil 6 of the voice coil motor; the driver generates current to the moving coil 6 according to the planned pulse of the motion control card, and the moving coil 6 generates magnetic force, and generates high-frequency commutation force under the action of the left and right magnets, so that the moving coil 6 and its fixed elements can form high-frequency reciprocating motion along the straight track 8.
[0030] Signal Transmission
[0031] First, set the command in the host computer software, write a series of motion point positions and times into the control card, the control card converts the planning curve into a pulse signal to the driver, the driver converts the pulse signal into a drive current, controls the motor to do high-speed reciprocating motion, the grating ruler 9 transmits the position signal (differential pulse) of the motion coil 6 to the FPGA signal processor, the host computer sends the scan start command and the end position and the trigger interval of the laser 1 to the FPGA signal processor, the FPGA signal processor determines the motor from the start position to the end position and the positive motion trigger interval according to the pulse level and pulse number of the grating ruler 9, sends a pulse signal to the laser, or determines the motor from the end position to the start position. When the trigger interval is set and negative movement is triggered, a pulse signal is sent to the laser, so that the laser can emit light from the starting position to the end position during the reciprocating motion. However, because there is a signal delay between the electronic system and the laser sending a trigger signal from the FPGA to the laser emitting light, the laser 1 is beam split by the beam splitter 11, and the pulse signal of the actual light emitting moment is sent to the FPGA through the photoelectric probe 12. The FPGA records each set light emitting position and each actual light emitting position, and compensates for it, so as to obtain each set light emitting position that meets the requirements, and controls the laser to emit light according to it, so that the spacing between each actual light emitting position is almost equal, so as to obtain high-resolution, distortion-free imaging.
[0032] like Figure 1 As shown, this embodiment provides a photoacoustic scanning imaging compensation method based on a voice coil motor, comprising:
[0033] Step S1, obtaining each set light emitting position of the first movement;
[0034] Step S2, acquiring the actual light emitting position corresponding to each set light emitting position according to each set light emitting position;
[0035] Step S3, execute step S4 or step S5;
[0036] Step S4, determining whether the deviation values between the actual light emitting positions and the corresponding set light emitting positions meet the requirements;
[0037] If not, then the set light emitting positions are compensated according to the actual light emitting positions to obtain the compensated light emitting positions, and the compensated light emitting positions are used as the set light emitting positions for the next movement, and step S2 is executed;
[0038] If yes, then the set light emitting positions of the movement are output as the set light emitting positions that meet the requirements;
[0039] Step S5, compensate each set light emitting position according to each actual light emitting position to obtain each compensated light emitting position, use each compensated light emitting position as each set light emitting position for the next movement, execute step S2, and after the number of compensations meets the preset number of times, output each compensated light emitting position as each set light emitting position that meets the requirements.
[0040] In this embodiment, preferably, step S1 includes:
[0041] Set the starting position Sstart of the first movement;
[0042] Set the light emission spacing Sp for the first movement;
[0043] Then the light output positions set for the first movement are: SFirst[n]=Sstart+Sp×(n-1); wherein n is an integer greater than 0.
[0044] In this embodiment, preferably, step S2 includes: according to STemp m [n], get S m [n];
[0045] where STemp m [n] is the light output position set for the mth movement, and STemp1[n] = SFirst[n]; S m [n] is the actual light output position of the mth movement.
[0046] In this embodiment, preferably, the judgment formula in step S4 is: |S m [n]-SFirst[n]|≤A; where A is the deviation value;
[0047] If the judgment formula is not satisfied, then according to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n], let STemp m+1 [n] = STTL m [n], execute step S2;
[0048] If the judgment formula is satisfied, the STemp of this movement is m [n] is output as each set light output position that meets the requirements.
[0049] In this embodiment, preferably, step S5 includes:
[0050] According to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n], let STempm+1 [n] = STTL m [n], execute step S2;
[0051] When m=w, STTL m [n] is output as each set light output position that meets the requirements.
[0052] By adopting the compensation method of step S4, output can be made as soon as each set light-emitting position obtains what meets the requirement; and the compensation method of step S5 can set the value of w based on experience. For example, in an optional application scenario, through experience accumulation, generally after 31 times, 35 times, or 37 times of compensation, the requirement can be met, but the number of outputs is not fixed. Then, based on experience, w can be set to 40 times, that is, after 40 times of fixed compensation, the output of each set light-emitting position that meets the requirement can be output for subsequent imaging.
[0053] Therefore, steps S4 and S5 can be selected and executed according to actual needs.
[0054] In this embodiment, preferably, the m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n] Includes:
[0055] STTL m [n] = STemp m [n]-(S m [n]-SFirst[n]).
[0056] In this embodiment, each compensation light output position STTL is obtained m [n] is to fit each actual light output position to the corresponding first motion set light output position so that the deviation value meets the requirements, thereby obtaining a clear image.
[0057] In this embodiment, preferably, the deviation value is several times the resolution of the grating ruler. For example, when the resolution of the grating ruler is 0.1 μm, the deviation value can be 5 times, that is, 0.5 μm.
[0058] Based on the above embodiments, Figure 2 As shown, this embodiment provides a photoacoustic scanning imaging method based on a voice coil motor, comprising: sending a light emission instruction to a laser according to each set light emission position that meets the requirements; the laser emits light according to the light emission instruction; obtaining an ultrasonic signal of the sample after laser irradiation for imaging; wherein each set light emission position that meets the requirements is suitable for being obtained using the photoacoustic scanning imaging compensation method based on a voice coil motor as described above.
[0059] Based on the above embodiments, Figure 3 As shown, this embodiment provides a photoacoustic scanning imaging system based on a voice coil motor, including: a laser for emitting laser; a scanning head, on which a reflector and an ultrasonic probe are arranged, wherein the reflector is used to reflect the laser emitted by the laser to the sample, and the ultrasonic probe is used to receive the ultrasonic signal emitted by the sample after being irradiated by the laser; a driver is used to drive the scanning head to move back and forth; a position acquisition module is used to collect the moving position of the scanning head; a spectroscopic probe is used to collect the sub-beams of the laser emitted by the laser; a signal processor is electrically connected to the laser, the position acquisition module, and the spectroscopic probe; and a host computer, wherein the driver, the signal processor, and the ultrasonic probe are all electrically connected to the host computer; wherein the host computer The machine is suitable for controlling the driver to drive the scanning head to move back and forth, and sending each set light emitting position of the first movement to the signal processor, the signal processor is suitable for sending a light emitting instruction to the laser when the movement position of the scanning head meets each set light emitting position, the signal processor is suitable for obtaining the actual light emitting position corresponding to each set light emitting position through the spectroscopic probe and the position acquisition module; and the signal processor is suitable for adopting the above-mentioned photoacoustic scanning imaging compensation method based on the voice coil motor to obtain each set light emitting position that meets the requirements, and sending a light emitting instruction to the laser according to each set light emitting position that meets the requirements, and the ultrasonic probe is suitable for receiving the ultrasonic signal emitted by the sample after being irradiated by the laser and transmitting it to the host computer for imaging.
[0060] On the basis of the above embodiments, the present embodiment further provides a photoacoustic scanning imaging compensation system based on a voice coil motor, comprising: a set light emitting position acquisition module, suitable for acquiring each set light emitting position; an actual light emitting position acquisition module, suitable for acquiring the actual light emitting position corresponding to each set light emitting position according to each set light emitting position; a processing module; wherein the processing module is suitable for judging whether the deviation values of each actual light emitting position and the corresponding set light emitting position meet the requirements; if not, the set light emitting positions are compensated according to each actual light emitting position to obtain each compensated light emitting position, and each compensated light emitting position is used as each set light emitting position of the next movement, and is transmitted to the set light emitting position acquisition module; if so, the set light emitting positions of this movement are output as each set light emitting position that meets the requirements; or the processing module is suitable for compensating each set light emitting position according to each actual light emitting position to obtain each compensated light emitting position, and each compensated light emitting position is used as each set light emitting position of the next movement, and is transmitted to the set light emitting position acquisition module, and after the number of compensations meets the preset number of times, each compensated light emitting position is output as each set light emitting position that meets the requirements.
[0061] In an optional application scenario, photoacoustic scanning imaging based on a voice coil motor is performed, with the moving coil 6 moving back and forth at 1mm 25HZ, with a maximum speed of 260mm / s and a grating resolution of 0.1μm. The laser has a delay of 15μs from the time the FPGA sends a pulse signal to the time the light is emitted, and the light is set to be emitted at an equal interval of 3μm. Before compensation, the laser trigger signal is triggered with a step of 3μm, but the laser emits light in a gradual range of 3 to 6.9μm, which cannot meet the imaging standard. After compensation, the laser can achieve an equal interval of 3.0±0.3μm to ensure that the image is not distorted at high speed.
[0062] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0063] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0064] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0065] Based on the above-mentioned ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above-mentioned description. The technical scope of the present invention is not limited to the contents of the specification.
Claims
1. A photoacoustic scanning imaging system based on voice coil motor, It is characterized in that include: Laser, used for emitting laser light; A scanning head, on which a reflector and an ultrasonic probe are arranged, wherein the reflector is used to reflect the laser emitted by the laser to the sample, and the ultrasonic probe is used to receive the ultrasonic signal emitted by the sample after being irradiated by the laser; A driver, used for driving the scanning head to move back and forth; A position acquisition module, used to acquire the motion position of the scanning head; A spectroscopic probe, used for collecting the split beams of laser light emitted by the laser; A signal processor is electrically connected to the laser, the position acquisition module, and the spectroscopic probe; and The driver, signal processor and ultrasonic probe are all electrically connected to the host computer; The host computer is suitable for controlling the driver to drive the scanning head to move back and forth, and sending each set light-emitting position of the first movement to the signal processor, the signal processor is suitable for sending a light-emitting instruction to the laser when the movement position of the scanning head meets each set light-emitting position, and the signal processor is suitable for obtaining the actual light-emitting position corresponding to each set light-emitting position through the spectroscopic probe and the position acquisition module; as well as The signal processor is suitable for obtaining each set light-emitting position that meets the requirements by adopting a photoacoustic scanning imaging compensation method based on a voice coil motor, and sending a light-emitting instruction to the laser according to each set light-emitting position that meets the requirements, and the ultrasonic probe is suitable for receiving an ultrasonic signal emitted by the sample after being irradiated by the laser and transmitting it to the host computer for imaging; The photoacoustic scanning imaging compensation method based on the voice coil motor comprises: Step S1, obtaining each set light emitting position of the first movement; Step S2, acquiring the actual light emitting position corresponding to each set light emitting position according to each set light emitting position; Step S3, execute step S4 or step S5; Step S4, determining whether the deviation values between the actual light emitting positions and the corresponding set light emitting positions meet the requirements; If not, then the set light emitting positions are compensated according to the actual light emitting positions to obtain the compensated light emitting positions, and the compensated light emitting positions are used as the set light emitting positions for the next movement, and step S2 is executed; If yes, then the set light emitting positions of the movement are output as the set light emitting positions that meet the requirements; Step S5, compensate each set light emitting position according to each actual light emitting position to obtain each compensated light emitting position, use each compensated light emitting position as each set light emitting position for the next movement, execute step S2, and after the number of compensations meets the preset number of times, output each compensated light emitting position as each set light emitting position that meets the requirements.
2. The photoacoustic scanning imaging system according to claim 1, It is characterized in that Step S1 includes: Set the starting position Sstart of the first movement; Set the light emission spacing Sp for the first movement; Then the light output positions set for the first movement are: SFirst[n]=Sstart+Sp×(n-1); wherein n is an integer greater than 0.
3. The photoacoustic scanning imaging system according to claim 2, It is characterized in that Step S2 includes: according to STemp m [n], get S m [n]; where STemp m [n] is the light output position set for the mth movement, and STemp 1 [n] = SFirst[n]; S m [n] is the actual light output position of the mth movement.
4. The photoacoustic scanning imaging system according to claim 3, It is characterized in that The judgment formula in step S4 is: |S m [n]-SFirst[n]|≤A; Where A is the deviation value; If the judgment formula is not satisfied, then according to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n], let STemp m+1 [n] = STTL m [n], execute step S2; If the judgment formula is satisfied, the STemp of this movement is m [n] is output as each set light output position that meets the requirements.
5. The photoacoustic scanning imaging system according to claim 3, It is characterized in that Step S5 includes: According to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n], let STemp m+1 [n] = STTL m [n], execute step S2; When m=w, STTL m [n] is output as each set light output position that meets the requirements.
6. The photoacoustic scanning imaging system according to claim 4 or 5, It is characterized in that According to S m [n] for STemp m [n] Perform compensation and obtain each compensated light output position STTL m [n] Includes: STTL m [n]=STemp m [n]-(S m [n]-SFirst[n])。 7. The photoacoustic scanning imaging system according to claim 4, It is characterized in that The deviation value is several times the resolution of the grating ruler.
