Spectral imaging data acquisition system and method
By designing a spectral imaging data acquisition system that includes multiple position control mechanisms and automated correction functions, the problems of low spectral data acquisition efficiency and low accuracy in the prior art are solved, and efficient and automated spectral data acquisition is achieved.
Patent Information
- Application Number
- CN202510661865.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-06-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing spectral imaging acquisition systems cannot collect spectral data of samples stably, reproducibly and efficiently, and lack automated correction functions, resulting in low acquisition efficiency and low accuracy.
A spectral imaging data acquisition system is designed, including a bracket, a spectral imaging device and multiple position control mechanisms. Through these control mechanisms, three-dimensional movement and angle adjustment of the spectral imaging device are realized, and fill lights and correction plates are automatically controlled to improve the degree of automation of the acquisition process.
It improves the accuracy and efficiency of spectral data acquisition, reduces errors caused by manual adjustment, realizes automatic correction of spectral imaging equipment, adapts to a variety of fill light needs, and expands the scope of application of the system.
Smart Images

Figure CN120177388A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of spectral data acquisition, and in particular to a spectral imaging data acquisition system and method. Background Art
[0002] With the continuous development of spectral imaging systems, there is an increasing need for efficient, stable, and automated spectral acquisition. For example, it is possible to automatically collect sample spectra from different perspectives and distances, efficiently establish a comprehensive spectral dataset of the sample, which is more conducive to comprehensively analyzing the spectral characterization characteristics of the sample.
[0003] In existing spectral imaging acquisition systems, most use a tripod to set up the spectral imaging device, and the lighting is also randomly adjusted and placed, and then spectral data is collected. In this way, it is impossible to stably, repeatedly, and efficiently collect the spectral data of the sample. And during the collection process, the sample needs to be manually replaced, with low efficiency and it is difficult to ensure the consistency of the sample position. Especially when collecting samples of the same batch, the position is also important. On the other hand, for the dark background and whiteboard correction of spectral imaging devices, in the actual situation, most are manually corrected and there is no automated and controllable correction. On the other hand, although there are some existing automated devices that use one-degree-of-freedom movement to collect spectral images, they have poor flexibility, and the acquisition shooting conditions cannot be digitally recorded. Information such as the angle, distance, lighting intensity, lighting angle, ambient temperature and humidity corresponding to the spectral data of the collected sample cannot be digitally recorded, and it is impossible to have both top-down and front-view shooting. And often the spectral data is affected by the lighting intensity, angle, shooting distance, angle, ambient temperature and humidity, which is crucial for stably analyzing the spectral properties of the sample.
[0004] Therefore, there is an urgent need for a spectral imaging data acquisition system and method that can automatically collect spectral data of samples and improve the acquisition accuracy and efficiency. Summary of the Invention
[0005] In view of the above problems in the prior art, the present application provides a spectral imaging data acquisition system and method that can automatically collect spectral data of samples and improve the acquisition accuracy and efficiency.
[0006] To achieve the above object, in the first aspect of the present application, there is provided a spectral imaging data acquisition system for collecting spectral data of a sample, including: a bracket, a collection station is provided on the bracket, and the sample performs spectral data collection at the collection station; a spectral imaging device, the spectral imaging device is provided on the bracket; a first position control mechanism, the first position control mechanism is provided on the bracket, and drives the spectral imaging device to perform three-dimensional movement on the bracket and drives the spectral imaging device to rotate.
[0007] As described above, the three-dimensional movement of the spectral imaging device can be controlled by the first position control mechanism, and the spectral imaging device can be driven to rotate, so that the position and angle of the spectral imaging device can be automatically adjusted, thereby improving the automation degree in the spectral data acquisition process, reducing the errors generated during manual adjustment of the spectral imaging device, and improving the acquisition accuracy and efficiency.
[0008] As a possible implementation manner in the first aspect, it further includes: a first fill light, the first fill light is arranged on the bracket and is located on the side of the acquisition station; a second position control mechanism, the second position control mechanism is arranged on the bracket, driving the first fill light to move away from or close to the acquisition station, and driving the first fill light to rotate.
[0009] As described above, the distance and angle between the first fill light and the acquisition station can be adjusted by the second position control mechanism, so that the automatic control of the first fill light can be realized, thereby improving the automation degree in the spectral data acquisition process, reducing the errors generated during manual adjustment of the spectral imaging device, and improving the acquisition accuracy and efficiency.
[0010] As a possible implementation manner in the first aspect, the first fill lights are arranged in pairs and are respectively located on both sides of the acquisition station.
[0011] As described above, by arranging the first fill lights in pairs on both sides of the acquisition station, various fill light requirements can be met, and the applicable range of the spectral imaging data acquisition system can be improved.
[0012] As a possible implementation manner in the first aspect, it further includes: a second fill light, the second fill light is arranged on the bracket and is located above the acquisition station; a third position control mechanism, the third position control mechanism is arranged on the bracket, driving the second fill light to move horizontally and driving the second fill light to rotate.
[0013] As described above, the position and angle of the second fill light above the acquisition station are adjusted by the third position control mechanism, so that the top of the sample on the acquisition station can be filled with light. Thus, the automatic control of the second fill light can be realized, thereby improving the automation degree in the spectral data acquisition process, reducing the errors generated during manual adjustment of the spectral imaging device, and improving the acquisition accuracy and efficiency. It can also make the spectral imaging data acquisition system adapt to various fill light requirements and improve the applicable range.
[0014] As a possible implementation manner in the first aspect, it further includes: a dark bottom baffle; the dark bottom baffle is arranged on the bracket; a fourth position control mechanism, the fourth position control mechanism is arranged on the bracket, driving the dark bottom baffle to block the spectral imaging device.
[0015] As described above, the dark bottom baffle can be controlled by the fourth position control mechanism to shield the spectral imaging device, thereby realizing the dark bottom correction of the spectral imaging device. Thus, the automation degree in the spectral data acquisition process can be improved, and the acquisition accuracy and efficiency can be enhanced.
[0016] As a possible implementation manner in the first aspect, it further includes: a white board, which is arranged on the bracket; a fifth position control mechanism, which is arranged on the bracket and drives the white board to be vertically located on the side of the acquisition station facing away from the spectral imaging device.
[0017] As described above, the position of the white board can be controlled by the fifth position control mechanism, thereby realizing the white board correction of the spectral imaging device. Thus, the automation degree in the spectral data acquisition process can be improved, and the acquisition accuracy and efficiency can be enhanced.
[0018] As a possible implementation manner in the first aspect, it further includes: a conveying mechanism, which conveys the sample to the acquisition station.
[0019] As described above, the sample can be conveyed to the acquisition station by the conveying mechanism, thereby improving the automation degree in the spectral data acquisition process, improving the position accuracy of the sample, and enhancing the acquisition accuracy and efficiency.
[0020] As a possible implementation manner in the first aspect, it further includes: an environmental information acquisition device, which is arranged on the bracket and acquires the temperature and / or humidity of the surrounding environment.
[0021] As described above, the temperature and humidity of the environment can be acquired by the environmental information acquisition device to improve the stability when analyzing the spectral data of the sample and enhance the acquisition accuracy.
[0022] In the second aspect of the present application, a spectral imaging data acquisition method is provided. The spectral data of a sample is acquired by using the spectral imaging data acquisition system described in any item of the first aspect of the present application, and it includes: obtaining first information, where the first information is the position and angle information of the spectral imaging device; driving the spectral imaging device to perform three-dimensional movement according to the first information, and driving the spectral imaging device to rotate according to the first information; controlling the spectral imaging device to acquire the spectral data of the sample.
[0023] As described above, the spectral imaging device can be controlled to perform three-dimensional movement and drive the spectral imaging device to rotate according to the first information, thereby automatically adjusting the position and angle of the spectral imaging device to improve the automation degree in the spectral data acquisition process, reduce the error generated when manually adjusting the spectral imaging device, and enhance the acquisition accuracy and efficiency.
[0024] As a possible implementation in the second aspect, before collecting spectral data, control the dark bottom baffle to block the spectral imaging device, and control the spectral imaging device to perform dark bottom correction; obtain second information, where the second information is the position and angle information of the first fill light and the second fill light; drive the first fill light and the second fill light to move and rotate according to the second information, and use the first fill light and the second fill light to illuminate the sample; control the white board to be vertically placed on the side of the sample facing away from the spectral imaging device, and control the spectral imaging device to perform white board correction.
[0025] As described above, automatic control of the first fill light and the second fill light can be achieved, so as to improve the automation degree in the spectral data collection process, reduce the errors generated during manual adjustment of the spectral imaging device, and improve the collection accuracy and collection efficiency. It is also possible to automatically perform dark bottom correction and white board correction on the spectral imaging device, thereby improving the automation degree in the spectral data collection process, reducing the errors generated during manual adjustment of the spectral imaging device, and improving the collection accuracy and collection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The following further describes each feature of the present invention and the relationship between each feature with reference to the drawings. The drawings are all exemplary. Some features are not shown in actual proportion, and some conventional features in the field related to the present application that are unnecessary for the present application may be omitted in some drawings, or some features that are unnecessary for the present application may be additionally shown. The combination of the features shown in the drawings is not used to limit the present application. In addition, throughout this specification, the content referred to by the same reference numerals is also the same. The specific description of the drawings is as follows:
[0027] Figure 1 It is a schematic structural diagram of the spectral imaging data collection system in the embodiment of the present application;
[0028] Figure 2 It is a schematic flow diagram of the spectral imaging data collection method of the present application;
[0029] Figure 3 It is a schematic principle diagram of the controller in the embodiment of the present application;
[0030] Figure 4 It is a schematic flow diagram of the spectral imaging data collection method in the embodiment of the present application;
[0031] Figure 5 It is a schematic structural diagram of a computing device provided by the embodiment of the present application.
[0032] Description of reference numerals in the drawings: 10 - spectral imaging data acquisition system; 110 - bracket; 111 - acquisition station; 120 - spectral imaging device; 130 - first position control mechanism; 140 - first fill light; 150 - second position control mechanism; 160 - second fill light; 170 - third position control mechanism; 180 - dark bottom baffle; 190 - fourth position control mechanism; 210 - white board; 220 - fifth position control mechanism; 230 - conveying mechanism; 500 - computing device; 510 - processor; 520 - memory; 530 - communication interface; 600 - controller. Detailed implementation manners
[0033] The terms "first", "second", "third", etc. or terms such as module A, module B, module C, etc. in the description and claims are only used to distinguish similar objects and do not represent a specific order for the objects. Understandably, the specific order or sequence can be interchanged when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0034] In the following description, the reference numerals representing steps, such as S310, S320... etc., do not necessarily mean that the steps will be executed in this order. The order of the front and rear steps can be interchanged when permitted, or they can be executed simultaneously.
[0035] The term "comprising" used in the description and claims should not be construed as being limited to the content listed thereafter; it does not exclude other elements or steps. Therefore, it should be construed as specifying the existence of the described features, wholes, steps or components, but does not exclude the existence or addition of one or more other features, wholes, steps or components and their groups. Therefore, the expression "a device comprising device A and B" should not be limited to a device consisting only of components A and B.
[0036] The "one embodiment" or "embodiment" mentioned in this specification means that the specific features, structures or characteristics described in connection with the embodiment are included in at least one embodiment of the present invention. Therefore, the phrases "in one embodiment" or "in an embodiment" that appear throughout this specification do not necessarily all refer to the same embodiment, but may refer to the same embodiment. In addition, in one or more embodiments, the various specific features, structures or characteristics can be combined in any appropriate manner, as will be apparent to those of ordinary skill in the art from this disclosure.
[0037] Next, with reference to the drawings, the spectral imaging data acquisition system 10 in the embodiments of the present application will be described in detail.
[0038] Figure 1 It is a schematic structural diagram of the spectral imaging data acquisition system 10 in the embodiments of the present application. As Figure 1As shown in the figure, the spectral imaging data acquisition system 10 in the embodiments of the present application is used to acquire spectral data of a sample, including: a bracket 110, on which an acquisition station 111 is provided, and the sample acquires spectral data at the acquisition station 111; a spectral imaging device 120, which is arranged on the bracket 110; a first position control mechanism 130, which is arranged on the bracket 110 and drives the spectral imaging device 120 to perform three-dimensional movement on the bracket 110 and drives the spectral imaging device 120 to rotate. Thus, the first position control mechanism 130 can be used to control the three-dimensional movement of the spectral imaging device 120 and drive the spectral imaging device 120 to rotate, so that the position and angle of the spectral imaging device 120 can be automatically adjusted, thereby improving the automation degree in the spectral data acquisition process, reducing the errors generated when manually adjusting the spectral imaging device 120, and improving the acquisition accuracy and acquisition efficiency.
[0039] Specifically, the bracket 110 can be, for example Figure 1 the frame-type structure in the shape of a cuboid shown in the figure, or other types of installation structures for installing other devices, and there is no limitation thereto.
[0040] The first position control mechanism 130 includes a first pitching control servo, and the spectral imaging device 120 is arranged on the first pitching control servo, and the first pitching control servo controls the spectral imaging device 120 to rotate to change the pitching angle.
[0041] The first position control mechanism 130 further includes a first front-back moving motor, a first left-right moving motor, and a first up-down locked moving motor. Among them, two first front-back moving motors are provided, and the two first front-back moving motors are respectively located on the front and rear sides of the first pitching control servo, and synchronously push the first pitching control servo to move in the front-back direction on the bracket 110, thereby changing the position of the spectral imaging device 120 in the front-back direction. Two first left-right moving motors are provided, and the two first left-right moving motors are respectively located on the left and right sides of the first pitching control servo, and synchronously push the first pitching control servo to move in the left-right direction on the bracket 110, thereby changing the position of the spectral imaging device 120 in the left-right direction. Two first up-down locked moving motors are provided, and the two first up-down locked moving motors are respectively located on the upper and lower sides of the first pitching control servo, and synchronously push the first pitching control servo to move in the up-down direction on the bracket 110, and the self-locking function of the first up-down locked moving motor is used to keep the height of the first pitching control servo fixed, thereby changing the position of the spectral imaging device 120 in the up-down direction.
[0042] In some embodiments, such as Figure 1As shown in the figure, the spectral imaging data acquisition system 10 in the embodiment of the present application further includes: a first fill light 140, the first fill light 140 is arranged on the bracket 110 and is located on the side of the acquisition station 111; a second position control mechanism 150, the second position control mechanism 150 is arranged on the bracket 110, driving the first fill light 140 to move away from or close to the acquisition station 111, and driving the first fill light 140 to rotate. Thus, the distance and angle between the first fill light 140 and the acquisition station 111 can be adjusted by the second position control mechanism 150, so as to realize the automatic control of the first fill light 140, improve the automation degree in the spectral data acquisition process, reduce the error generated when manually adjusting the spectral imaging device 120, and improve the acquisition accuracy and acquisition efficiency.
[0043] In some embodiments, as Figure 1 shown, the first fill lights 140 are arranged in pairs and are respectively located on both sides of the acquisition station 111. Thus, by arranging the first fill lights 140 in pairs on both sides of the acquisition station 111, various fill light requirements can be met, and the applicable range of the spectral imaging data acquisition system 10 can be improved.
[0044] The second position control mechanism 150 includes a first rotation-pitch pan-tilt head, the first fill light 140 is arranged on the first rotation-pitch pan-tilt head, and the first fill light 140 is controlled by the first rotation-pitch pan-tilt head to rotate and change the pitch angle.
[0045] The second position control mechanism 150 further includes a second front-back moving motor, a second left-right moving motor, and a second up-down locking moving motor. Among them, there are two second front-back moving motors, and the two second front-back moving motors are respectively located on the front and back sides of the first rotation-pitch pan-tilt head, and synchronously push the first rotation-pitch pan-tilt head to move in the front-back direction on the bracket 110, so as to change the position of the first fill light 140 in the front-back direction. There are two second left-right moving motors, and the two second left-right moving motors are respectively located on the left and right sides of the first rotation-pitch pan-tilt head, and synchronously push the first rotation-pitch pan-tilt head to move in the left-right direction on the bracket 110, so as to change the position of the first fill light 140 in the left-right direction. There are two second up-down locking moving motors, and the two second up-down locking moving motors are respectively located on the upper and lower sides of the first rotation-pitch pan-tilt head, and synchronously push the first rotation-pitch pan-tilt head to move in the up-down direction on the bracket 110, and the height of the first rotation-pitch pan-tilt head is kept fixed by the self-locking function of the second up-down locking moving motor, so as to change the position of the first fill light 140 in the up-down direction.
[0046] In some embodiments, as Figure 1As shown, the spectral imaging data acquisition system 10 in the embodiment of the present application further includes: a second fill light 160, the second fill light 160 is arranged on the bracket 110 and is located above the acquisition station 111; a third position control mechanism 170, the third position control mechanism 170 is arranged on the bracket 110, drives the second fill light 160 to move in the horizontal direction, and drives the second fill light 160 to rotate. Thus, the position and angle of the second fill light 160 above the acquisition station 111 are adjusted by the third position control mechanism 170, so that the top of the sample on the acquisition station 111 can be filled with light. Thus, the automatic control of the second fill light 160 can be realized, the automation degree in the spectral data acquisition process can be improved, the error generated when manually adjusting the spectral imaging device 120 can be reduced, and the acquisition accuracy and acquisition efficiency can be improved. The spectral imaging data acquisition system 10 can also adapt to various fill light requirements and improve the applicable range.
[0047] The third position control mechanism 170 includes a second rotation-pitch gimbal, the second fill light 160 is arranged on the second rotation-pitch gimbal, and the second fill light 160 is controlled by the second rotation-pitch gimbal to rotate and change the pitch angle.
[0048] The third position control mechanism 170 further includes a third front-back movement motor and a third left-right movement motor. Among them, two third front-back movement motors are provided, and the two third front-back movement motors are respectively located on the front and back sides of the second rotation-pitch gimbal, and synchronously push the second rotation-pitch gimbal to move in the front-back direction on the bracket 110, so as to change the position of the second fill light 160 in the front-back direction. Two third left-right movement motors are provided, and the two third left-right movement motors are respectively located on the left and right sides of the second rotation-pitch gimbal, and synchronously push the second rotation-pitch gimbal to move in the left-right direction on the bracket 110, so as to change the position of the second fill light 160 in the left-right direction.
[0049] In some embodiments, as Figure 1 As shown, the spectral imaging data acquisition system 10 in the embodiment of the present application further includes: a dark bottom baffle 180; the dark bottom baffle 180 is arranged on the bracket 110; a fourth position control mechanism 190, the fourth position control mechanism 190 is arranged on the bracket 110, and drives the dark bottom baffle 180 to block the spectral imaging device 120. The fourth position control mechanism 190 can specifically be a second pitch control servo. When in use, the dark bottom baffle 180 maintains a horizontal state, and the first position control mechanism 130 moves the spectral imaging device 120 to the dark bottom correction position (the position below the dark bottom baffle 180), and then the second pitch control servo controls the dark bottom baffle 180 to flip to a vertical state to block the spectral imaging device 120, so as to complete the dark bottom acquisition correction. Thus, the automation degree in the spectral data acquisition process can be improved, and the acquisition accuracy and acquisition efficiency can be improved.
[0050] In some embodiments, as Figure 1 shown, the spectral imaging data acquisition system 10 in the embodiments of the present application further includes: a whiteboard 210, the whiteboard 210 is arranged on a bracket 110; a fifth position control mechanism 220, the fifth position control mechanism 220 is arranged on the bracket 110, and drives the whiteboard 210 to be vertically located at a position on the side of the acquisition station 111 facing away from the spectral imaging device 120. Thus, the position of the whiteboard 210 can be controlled by the fifth position control mechanism 220, so as to realize the calibration of the whiteboard 210 of the spectral imaging device 120. Thus, the degree of automation in the spectral data acquisition process can be improved, and the acquisition accuracy and acquisition efficiency are improved.
[0051] Specifically, the whiteboard 210 is installed on the bracket 110 through a movable hinge and can be flipped on the bracket 110 to achieve vertical placement and horizontal placement.
[0052] The fifth position control mechanism 220 has a stretching motor. The stretching motor moves downward to drive the hydraulic rod to move, and the hydraulic rod and the whiteboard 210 are connected by using a movable hinge. The stretching motor moves to a specific position to make the whiteboard 210 reach a horizontal state. When vertical placement is required, the stretching motor moves upward to drive the hydraulic rod to move, and the hydraulic rod and the whiteboard 210 are connected by using a movable hinge. The stretching motor moves to a specific position to make the whiteboard 210 reach a vertical state.
[0053] In some embodiments, as Figure 1 shown, the spectral imaging data acquisition system 10 in the embodiments of the present application further includes: a conveying mechanism 230, and the conveying mechanism 230 conveys the sample to the acquisition station 111. Thus, the sample can be conveyed to the acquisition station 111 by the conveying mechanism 230, so that the degree of automation in the spectral data acquisition process can be improved, the position accuracy of the sample is improved, and the acquisition accuracy and acquisition efficiency are improved.
[0054] Specifically, the acquisition station 111 is located at the middle position near the front side of the bracket 110, and the conveying mechanism 230 is a conveyor belt arranged on the bracket 110, which can convey the sample to the acquisition station 111.
[0055] As Figure 1 shown, the conveyor belt is in a runway shape and has two straight parts. One straight part extends along the left-right direction of the bracket 110 and is inside the bracket 110, and the acquisition station 111 is located at the middle position of this straight part. The other straight part is located outside the bracket 110, which is convenient for users to place / take samples on / from the conveyor belt.
[0056] In some embodiments, as Figure 1As shown in the figure, the spectral imaging data acquisition system 10 in the embodiment of the present application further includes: an environmental information acquisition device (not shown in the figure), which is arranged on the bracket 110 and acquires the temperature and / or humidity of the surrounding environment. Thus, the temperature and humidity of the environment can be acquired through the environmental information acquisition device to improve the stability when analyzing the spectral data of the sample and improve the acquisition accuracy.
[0057] In some embodiments, as Figure 1 shown in the figure, the spectral imaging data acquisition system 10 in the embodiment of the present application further includes a power supply and circuit control system component, and the power supply and circuit control system component includes a motor driver group, a servo driver group, a pan-tilt driver group, a serial port to 485 controller group, a multi-channel 485 to TPC controller, a power supply group, and a photoelectric switch group. Among them, the motor driver group is used to drive all the motors of the spectral imaging data acquisition system 10. Specifically, two first front-back moving motors share one to achieve synchronization, two first up-down locked moving motors share one to achieve synchronization, two first left-right moving motors share one, two second front-back moving motors share one to achieve synchronization, two second up-down locked moving motors share one to achieve synchronization, two second front-back moving motors share one to achieve synchronization, two left-right moving motors share one to achieve synchronization, and the stretching motor is independent.
[0058] In addition, for those with an independent driver, the wires leading to the two motors need to be of equal length. Among them, the servo driver group is used to drive all the servos of the spectral imaging data acquisition system 10, that is, the first pitch control servo and the second pitch control servo. Among them, the pan-tilt driver group is used to drive all the pan-tilts of the spectral imaging data acquisition system 10, that is, the first rotation-pitch pan-tilt and the second rotation-pitch pan-tilt.
[0059] Among them, the serial port to 485 controller group includes the communication control connections of the servo driver group and the pan-tilt driver group. Among them, the multi-channel 485 to TPC controller includes the serial port to 485 controller group and the motor driver group. The power supply group includes: 24V direct current required by the motor driver group, 12V direct current of the servo driver group, 8V direct current of the pan-tilt driver group, 12V direct current of the serial port to 485 controller group, and 12V direct current of the multi-channel 485 to TPC controller. The photoelectric switch group includes: photoelectric switches set at the relevant limit positions of the first front-back moving motor, the second front-back moving motor, the third front-back moving motor, the first left-right moving motor, the second left-right moving motor, the third left-right moving motor, the first up-down locked moving motor, and the second up-down locked moving motor to limit the positions of each motor.
[0060] The present application also provides a spectral imaging data acquisition method. Next, the specific steps of the spectral imaging data acquisition method in the embodiment of the present application will be described in detail with reference to the accompanying drawings.
[0061] Figure 2 This is a schematic flowchart of the spectral imaging data acquisition method of the present application. As Figure 2 shown, the specific steps of the spectral imaging data acquisition method in the embodiments of the present application include:
[0062] Step S310: Obtain the first information.
[0063] In step S310, the first information is obtained, and the first information is the position and angle information of the spectral imaging device 120.
[0064] Step S320: Control the spectral imaging device 120 to perform three-dimensional movement and rotation.
[0065] In step S320, the spectral imaging device 120 is driven to perform three-dimensional movement according to the first information, and the spectral imaging device 120 is driven to rotate according to the first information.
[0066] Step S370: Collect spectral data.
[0067] In step S370, the spectral imaging device 120 is controlled to collect the spectral data of the sample.
[0068] Thus, the spectral imaging device 120 can be controlled to perform three-dimensional movement according to the first information, and the spectral imaging device 120 can be driven to rotate, so that the position and angle of the spectral imaging device 120 can be automatically adjusted, thereby improving the automation degree in the spectral data acquisition process, reducing the errors generated when manually adjusting the spectral imaging device 120, and improving the acquisition accuracy and acquisition efficiency.
[0069] In some embodiments, as Figure 1 shown, the specific steps of the spectral imaging data acquisition method in the embodiments of the present application further include:
[0070] Step S330: Dark background correction.
[0071] In step S330, the dark background baffle 180 is controlled to block the spectral imaging device 120, and the spectral imaging device 120 is controlled to perform dark background correction.
[0072] Step S340: Obtain the second information
[0073] In step S340, the second information is obtained, and the second information is the position and angle information of the first supplementary light 140 and the second supplementary light 160.
[0074] Step S350: Supplement light for the sample.
[0075] In step S350, the first fill light 140 and the second fill light 160 are driven to move and rotate according to the second information, and the first fill light 140 and the second fill light 160 illuminate the sample.
[0076] Step S360, whiteboard calibration.
[0077] In step S360, the whiteboard 210 is controlled to be vertically positioned on the side of the sample facing away from the spectral imaging device 120, and the spectral imaging device 120 is controlled to perform whiteboard 210 calibration.
[0078] As described above, automatic control of the first fill light 140 and the second fill light 160 can be achieved to improve the degree of automation in the spectral data acquisition process, reduce the errors generated during manual adjustment of the spectral imaging device 120, and improve the acquisition accuracy and acquisition efficiency. The spectral imaging device 120 can also be automatically corrected for dark background and the whiteboard 210, thereby improving the degree of automation in the spectral data acquisition process, reducing the errors generated during manual adjustment of the spectral imaging device 120, and improving the acquisition accuracy and acquisition efficiency.
[0079] This application also provides a controller 600 for executing the above spectral imaging data acquisition method. The controller 600 can be a PLC, a computer, or other types of control devices, and there is no limitation thereto. Hereinafter, the controller 600 in the embodiments of this application will be described in detail with reference to the accompanying drawings.
[0080] Figure 3 It is a schematic diagram of the principle of the controller 600 in the embodiments of this application. As Figure 3 shown, the controller 600 in this application obtains the first information, and the first information is the position and angle information of the spectral imaging device 120. The controller 600 drives the spectral imaging device 120 to perform three-dimensional movement according to the first information, and drives the spectral imaging device 120 to rotate according to the first information. The controller 600 controls the spectral imaging device 120 to collect spectral data of the sample. Thus, the spectral imaging device 120 can be controlled to perform three-dimensional movement and driven to rotate according to the first information, so that the position and angle of the spectral imaging device 120 can be automatically adjusted to improve the degree of automation in the spectral data acquisition process, reduce the errors generated during manual adjustment of the spectral imaging device 120, and improve the acquisition accuracy and acquisition efficiency.
[0081] Further, before collecting spectral data, the controller 600 controls the dark bottom baffle 180 to block the spectral imaging device 120, and the controller 600 controls the spectral imaging device 120 to perform dark bottom correction. The controller 600 obtains second information, which is the position and angle information of the first fill light 140 and the second fill light 160. The controller 600 drives the first fill light 140 and the second fill light 160 to move and rotate according to the second information, and the first fill light 140 and the second fill light 160 illuminate the sample. The controller 600 controls the white board 210 to be vertically positioned on the side of the sample facing away from the spectral imaging device 120, and controls the spectral imaging device 120 to perform white board 210 correction. Thus, automatic control of the first fill light 140 and the second fill light 160 can be achieved, so as to improve the degree of automation in the spectral data collection process, reduce the errors generated when manually adjusting the spectral imaging device 120, and improve the collection accuracy and collection efficiency. Automatic dark bottom correction and white board 210 correction of the spectral imaging device 120 can also be performed, thereby improving the degree of automation in the spectral data collection process, reducing the errors generated when manually adjusting the spectral imaging device 120, and improving the collection accuracy and collection efficiency.
[0082] Next, in combination with specific embodiments, the specific steps of the spectral imaging data collection method in the present application will be described in detail.
[0083] Figure 4 It is a schematic flow chart of the spectral imaging data collection method in the embodiment of the present application. As Figure 4 shown, the specific steps of the spectral imaging data collection method in the present application include:
[0084] Step S401: Move the sample to the collection station 111.
[0085] In step S401, first, the conveyor mechanism 230 is used to sequentially move the samples required for data collection to the collection station 111.
[0086] Step S402: Move the spectral imaging device 120 to the dark bottom correction position.
[0087] In step S402, the first position control mechanism 130 is used to move the spectral imaging device 120 to a suitable dark bottom correction position.
[0088] Step S403: Dark bottom correction.
[0089] In step S403, the fourth position control mechanism 190 is used to control the dark bottom baffle 180 to block the spectral imaging device 120, and then the spectral imaging device 120 is controlled to perform dark bottom correction.
[0090] Step S404: Move the spectral imaging device 120 to the front view position.
[0091] In step S404, the user inputs the position information collected in the frontal view, and this position information includes the three-dimensional position and the pitch angle of the spectral imaging device 120. The first position control mechanism 130 moves the spectral imaging device 120 to the frontal view position according to the position information, and uses the data acquisition control system software to record the three-dimensional coordinates of the current position and the pitch angle of the spectral imaging device 120.
[0092] Step S405, adjust the side supplementary lighting.
[0093] In step S405, the user inputs the side supplementary lighting information, and the second position control mechanism 150 adjusts the position and the pitch angle of the first supplementary lamps 140 on both sides according to the supplementary lighting information, and uses the data acquisition control system software to record the three-dimensional coordinates of the current position and the pitch angle of the spectral imaging device 120.
[0094] Step S406, calibrate the whiteboard 210.
[0095] In step S406, the fifth position control mechanism 220 controls the whiteboard 210 to flip to the vertical state so that the spectral imaging device 120 can calibrate the whiteboard 210.
[0096] Step S407, collect spectral data.
[0097] In step S407, control the spectral imaging device 120 to collect the spectral imaging data on the frontal view side of the sample, and use the environmental information collection device to collect and record the temperature and humidity information and send it to the data acquisition control system software, and the data acquisition control system software records the current temperature and humidity values.
[0098] Step S408, move the spectral imaging device 120 to the top view position.
[0099] In step S408, the user inputs the position information collected in the top view, and this position information includes the three-dimensional position and the pitch angle of the spectral imaging device 120. The first position control mechanism 130 moves the spectral imaging device 120 to the top view position according to the position information, and uses the data acquisition control system software to record the three-dimensional coordinates of the current position and the pitch angle of the spectral imaging device 120.
[0100] Step S409, adjust the top supplementary lighting.
[0101] In step S409, the user inputs the side supplementary lighting information, and the third position control mechanism 170 adjusts the position and the pitch angle of the second supplementary lamp 160 on the top according to the supplementary lighting information, and uses the data acquisition control system software to record the three-dimensional coordinates of the current position and the pitch angle of the spectral imaging device 120.
[0102] Step S410, calibrate the whiteboard 210 again.
[0103] In step S410, after the positions and pitching angles of the first supplementary light 140 and / or the second supplementary light 160 change, the spectral imaging device 120 is controlled to perform whiteboard 210 calibration again.
[0104] Step S411: Spectral data acquisition.
[0105] In step S411, the spectral imaging device 120 is controlled to acquire spectral imaging data of the top side of the sample, and the environmental information acquisition device is used to acquire and record temperature and humidity information and send it to the data acquisition control system software, and the data acquisition control system software records the current temperature and humidity values.
[0106] Figure 5 It is a structural schematic diagram of a computing device 500 provided by an embodiment of the present application. The computing device 500 includes: a processor 510, a memory 520, and a communication interface 530.
[0107] It should be understood that Figure 5 the communication interface 530 in the shown computing device 500 can be used to communicate with other devices.
[0108] Among them, the processor 510 can be connected to the memory 520. The memory 520 can be used to store the program code and data. Therefore, the memory 520 can be an internal storage unit of the processor 510, an external storage unit independent of the processor 510, or a component including an internal storage unit of the processor 510 and an external storage unit independent of the processor 510.
[0109] It should be understood that in the embodiment of the present application, the processor 510 can adopt a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. Or the processor 510 adopts one or more integrated circuits to execute relevant programs to implement the technical solutions provided by the embodiments of the present application.
[0110] The memory 520 may include a read-only memory and a random access memory, and provide instructions and data to the processor 510. A part of the processor 510 may also include a non-volatile random access memory. For example, the processor 510 may also store information about the device type.
[0111] When the computing device 500 is running, the processor 510 executes the computer-executable instructions in the memory 520 to perform the operation steps of the above method.
[0112] It should be understood that the computing device 500 according to the embodiments of the present application may correspond to the corresponding subject executing the methods according to the embodiments of the present application, and the above and other operations and / or functions of each module in the computing device 500 respectively implement the corresponding processes of the methods of the present embodiments. For the sake of brevity, they will not be described in detail here.
[0113] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.
[0114] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be described in detail here.
[0115] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0116] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
[0117] In addition, in each embodiment of the present application, each functional unit may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
[0118] If the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.
[0119] The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it is used to execute a method for generating diverse problems, and the method includes at least one of the solutions described in the above-mentioned various embodiments.
[0120] The computer storage medium of the embodiments of the present application may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
[0121] A computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0122] The program code contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0123] The computer program code for performing the operations of this application may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partially on the user's computer, execute as a stand-alone software package, execute partially on the user's computer and partially on a remote computer, or execute entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0124] Note that the above is only a preferred embodiment of this application and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although this application has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments may be included, all of which fall within the protection scope of the present invention.
Claims
1. A spectral imaging data acquisition system for acquiring spectral data of a sample, characterized in that, Comprising: A bracket, on which a collection station is provided, where the sample performs spectral data collection at the collection station; A spectral imaging device, which is arranged on the bracket; A first position control mechanism, which is arranged on the bracket, drives the spectral imaging device to perform three-dimensional movement on the bracket, and drives the spectral imaging device to rotate.
2. The spectral imaging data acquisition system according to claim 1, characterized in that, The system further comprises: A first supplementary light, which is arranged on the bracket and is located on the side of the collection station; A second position control mechanism, which is arranged on the bracket, drives the first supplementary light to move away from or close to the collection station, and drives the first supplementary light to rotate.
3. The spectral imaging data acquisition system according to claim 2, characterized in that, The first supplementary lights are arranged in pairs and are respectively located on both sides of the collection station.
4. The spectral imaging data acquisition system according to claim 1, characterized in that, It further comprises: A second supplementary light, which is arranged on the bracket and is located above the collection station; A third position control mechanism, which is arranged on the bracket, drives the second supplementary light to move in the horizontal direction and drives the second supplementary light to rotate.
5. The spectral imaging data acquisition system according to claim 1, characterized in that, The system further comprises: A dark bottom baffle; the dark bottom baffle is arranged on the bracket; A fourth position control mechanism, which is arranged on the bracket, drives the dark bottom baffle to block the spectral imaging device.
6. The spectral imaging data acquisition system according to claim 1, characterized in that, The system further comprises: A white board, which is arranged on the bracket; A fifth position control mechanism, which is arranged on the bracket, drives the white board to be vertically located at a position on the side of the collection station facing away from the spectral imaging device.
7. The spectral imaging data acquisition system according to claim 1, characterized in that, The system further comprises: A conveying mechanism, which conveys the sample to the collection station.
8. The spectral imaging data acquisition system according to claim 1, characterized in that, The system further comprises: An environmental information collection device, which is arranged on the bracket and collects the temperature and / or humidity of the surrounding environment.
9. A spectral imaging data acquisition method, characterized in that, When using the spectral imaging data collection system according to any one of claims 1-8 to collect spectral data of a sample, the method comprises: Obtaining first information, where the first information is the position and angle information of the spectral imaging device; Driving the spectral imaging device to perform three-dimensional movement according to the first information, and driving the spectral imaging device to rotate according to the first information; Controlling the spectral imaging device to collect spectral data of the sample.
10. The spectral imaging data acquisition method according to claim 9, characterized in that, Before collecting spectral data, controlling the dark bottom baffle to block the spectral imaging device, and controlling the spectral imaging device to perform dark bottom correction; Obtaining second information, where the second information is the position and angle information of the first supplementary light and the second supplementary light; Driving the first supplementary light and the second supplementary light to move and rotate according to the second information, and using the first supplementary light and the second supplementary light to supplement light for the sample; Controlling the white board to be vertically located at a position on the side of the sample facing away from the spectral imaging device, and controlling the spectral imaging device to perform white board correction.
Citation Information
Patent Citations
Apparatus for automatic white board storage and fetching during correction process of field spectral imaging system
CN105403519A
Device for synchronously acquiring plant reflection spectrum and absorption spectrum images at high flux and working method thereof
CN112362603A
Integrated meat product multi-index rapid nondestructive testing system
CN114002182A
Lithology identification method and system based on spectral imaging technology
CN115713645A
Agricultural product damage identification method, device and system based on hyperspectral image
CN116110043A