WO2022126425A1 - Experiment observation method and system - Google Patents

Experiment observation method and system Download PDF

Info

Publication number
WO2022126425A1
WO2022126425A1 PCT/CN2020/136802 CN2020136802W WO2022126425A1 WO 2022126425 A1 WO2022126425 A1 WO 2022126425A1 CN 2020136802 W CN2020136802 W CN 2020136802W WO 2022126425 A1 WO2022126425 A1 WO 2022126425A1
Authority
WO
WIPO (PCT)
Prior art keywords
test tube
virtual
tube rack
observation
receiver
Prior art date
Application number
PCT/CN2020/136802
Other languages
French (fr)
Chinese (zh)
Inventor
师雪坤
马健
温书豪
赖力鹏
Original Assignee
深圳晶泰科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳晶泰科技有限公司 filed Critical 深圳晶泰科技有限公司
Priority to PCT/CN2020/136802 priority Critical patent/WO2022126425A1/en
Publication of WO2022126425A1 publication Critical patent/WO2022126425A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Definitions

  • the invention relates to experimental observation technology, in particular to an augmented reality experimental observation method and system.
  • An experimental observation method comprising:
  • Obtaining the position Control to receive the transmission signal of the transmitter installed at the four corners of the observation tube rack, locate according to the emission signal, obtain the position of the observation test tube rack, and obtain the position of the observation test tube rack in the virtual scene of the see-through augmented reality glasses;
  • Obtaining and collecting data control the turbidity sensor on the test tube rack to collect the turbidity of the test tube in real time, control the image acquisition device on the test tube rack to collect the test tube image in real time, and obtain the real-time acquisition of the test tube by the turbidity sensor and the image acquisition device data;
  • Rendering the virtual front view When obtaining the frontal view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and observe the width of the test tube rack.
  • the center point of the height is located in the center of the virtual front view
  • the control is to display the cell corresponding to the position of the test tube in the observation test tube rack in the virtual front view
  • the center of the cell corresponds to the center of the test tube position in the front view
  • the cell includes: according to the image the image display part of the test tube formed by the pictures collected by the collecting device, and the turbidity representation part of the test tube solution formed according to the turbidity data collected by the turbidity sensor;
  • P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
  • P* h1 is on the A*B* side
  • AP h1 :AB A*P* h1 *:A*B*
  • P* w1 is on the A*C* side
  • AP w1 :AC A*P* w1 *:A*C*
  • P* h2 is on the C*D* side
  • CP h2 :CD C*P* h2 *:C*D*
  • P* w2 is on the B*D* side
  • BPw2 :BD B*P* w2 *:B*D*
  • P* is on P* h1 P* h2
  • PP h1 :P h1 P h2 P*P* h1 :P* h1 P* h2 ,
  • Display output Control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene.
  • the height of the cell is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube; 1 pixel of the virtual front view corresponds to 1 ⁇ 1 of the real-life electronic observation test tube rack In the area of square millimeter, if the width of the corresponding test tube rack is obtained according to the distance between the two launchers in the horizontal direction and the height of the corresponding test tube rack obtained according to the distance between the two launchers in the longitudinal direction is L w mm and L h mm respectively , then the pixel coordinates of vertex A of the virtual front view are (0, 0), the pixel coordinates of vertex B are (L w , 0), the pixel coordinates of vertex C are (0, L h ), and the pixel coordinates of vertex D is (L w , L h ).
  • the observation test tube rack comprises: a frame, test tube units arranged on the frame, transmitters arranged at four corners of the frame, and a test tube rack controller arranged on the frame, the frame comprising : a vertical plate, a test tube rack layer plate and a circuit control groove arranged on the vertical plate, the test tube rack layer plate is provided with a test tube groove for placing test tubes, and the test tube unit includes: a test tube, a turbidity set on both sides of the test tube a sensor, a picture acquisition unit arranged at the bottom of the test tube;
  • the augmented reality glasses are see-through AR glasses, and the augmented reality glasses are provided with receivers corresponding to the transmitters on the observation test tube rack, and the receivers include: arranged in the center of two lenses of the augmented reality glasses
  • the first receiver on the connecting frame of the augmented reality glasses, the second receiver and the third receiver which are respectively arranged on the two temples of the augmented reality glasses and are symmetrically arranged, and the connection between the second receiver and the third receiver is
  • the line forms the X-axis of the virtual coordinate system, the straight line passing through the first receiver and perpendicularly intersecting the X-axis forms the Y-axis, and the intersection of the X-axis and the Y-axis forms the virtual origin of the virtual coordinate system, which is perpendicular to the plane where the XY-axis is located, and passes through
  • the straight line of the virtual origin is the Z axis, and the spatial coordinates of the three receivers are respectively recorded as R1(a, 0, 0), R2(
  • the three receivers obtain the distances d1, d2, and d3 of the transmitter at the same time.
  • the coordinates of the transmitter in space are S(x, y, z), solve the system of equations
  • the value of S(x, y, z) can be obtained to locate the absolute position of the transmitter relative to the receiver in space.
  • the transmitter is arranged on the vertical plate of the observation tube rack, the transmitter is an ultrasonic generator, the receiver is an ultrasonic receiver, and the ultrasonic generator has a built-in electronic clock to set The time is a generated bit for ultrasonic encoding; the receiver has a built-in clock, which converts the received ultrasonic waves into electrical signals and transmits them to the processor for reverse decoding according to a unit of set time. If there is a set signal within the set time, decoding It is 1. If the set signal is not received within the set time, it will be decoded as 0. According to the current clock time of the ultrasonic receiver minus the sent clock time, plus the completion time of encoding, the time of sound wave transmission in the air is obtained. Time multiplied by the speed of sound gives the distance between the ultrasonic generator and the ultrasonic receiver.
  • An experimental observation system comprising: an interactive control system, an observation test tube rack communicatively connected to the interactive control system, and augmented reality glasses communicatively connected to the observation test tube rack and the interactive control system, the interactive control system comprising:
  • Connection module search and observe the test tube rack, and communicate with it;
  • Obtaining the position module Control the augmented reality glasses to receive the transmitted signals from the transmitters installed at the four corners of the observation test tube rack, locate according to the transmitted signals, obtain the position of the observation test pipe rack, and obtain the position of the observation test pipe rack in the virtual scene of the perspective augmented reality glasses ;
  • Acquisition and acquisition data module control the turbidity sensor set on the observation test tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, and control the image acquisition device corresponding to the test tube on the observation test tube rack to collect the test tube image in real time, and obtain the turbidity sensor Real-time data collection of the test tube by the image collection device;
  • Rendering virtual front view module When obtaining the front view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and view the test tube rack from the front.
  • the center points of the width and height are located in the center of the virtual front view, and the cells corresponding to the positions of the test tubes in the observation tube rack are controlled to be displayed in the virtual front view, and the center of the cells corresponds to the center of the test tube positions in the front view, and the cells include: a test tube image display part formed by pictures collected by the image acquisition device, and a test tube solution turbidity display part formed according to the turbidity data collected by the turbidity sensor;
  • Transformation module transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, obtain the spatial position of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of augmented reality glasses to convert the pixels in the virtual front view.
  • P(a 1 , b 1 ) obtains P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack through coordinate transformation, and the transformation rules are A, B, C on the virtual front view .
  • the pixels at the four corners of D are transformed and directly mapped to the four spatial points A*, B*, C*, and D* in the virtual scene that can be superimposed on the real test tube rack.
  • Sides AB and CD intersect at P h1 , P h2 , and the straight line parallel to side AB through point P intersects sides AC and BD at P w1 , P w2 ,
  • P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
  • P* h1 is on the A*B* side
  • AP h1 :AB A*P* h1 *:A*B*
  • P* w1 is on the side of A*C*
  • APw1 :AC A*P* w1 *:A*C*
  • P* h2 is on the C*D* side
  • CP h2 :CD C*P* h2 *:C*D*
  • P* w2 is on the B*D* side
  • BP w2 :BD B*P* w2 *:B*D*
  • P* is on P* h1 P* h2
  • PP h1 :P h1 P h2 P*P* h1 :P* h1 P* h2 ,
  • Display output module control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene.
  • the observation test tube rack comprises: a frame, test tube units arranged on the frame, transmitters arranged at four corners of the frame, and a test tube rack controller arranged on the frame, the frame It includes: a vertical plate, a test tube rack layer plate and a circuit control groove arranged on the vertical plate.
  • the test tube rack layer plate is provided with a test tube groove for placing test tubes.
  • a degree sensor and a picture acquisition unit arranged at the bottom of the test tube.
  • the test tube image display part and the test tube solution turbidity display part are arranged correspondingly up and down, the test tube image display part is an image obtained by photographing the corresponding test tube, and the test tube solution turbidity display part is made of translucent
  • the gray scale of , the gray value the turbidity value of the current test tube solution/the maximum value of the turbidity of all test tube solutions, and the width of the cell is 1-5 times the width of the test tube.
  • the height of the cells varies between 1-4 times the width.
  • the height of the cell is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube; 1 pixel of the virtual front view corresponds to 1 ⁇ of the actual electronic observation tube rack
  • the pixel coordinates of vertex A of the virtual front view are (0, 0)
  • the pixel coordinates of vertex B are (L w , 0)
  • the pixel coordinates of vertex C are (0, L h )
  • the pixel coordinates of vertex D is (L w , L h ).
  • the augmented reality glasses are see-through AR glasses, and the augmented reality glasses are provided with receivers corresponding to the transmitters on the observation test tube rack, and the receivers include: The first receiver on the connecting frame in the center of the two lenses of the augmented reality glasses, the second receiver and the third receiver respectively arranged on the two temples of the augmented reality glasses and symmetrically arranged, the second receiver
  • the connection line between the receiver and the third receiver forms the X-axis of the virtual coordinate system
  • the straight line passing through the first receiver and perpendicularly intersecting the X-axis forms the Y-axis
  • the intersection of the X-axis and the Y-axis forms the virtual origin of the virtual coordinate system
  • the spatial coordinates of the three receivers are respectively recorded as R1(a, 0, 0), R2 (-a, 0, 0), R3 (0, b , 0),
  • the three receivers simultaneously obtain the transmitter’s Distances d1, d2, d3, let the coordinates of the transmitter in space be S(x, y, z), solve the equations
  • S(x, y, z) can be obtained to locate the absolute position of the transmitter relative to the receiver in space.
  • the above-mentioned experimental observation method and system combined with augmented reality display technology, real-time camera technology and real-time turbidity sensing technology, can display the real-time status of a large number of experimental test tubes in front of the user, greatly improving the efficiency of experimental observation.
  • FIG. 2 is a partial structural schematic diagram of an observation test tube rack according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a partial structure of a test tube unit according to an embodiment of the present invention.
  • test tube unit 4 is a partial structural schematic diagram of the test tube unit from another perspective according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a partial structure of augmented reality glasses according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a virtual front view of an embodiment of the present invention.
  • FIG. 7 is a schematic transformation diagram of a virtual scene that can be superimposed on a real test tube rack according to a virtual front view transformation according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a virtual scene being superimposed and displayed on a real scene according to an embodiment of the present invention.
  • An experimental observation system includes an observation test tube rack 20 , augmented reality glasses 70 , and an interactive control system.
  • the observation tube rack 20 is a rack that can store general-purpose test tubes.
  • the observation tube rack 20 of this embodiment includes: a frame 22 , a test tube unit 24 disposed on the frame 22 , transmitters 26 disposed on the four corners of the frame 22 , and a test tube rack controller 28 disposed on the frame 22 .
  • the frame 22 of this embodiment includes: a vertical plate 222 , a test tube rack layer plate 224 arranged on the vertical plate 222 , and a circuit control groove 226 arranged on the vertical plate 222 .
  • the test tube rack layer plate 224 of this embodiment is provided with a test tube slot for placing and limiting test tubes.
  • the test tube unit 24 in this embodiment includes: a test tube 242 , a turbidity sensor 244 disposed on both sides of the test tube 242 , and a picture acquisition unit 246 disposed at the bottom of the test tube 242 .
  • the picture acquisition unit 246 in this embodiment may use a camera to perform image acquisition.
  • a turbidity sensor and a camera are added to the position of each test tube 242 .
  • the turbidity sensor 244 and the camera are connected with the line control slot 226 , which aggregates and connects these lines to the test tube rack controller 28 .
  • the turbidity sensor 244 in this embodiment includes: a turbidity module transmitter 2442 and a turbidity module receiver 2444 .
  • a turbidity sensor including a turbidity module transmitter, a turbidity module receiver
  • an observation unit composed of a camera to monitor the solution in the test tube.
  • Turbidity is caused by suspended particles in the water. Suspended particles will diffusely reflect incident light. Usually, the scattered light in the direction of 90 degrees is used as the test signal. The scattered light and turbidity have a multi-segment linear relationship, so the sensor needs to be calibrated at multiple points. And light source intensity and temperature changes will affect the accuracy of the measurement results. After many experimental studies and theoretical calculations, it is found that the ratio of scattered light to transmitted light is in a linear relationship with turbidity.
  • the turbidity sensor 244 in this embodiment uses the ratio of scattered light to transmitted light to measure turbidity instead of simple scattered light, so the accuracy and reliability of the sensor are improved, the maintenance is simpler, and the pollution resistance is enhanced.
  • the turbidity sensor 244 in this embodiment is an infrared pair tube encapsulated by IR958 and PT958.
  • the light receiving end converts the transmitted light intensity into the corresponding current. By measuring the magnitude of the current at the receiving end, the pollution degree of the water can be calculated.
  • the turbidity current signal is converted into a 0V-5V voltage signal through the resistor R1, and the A/D converter is used for sampling processing, and the single-chip microcomputer can know the current turbidity of the water.
  • the light from the turbidity module transmitter 2442 passes through the glass tube and reaches the turbidity module receiver 2444 so that the turbidity sensor can detect the turbidity of the solution in the glass tube as NTU.
  • the camera in this embodiment is installed at the bottom of the test tube, and directly collects video images in the test tube from the bottom of the test tube.
  • the line control slot 226 has a built-in wired circuit, which can transmit the serial number ID corresponding to the turbidity sensor and the camera and the collected signal to the test tube rack controller 28 in real time.
  • the test tube rack controller 28 in this embodiment has a built-in motherboard, memory, hard disk, processor and Wi-Fi module.
  • the operation of the test tube rack controller 28 can use the Android system, and the system will store the collected signals returned by the lines in the line control slot 226 in the hard disk, allowing the user to directly copy the signal data from the hard disk.
  • the controller will also send signals to an interactive control system such as a computer with supporting software installed through the Wi-Fi module in real time.
  • the augmented reality glasses of this embodiment add an ultrasonic receiver and a built-in Bluetooth module.
  • the augmented reality glasses exchange information through the Bluetooth module and the Bluetooth module of an interactive control system such as a computer, so as to complete the augmented reality glasses and interactive control. system information exchange.
  • the augmented reality glasses in this embodiment are see-through, and both the real external world and virtual information need to be seen, so the imaging system cannot be blocked in front of the line of sight.
  • the virtual information and the real scene are integrated in the form of "stacking", complementing each other and "enhancing" each other.
  • the optical display system of the augmented reality glasses in this embodiment includes: a micro display screen and an optical waveguide optical element.
  • a tiny display used to provide display content to a device can be a self-luminous active device, such as a light-emitting diode panel like micro-OLED and now very popular micro-LED, or it can be a liquid crystal display (including transmissive LCD and reflective LCOS) that requires external light source illumination , as well as digital micromirror arrays (DMDs, the core of DLPs) and laser beam scanners (LBSs) based on microelectromechanical systems (MEMS) technology.
  • a self-luminous active device such as a light-emitting diode panel like micro-OLED and now very popular micro-LED
  • liquid crystal display including transmissive LCD and reflective LCOS
  • DMDs digital micromirror arrays
  • LBSs laser beam scanners
  • MEMS microelectromechanical systems
  • the optical waveguide component adopts optical waveguide technology. After the optical machine completes the imaging process, the waveguide couples the light into its own glass base, and transmits the light to the front of the eye through the principle of "total reflection” and then releases it. In this process, the waveguide is only responsible for transmitting the image. Generally, it does not do any "work” (such as zooming in and out) on the image itself. It can be understood as “parallel light in and parallel light out", so it exists independently of the imaging system. a single element.
  • This characteristic of the optical waveguide has great advantages for optimizing the design and beautifying the appearance of the headgear. Because of the transmission channel of the waveguide, the display screen and imaging system can be moved away from the glasses to the top or side of the forehead, which greatly reduces the blocking of the optical system to the outside world, and makes the weight distribution more ergonomic, thereby improving the Device wearing experience.
  • Augmented reality glasses can project virtual display content on transparent glasses lenses through optical waveguide technology, and users can see the effect of superimposed display of virtual content and real world through glasses.
  • a transmitter 26 for communicating with the augmented reality glasses 70 is disposed at each of the four corners of the observation tube holder of the present embodiment.
  • the augmented reality glasses 70 of this embodiment are provided with a receiver that communicates with the transmitter 26 .
  • the receivers include: a first receiver 72 arranged on a connecting frame in the center of two lenses of the augmented reality glasses 70 , a second receiver 74 and a third receiver 76 respectively arranged on the two temples of the AR glasses and symmetrically arranged .
  • the line connecting the second receiver 74 and the third receiver 76 forms the X-axis of the virtual coordinate system
  • the line passing through the first receiver 72 and perpendicularly intersecting the X-axis forms the Y-axis
  • the intersection of the X-axis and the Y-axis forms the virtual coordinate
  • the virtual origin 75 of the system A line perpendicular to the plane on which the X-Y axis lies and passing through the virtual origin 75 forms the Z axis.
  • the launcher 26 is arranged on the vertical plate of the observation tube rack.
  • the transmitter is preferably an ultrasonic generator.
  • the receiver is preferably an ultrasonic receiver.
  • the ultrasonic generator has a built-in electronic clock, which uses the set time as a generated bit to perform ultrasonic coding.
  • the receiver has a built-in clock, which converts the received ultrasonic waves into electrical signals and transmits them to the processor for reverse decoding according to the set time unit. If there is a set signal within the set time, the decoding will be 1.
  • the specific ultrasonic generator has a built-in electronic clock, and its microprocessor reads the current clock time, and controls the ultrasonic generating circuit to encode the clock time into 40KHZ ultrasonic waves to send out to the outside world.
  • the clock time is timed according to the Unix timestamp, that is, the current time minus January 1, 1970 0:00:00 seconds, and the timing unit is 0.001 seconds.
  • the current time is a 13-bit value after the Unix timestamp. Converting this number to a binary representation is a 48-bit binary number. Reserve a 1 at the front and add a parity bit at the end to get a 50-bit binary number.
  • the ultrasonic generator sends out the current time code every 0.1 seconds, so in every 0.1 seconds, the first 0.05 seconds will send out the time code, and the last 0.05 seconds will be silent.
  • the ultrasonic receiver also has a built-in clock.
  • the receiver can receive 40KHZ ultrasonic waves and convert the ultrasonic waves into electrical signals, which are then decoded by the microprocessor in units of 0.001 seconds. If there is a 40KHZ signal within 0.001 seconds, it will be decoded as 1, decoded to 0 if there is no signal. In this way, the ultrasonic receiver can obtain the clock time sent by the ultrasonic generator. Subtract the time of the clock in the current receiver, subtract the time of the clock sent, and add 0.05 seconds to get the time for the sound wave to travel in the air. Multiplying this time by the speed of sound in air gives the distance between the sonotrode and receiver.
  • the ultrasonic generator can be fixed on the control socket of the observation tube rack, and the specific fixing method can be glue, inlay or other physical fixing methods.
  • the ultrasonic receivers are respectively installed on the two symmetrical temples of the augmented reality glasses 70 and the connecting frame in the center of the two lenses of the glasses.
  • the plane where the three ultrasonic receivers are located is parallel to the cross-section of the head when the glasses are worn on the head.
  • the line connecting the two receivers on the frame constitutes a virtual X-axis.
  • the line passing through the receiver in the center and perpendicular to the X-axis is the Y-axis, and the intersection of the two axes is the virtual origin 75 .
  • the line perpendicular to the plane of the X-Y axis and passing through the virtual origin is the Z axis.
  • a virtual space coordinate system is constructed, and the space coordinates of the three ultrasonic receivers are also uniquely determined. They are denoted as R1 (a, 0, 0), R2 (-a, 0, 0), R3 (0, b, 0), respectively. Where a is the distance from the virtual origin to the receiver on the frame, and b is the distance from the virtual origin to the center receiver. These two distances can be determined by actual measurements.
  • the three ultrasonic receivers obtain the distances d1, d2, d3 of the ultrasonic generator at the same time.
  • Let the coordinates of the ultrasonic generator in space be S(x, y, z), and solve the equations
  • S(x, y, z) can be obtained to locate the absolute position of the generator relative to the receiver in space.
  • an experimental observation method includes:
  • Step S101 obtaining the position: control to receive the transmission signal of the transmitter installed at the four corners of the observation test tube rack, locate according to the transmission signal, obtain the position of the observation test tube rack, and obtain the position of the observation test tube rack in the virtual scene of the perspective augmented reality glasses;
  • Step S103 acquiring the collection data: controlling the turbidity sensor on the test tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, and controlling the image acquisition device corresponding to the test tube on the test tube rack to collect the image of the test tube in real time to obtain the turbidity.
  • Step S105 rendering the virtual front view: when obtaining the front view of the test tube rack, observe the positions of the four corners of the test tube rack to form the vertices A, B, C, and D of the virtual front view, and connect the four sides forming the virtual front view in turn, and view the test tube from the front.
  • the center point of the width and height of the rack is located in the center of the virtual front view, and the control is to display the cell corresponding to the position of the test tube in the observation tube rack in the virtual front view, and the center of the cell corresponds to the center of the position of the test tube in the front view, and the cell 90 includes: The test tube image display part 92 formed according to the picture collected by the image acquisition device, and the test tube solution turbidity display part 94 formed according to the turbidity data collected by the turbidity sensor, as shown in FIG. 6 ;
  • Step S107 transform: transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, acquire the spatial positions of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of the augmented reality glasses, convert the virtual scene in the virtual front view.
  • the pixel point P(a 1 , b 1 ) is obtained by coordinate transformation to P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack, and the transformation rules are A, B on the virtual front view
  • the pixels at the four corners of , C and D are transformed and directly mapped to the four spatial points A*, B*, C*, D* in the virtual scene that can be superimposed on the real test tube rack, and the point P is parallel to the side of AC.
  • the straight line intersects the sides AB and CD at P h1 and P h2 , and the straight line passing through the point P and parallel to the side AB intersects the sides AC and BD at P w1 and P w2 .
  • P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
  • P* h1 is on the A*B* side
  • AP h1 :AB A*P* h1 *:A*B*
  • P* w1 is on the side of A*C*
  • APw1 :AC A*P* w1 *:A*C*
  • P* h2 is on the C*D* side
  • CP h2 :CD C*P* h2 *:C*D*
  • P* w2 is on the B*D* side
  • BPw2 :BD B*P* w2 *:B*D*
  • P* is on P* h1 P* h2
  • PP h1 :P h1 P h2 P*P* h1 :P* h1 P* h2 ,
  • P* is on P* w1 P* w2
  • PP w1 :P w1 P w2 P*P* w1 :P* w1 P* w2 ,
  • Figure 7 is the representation Points of the virtual front view
  • panel (f) in Figure 7 represents points that can be superimposed on a virtual scene of a real test tube rack;
  • Step S109 display output: control to transmit the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for real output, and superimpose the virtual scene on the real scene, as shown in FIG. 8 .
  • step S101 and the acquisition of the acquisition data in step S103 are in no particular order, as long as step S105 is completed before rendering the virtual front view.
  • the width of the cell in this embodiment is 1-5 times the width of the test tube, and when the width is constant, the height of the cell varies between 1-4 times the width.
  • the height of the cell in this embodiment is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube.
  • test tube image display part and the test tube solution turbidity display part in the present embodiment are arranged in parallel and correspondingly up and down.
  • the test tube image display part is the image obtained by shooting the corresponding test tube.
  • 1 pixel of the virtual front view of the present embodiment corresponds to an area of 1 ⁇ 1 square millimeters of the actual observation test tube rack.
  • the heights of the corresponding test tube racks obtained by the distance between the emitters are L w mm and L h mm respectively, then the pixel coordinates of vertex A of the virtual front view are (0, 0), and the pixel coordinates of vertex B are (L w , 0), the C pixel coordinates of the vertex are (0, L h ), and the pixel coordinates of the vertex D are (L w , L h ).
  • the interactive control system of this embodiment includes:
  • Connection module search and observe the test tube rack, and communicate with it;
  • Obtaining the position module control to receive the transmission signal of the transmitter installed at the four corners of the observation test tube rack, locate according to the transmission signal, obtain the position of the observation test tube rack, and obtain the position of the observation test tube rack in the virtual scene of the perspective augmented reality glasses;
  • Acquisition and acquisition data module control the turbidity sensor set on the observation test tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, and control the image acquisition device corresponding to the test tube on the observation test tube rack to collect the test tube image in real time, and obtain the turbidity sensor Real-time data collection of the test tube by the image collection device;
  • Rendering virtual front view module When obtaining the front view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and view the test tube rack from the front.
  • the center points of the width and height are located in the center of the virtual front view, and the cell corresponding to the position of the test tube in the observation tube rack is controlled to be displayed in the virtual front view, and the center of the cell corresponds to the center of the position of the test tube in the front view.
  • the cell 90 includes: The test tube image display part 92 formed by the pictures collected by the collecting device, and the test tube solution turbidity display part 94 formed according to the turbidity data collected by the turbidity sensor, as shown in FIG. 6 ;
  • Transformation module transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, obtain the spatial position of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of augmented reality glasses to convert the pixels in the virtual front view.
  • P(a 1 , b 1 ) obtains P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack through coordinate transformation, and the transformation rules are A, B, C on the virtual front view .
  • the pixels at the four corners of D are transformed and directly mapped to the four spatial points A*, B*, C*, and D* in the virtual scene that can be superimposed on the real test tube rack.
  • Sides AB and CD intersect at P h1 , P h2 , and the straight line parallel to side AB through point P intersects sides AC and BD at P w1 , P w2 ,
  • P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
  • P* h1 is on the A*B* side
  • AP h1 :AB A*P* h1 *:A*B*
  • P* w1 is on the side of A*C*
  • APw1 :AC A*P* w1 *:A*C*
  • P* h2 is on the C*D* side
  • CP h2 :CD C*P* h2 *:C*D*
  • P* w2 is on the B*D* side
  • BPw2 :BD B*P* w2 *:B*D*
  • P* is on P* h1 P* h2
  • PP h1 :P h1 P h2 P*P* h1 :P* h1 P* h2 ,
  • P* is on P* w1 P* w2
  • PP w1 :P w1 P w2 P*P* w1 :P* w1 P* w2 ,
  • Figure 7 is a representation of Points of the virtual front view
  • panel (f) in Figure 7 represents points that can be superimposed on a virtual scene of a real test tube rack;
  • Display output module control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene, as shown in Figure 8.
  • the width of the cell in this embodiment is 1-5 times the width of the test tube, and when the width is constant, the height of the cell varies between 1-4 times the width.
  • the height of the cell in this embodiment is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube.
  • test tube image display part and the test tube solution turbidity display part in the present embodiment are arranged in parallel and correspondingly up and down.
  • the test tube image display part is the image obtained by shooting the corresponding test tube.
  • 1 pixel of the virtual front view of the present embodiment corresponds to an area of 1 ⁇ 1 square millimeters of the actual observation test tube rack.
  • the heights of the corresponding test tube racks obtained by the distance between the emitters are L w mm and L h mm respectively, then the pixel coordinates of vertex A of the virtual front view are (0, 0), and the pixel coordinates of vertex B are (L w , 0), the C pixel coordinates of the vertex are (0, L h ), and the pixel coordinates of the vertex D are (L w , L h ).
  • the augmented reality glasses of this embodiment are superimposed and displayed, so that the real viewing test tube rack and the virtual scene are completely overlapped.
  • the function of overlapping is to make the virtual scene and the real scene visually correspond to each other, so as to achieve the realistic effect of augmented reality.
  • the positions of other displayed information in the virtual scene are completely determined.
  • the specific process of superimposition is through the optical waveguide system of augmented reality glasses, and the virtual scene is projected on the glasses. Because the glasses are transparent, the user can see the effect of superimposed display of the virtual scene and the real scene through the glasses.
  • the invention combines augmented reality display technology, real-time camera technology and real-time turbidity sensing technology.
  • the real-time status of a large number of experimental test tubes can be uniformly displayed in front of the user, which greatly improves the efficiency of experimental observation.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Abstract

An experiment observation method and system. The experiment observation method comprises: acquiring the position of an observation test tube rack (20), and acquiring the position of the observation test tube rack (20) in a virtual scene of perspective augmented reality glasses (70); acquiring real-time collected data of turbidity sensors (244) and image collection apparatuses (246); when facing the front face of the observation test tube rack (20), with a center point of the front-view observation test tube rack (20) being located at the center of a virtual front view, controlling cells (90), which correspond to the positions of test tubes (242), to be displayed in the virtual front view, wherein the cells (90) comprise test tube image display portions (92) and test tube solution turbidity representation portions (94); according to the virtual front view, transforming a virtual scene which can be superimposed onto the observation test tube rack (20); and controlling the virtual scene, which can be superimposed onto the observation test tube rack (20), to be transmitted to the augmented reality glasses (70), so as to perform reality output, and displaying the virtual scene in a reality scene in a superimposed manner. By means of the experiment observation method and system, augmented reality display technology, real-time photography technology and real-time turbidity sensing technology are combined, such that real-time states of a large number of experiment test tubes (242) can be displayed to the eyes of a user in a unified manner, thereby greatly improving the experiment observation efficiency.

Description

实验观测方法及系统Experimental observation method and system 技术领域technical field
本发明涉及实验观测技术,特别涉及一种增强现实的实验观测方法及系统。The invention relates to experimental observation technology, in particular to an augmented reality experimental observation method and system.
背景技术Background technique
在实验研究的过程中,判断每个试管中实验的进展情况非常重要。通常都观察每个试管中是否有固体析出,颜色如何变换,形貌是怎样的,这样可以决定接下来的实验策略。In the process of experimental research, it is very important to judge the progress of the experiment in each test tube. It is usually observed whether there is solid precipitation in each test tube, how the color changes, and what the appearance is, so that the next experimental strategy can be determined.
目前这个过程主要是人工直接观察。尚未有系统能在这个环节提供直接的人机交互。At present, this process is mainly manual direct observation. No system has yet provided direct human-computer interaction in this link.
在实验规模小,需要查看的试管量少的时候,人工观察是可以的。但随着研究的发展,同时进行的实验规模越来越大,当每次需要查看几百甚至几千个试管中的实验情况时,就非常耗时耗力。When the scale of the experiment is small and the number of test tubes to be inspected is small, manual observation is possible. However, with the development of research, the scale of simultaneous experiments has become larger and larger, and it is very time-consuming and labor-intensive when it is necessary to check the experimental conditions in hundreds or even thousands of test tubes each time.
发明内容SUMMARY OF THE INVENTION
基于此,有必要提供一种可提高效率的实验观测方法。Based on this, it is necessary to provide an experimental observation method that can improve the efficiency.
同时,提供一种可提高效率的实验观测系统。At the same time, an experimental observation system with improved efficiency is provided.
一种实验观测方法,包括:An experimental observation method comprising:
获取位置:控制接收安装在观测试管架四角的发射器的发射信号,根据发射信号进行定位,获取观测试管架的位置,获取观测试管架在透视的增强现实眼镜的虚拟场景的位置;Obtaining the position: Control to receive the transmission signal of the transmitter installed at the four corners of the observation tube rack, locate according to the emission signal, obtain the position of the observation test tube rack, and obtain the position of the observation test tube rack in the virtual scene of the see-through augmented reality glasses;
获取采集数据:控制观测试管架上的浊度传感器对试管浊度进行实时采集,控制观测试管架上的图像采集装置对试管图像进行实时采集,获取浊度传感器和图像采集装置对试管的实时采集数据;Obtaining and collecting data: control the turbidity sensor on the test tube rack to collect the turbidity of the test tube in real time, control the image acquisition device on the test tube rack to collect the test tube image in real time, and obtain the real-time acquisition of the test tube by the turbidity sensor and the image acquisition device data;
渲染虚拟正视图:获取正面面对观测试管架时,观测试管架四角的位置,形成虚拟正视图的顶点A、B、C、D,依次连接形成虚拟正视图的四边,正视观测试管架的宽、高的中心点位于虚拟正视图中心,控制在虚拟正视图显示与观测试管架中试管位置对应的单元格,单元格的中心与正视的试管位置的中心对应,所述单元格包括:根据图像采集装置采集的图片形成的试管图像显示部分、根据浊度传感器采集的浊度数据形成的试管溶液浊度表示部分;Rendering the virtual front view: When obtaining the frontal view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and observe the width of the test tube rack. The center point of the height is located in the center of the virtual front view, and the control is to display the cell corresponding to the position of the test tube in the observation test tube rack in the virtual front view, and the center of the cell corresponds to the center of the test tube position in the front view, and the cell includes: according to the image the image display part of the test tube formed by the pictures collected by the collecting device, and the turbidity representation part of the test tube solution formed according to the turbidity data collected by the turbidity sensor;
变换:根据虚拟正视图变换可叠加到现实试管架的虚拟场景,实时获取观测试管架的四角的空间位置,并控制对应转换为增强现实眼镜的虚拟场景中,将虚拟正视图中的像素点P(a 1,b 1)通过坐标变换得到在可叠加到现实试管架的虚拟场景中的P*(x 1,y 1,z 1),变换规则为虚拟正视图上的A、B、C、D四个角的像素点经过变换直接映射到可叠加到现实试管架的虚拟场景中A*,B*,C*,D*四个的空间点,过P点平行于AC边的直线与AB、CD边相交于P h1、P h2,过P点平行于AB边的直线与AC、BD边相交于P w1、P w2Transformation: Transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, obtain the spatial position of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of the augmented reality glasses, convert the pixel point P in the virtual front view. (a 1 , b 1 ) P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack is obtained through coordinate transformation, and the transformation rules are A, B, C, The pixels at the four corners of D are transformed and directly mapped to the four spatial points A*, B*, C*, and D* in the virtual scene that can be superimposed on the real test tube rack. , CD sides intersect at P h1 , P h2 , and the straight line parallel to AB side through P point intersects AC and BD sides at P w1 , P w2 ,
P h1、P h2、P w1、P w2映射到P* h1、P* h2、P* w1、P* w2点,满足 P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
P* h1在A*B*边上,且AP h1:AB=A*P* h1*:A*B*, P* h1 is on the A*B* side, and AP h1 :AB=A*P* h1 *:A*B*,
P* w1在A*C*边上,且AP w1:AC=A*P* w1*:A*C*, P* w1 is on the A*C* side, and AP w1 :AC=A*P* w1 *:A*C*,
P* h2在C*D*边上,且CP h2:CD=C*P* h2*:C*D*, P* h2 is on the C*D* side, and CP h2 :CD=C*P* h2 *:C*D*,
P* w2在B*D*边上,且BP w2:BD=B*P* w2*:B*D*, P* w2 is on the B*D* side, and BPw2 :BD=B*P* w2 *:B*D*,
P点映射到P*,满足P points are mapped to P*, satisfying
P*在P* h1P* h2上,且PP h1:P h1P h2=P*P* h1:P* h1P* h2P* is on P* h1 P* h2 , and PP h1 :P h1 P h2 =P*P* h1 :P* h1 P* h2 ,
P*在P* w1P* w2上,且PP w1:P w1P w2=P*P* w1:P* w1P* w2,对虚拟正视图中的除四个顶点的像素点按上述规则进行坐标变换,就得到了可叠加到现实试管架的虚拟场景; P* is on P* w1 P* w2 , and PP w1 :P w1 P w2 =P*P* w1 :P* w1 P* w2 , the pixels in the virtual front view except four vertices are processed according to the above rules Coordinate transformation, a virtual scene that can be superimposed on a real test tube rack is obtained;
显示输出:控制将可叠加到现实试管架的虚拟场景传输给增强现实眼镜现实输出,将虚拟场景叠加显示在现实场景中。Display output: Control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene.
在优选实施例中,所述试管图像显示部分与试管溶液浊度表示部分相对上下对应设置, 所述试管图像显示部分为拍摄对应试管获取的图像,所述试管溶液浊度显示部分由半透明的灰度表示,所述灰度值=当前试管溶液的浊度值/所有试管溶液浊度的最大值,所述单元格的宽度为试管宽度的1-5倍,在宽度一定的情况下,单元格的高度变化范围在宽度的1-4倍之间。In a preferred embodiment, the test tube image display part and the test tube solution turbidity display part are arranged correspondingly up and down, the test tube image display part is an image obtained by photographing the corresponding test tube, and the test tube solution turbidity display part is composed of a translucent Grayscale means that the grayscale value = the turbidity value of the current test tube solution/the maximum value of the turbidity of all test tube solutions, and the width of the cell is 1-5 times the width of the test tube. The height of the grid varies between 1-4 times the width.
在优选实施例中,所述单元格的高度为试管高度的1.5倍,所述单元格的宽度为试管宽度的4倍;所述虚拟正视图的1个像素对应现实电子观测试管架1×1平方毫米的区域,若根据横向上的两发射器之间距离获取相应观测试管架的宽和根据纵向上两发射器之间的距离获取的相应试管架的高分别为L w毫米和L h毫米,,则虚拟正视图的顶点A的像素坐标为(0,0),顶点B的像素坐标为(L w,0),顶点的C像素坐标为(0,L h),顶点D的像素坐标为(L w,L h)。 In a preferred embodiment, the height of the cell is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube; 1 pixel of the virtual front view corresponds to 1×1 of the real-life electronic observation test tube rack In the area of square millimeter, if the width of the corresponding test tube rack is obtained according to the distance between the two launchers in the horizontal direction and the height of the corresponding test tube rack obtained according to the distance between the two launchers in the longitudinal direction is L w mm and L h mm respectively , then the pixel coordinates of vertex A of the virtual front view are (0, 0), the pixel coordinates of vertex B are (L w , 0), the pixel coordinates of vertex C are (0, L h ), and the pixel coordinates of vertex D is (L w , L h ).
在优选实施例中,所述观测试管架包括:框架、设置在框架上的试管单元、设置在框架的四个角上是发射器、及设置在框架上的试管架控制器,所述框架包括:立板及设置在立板上的试管架层板、线路控制槽,所述试管架层板上设置有放置试管的试管槽,所述试管单元包括:试管、设置在试管两侧的浊度传感器、设置在所述试管底部的图片采集单元;In a preferred embodiment, the observation test tube rack comprises: a frame, test tube units arranged on the frame, transmitters arranged at four corners of the frame, and a test tube rack controller arranged on the frame, the frame comprising : a vertical plate, a test tube rack layer plate and a circuit control groove arranged on the vertical plate, the test tube rack layer plate is provided with a test tube groove for placing test tubes, and the test tube unit includes: a test tube, a turbidity set on both sides of the test tube a sensor, a picture acquisition unit arranged at the bottom of the test tube;
所述增强现实眼镜为透视的AR眼镜,所述增强现实眼镜上设置有与观测试管架上的发射器对应设置的接收器,所述接收器包括:设置在所述增强现实眼镜的两镜片中心的连接架上的第一接收器、分别设置在所述增强现实眼镜的两镜腿上且对称设置的第二接收器、第三接收器,所述第二接收器与第三接收器的连线形成虚拟坐标系的X轴,通过第一接收器且垂直相交于X轴的直线形成Y轴,X轴与Y轴的交点形成虚拟坐标系的虚拟原点,垂直于X-Y轴所在平面,且通过虚拟原点的直线为Z轴,三个接收器的空间坐标分别记为R1(a,0,0),R2(-a,0,0),R3(0,b,0),其中a为虚拟原点到镜架上接收器的距离,b为虚拟原点到正中心接收器的距离,这两个距离实际测量确定,工作时,三个接收器同时获得发射器的距离d1,d2,d3,设发射器在空间中的坐标为S(x,y,z),解方程组
Figure PCTCN2020136802-appb-000001
就可以得到S(x,y,z)的值,从而定位发射器相对接收器在空间中的绝对位置。
The augmented reality glasses are see-through AR glasses, and the augmented reality glasses are provided with receivers corresponding to the transmitters on the observation test tube rack, and the receivers include: arranged in the center of two lenses of the augmented reality glasses The first receiver on the connecting frame of the augmented reality glasses, the second receiver and the third receiver which are respectively arranged on the two temples of the augmented reality glasses and are symmetrically arranged, and the connection between the second receiver and the third receiver is The line forms the X-axis of the virtual coordinate system, the straight line passing through the first receiver and perpendicularly intersecting the X-axis forms the Y-axis, and the intersection of the X-axis and the Y-axis forms the virtual origin of the virtual coordinate system, which is perpendicular to the plane where the XY-axis is located, and passes through The straight line of the virtual origin is the Z axis, and the spatial coordinates of the three receivers are respectively recorded as R1(a, 0, 0), R2(-a, 0, 0), R3(0, b, 0), where a is a virtual The distance from the origin to the receiver on the mirror frame, and b is the distance from the virtual origin to the receiver in the center. These two distances are determined by actual measurement. When working, the three receivers obtain the distances d1, d2, and d3 of the transmitter at the same time. The coordinates of the transmitter in space are S(x, y, z), solve the system of equations
Figure PCTCN2020136802-appb-000001
The value of S(x, y, z) can be obtained to locate the absolute position of the transmitter relative to the receiver in space.
在优选实施例中,所述发射器设置在观测试管架的立板上,所述发射器为超声波发生器,所述接收器为超声波接收器,所述超声波发生器内置电子时钟,以设定时间为一个发生位进行超声波编码;所述接收器内置时钟,将接收的超声波转换为电信号传输给处理器按设定时间一个单位反向解码,如果在设定时间内有设定信号,解码为1,若设定时间内没有接收到设定信号,解码为0;根据当前超声波接收器的时钟时刻减去发出的时钟时刻,加上完成编码发生时间,得到声波在空中传输的时间,该时间乘以声速得到超声发生器与超声接收器之间的距离。In a preferred embodiment, the transmitter is arranged on the vertical plate of the observation tube rack, the transmitter is an ultrasonic generator, the receiver is an ultrasonic receiver, and the ultrasonic generator has a built-in electronic clock to set The time is a generated bit for ultrasonic encoding; the receiver has a built-in clock, which converts the received ultrasonic waves into electrical signals and transmits them to the processor for reverse decoding according to a unit of set time. If there is a set signal within the set time, decoding It is 1. If the set signal is not received within the set time, it will be decoded as 0. According to the current clock time of the ultrasonic receiver minus the sent clock time, plus the completion time of encoding, the time of sound wave transmission in the air is obtained. Time multiplied by the speed of sound gives the distance between the ultrasonic generator and the ultrasonic receiver.
一种实验观测系统,包括:交互控制系统、与所述交互控制系统通信连接的观测试管架、及与观测试管架及交互控制系统通信连接的增强现实眼镜,所述交互控制系统包括:An experimental observation system, comprising: an interactive control system, an observation test tube rack communicatively connected to the interactive control system, and augmented reality glasses communicatively connected to the observation test tube rack and the interactive control system, the interactive control system comprising:
连接模块:搜索观测试管架,并通信连接;Connection module: search and observe the test tube rack, and communicate with it;
获取位置模块:控制增强现实眼镜接收安装在观测试管架四角的发射器的发射信号,根据发射信号进行定位,获取观测试管架的位置,获取观测试管架在透视的增强现实眼镜的虚拟场景的位置;Obtaining the position module: Control the augmented reality glasses to receive the transmitted signals from the transmitters installed at the four corners of the observation test tube rack, locate according to the transmitted signals, obtain the position of the observation test pipe rack, and obtain the position of the observation test pipe rack in the virtual scene of the perspective augmented reality glasses ;
获取采集数据模块:控制观测试管架上与试管对应设置的浊度传感器对试管浊度进行实时采集,控制观测试管架上与试管对应设置的图像采集装置对试管图像进行实时采集,获取浊度传感器和图像采集装置对试管的实时采集数据;Acquisition and acquisition data module: control the turbidity sensor set on the observation test tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, and control the image acquisition device corresponding to the test tube on the observation test tube rack to collect the test tube image in real time, and obtain the turbidity sensor Real-time data collection of the test tube by the image collection device;
渲染虚拟正视图模块:获取正面面对观测试管架时,观测试管架四角的位置,形成虚拟正视图的顶点A、B、C、D,依次连接形成虚拟正视图的四边,正视观测试管架的宽、高的中心点位于虚拟正视图中心,控制在虚拟正视图显示与观测试管架中试管位置对应的单元格,单元格的中心与正视的试管位置的中心对应,所述单元格包括:根据图像采集装置采集的图片形成的试管图像显示部分、根据浊度传感器采集的浊度数据形成的试管溶液浊度表示部分;Rendering virtual front view module: When obtaining the front view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and view the test tube rack from the front. The center points of the width and height are located in the center of the virtual front view, and the cells corresponding to the positions of the test tubes in the observation tube rack are controlled to be displayed in the virtual front view, and the center of the cells corresponds to the center of the test tube positions in the front view, and the cells include: a test tube image display part formed by pictures collected by the image acquisition device, and a test tube solution turbidity display part formed according to the turbidity data collected by the turbidity sensor;
变换模块:根据虚拟正视图变换可叠加到现实试管架的虚拟场景,实时获取观测试管架的四角的空间位置,并控制对应转换为增强现实眼镜的虚拟场景中,将虚拟正视图中的像素点P(a 1,b 1)通过坐标变换得到在可叠加到现实试管架的虚拟场景中的P*(x 1,y 1,z 1),变换规则为虚拟正视图上的A、B、C、D四个角的像素点经过变换直接映射到可叠加到现实试管架的虚拟场景中A*,B*,C*,D*四个的空间点,过P点平行于AC边的直线与AB、CD边相交于P h1、P h2,过P点平行于AB边的直线与AC、BD边相交于P w1、P w2Transformation module: transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, obtain the spatial position of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of augmented reality glasses to convert the pixels in the virtual front view. P(a 1 , b 1 ) obtains P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack through coordinate transformation, and the transformation rules are A, B, C on the virtual front view , The pixels at the four corners of D are transformed and directly mapped to the four spatial points A*, B*, C*, and D* in the virtual scene that can be superimposed on the real test tube rack. Sides AB and CD intersect at P h1 , P h2 , and the straight line parallel to side AB through point P intersects sides AC and BD at P w1 , P w2 ,
P h1、P h2、P w1、P w2映射到P* h1、P* h2、P* w1、P* w2点,满足 P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
P* h1在A*B*边上,且AP h1:AB=A*P* h1*:A*B*, P* h1 is on the A*B* side, and AP h1 :AB=A*P* h1 *:A*B*,
P* w1在A*C*边上,且AP w1:AC=A*P* w1*:A*C*, P* w1 is on the side of A*C*, and APw1 :AC=A*P* w1 *:A*C*,
P* h2在C*D*边上,且CP h2:CD=C*P* h2*:C*D*, P* h2 is on the C*D* side, and CP h2 :CD=C*P* h2 *:C*D*,
P* w2在B*D*边上,且BP w2:BD=B*P* w2*:B*D*, P* w2 is on the B*D* side, and BP w2 :BD=B*P* w2 *:B*D*,
P点映射到P*,满足P points are mapped to P*, satisfying
P*在P* h1P* h2上,且PP h1:P h1P h2=P*P* h1:P* h1P* h2P* is on P* h1 P* h2 , and PP h1 :P h1 P h2 =P*P* h1 :P* h1 P* h2 ,
P*在P* w1P* w2上,且PP w1:P w1P w2=P*P* w1:P* w1P* w2,对虚拟正视图中的除四个顶点的像素点按上述规则进行坐标变换,就得到了可叠加到现实试管架的虚拟场景; P* is on P* w1 P* w2 , and PP w1 :P w1 P w2 =P*P* w1 :P* w1 P* w2 , the pixels in the virtual front view except four vertices are processed according to the above rules Coordinate transformation, a virtual scene that can be superimposed on a real test tube rack is obtained;
显示输出模块:控制将可叠加到现实试管架的虚拟场景传输给增强现实眼镜现实输出,将虚拟场景叠加显示在现实场景中。Display output module: control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene.
在优选的实施例中,所述观测试管架包括:框架、设置在框架上的试管单元、设置在框架的四个角上是发射器、及设置在框架上的试管架控制器,所述框架包括:立板及设置在立板上的试管架层板、线路控制槽,所述试管架层板上设置有放置试管的试管槽,所述试管单元包括:试管、设置在试管两侧的浊度传感器、设置在所述试管底部的图片采集单元。In a preferred embodiment, the observation test tube rack comprises: a frame, test tube units arranged on the frame, transmitters arranged at four corners of the frame, and a test tube rack controller arranged on the frame, the frame It includes: a vertical plate, a test tube rack layer plate and a circuit control groove arranged on the vertical plate. The test tube rack layer plate is provided with a test tube groove for placing test tubes. A degree sensor and a picture acquisition unit arranged at the bottom of the test tube.
在优选的实施例中,所述试管图像显示部分与试管溶液浊度表示部分相对上下对应设置,所述试管图像显示部分为拍摄对应试管获取的图像,所述试管溶液浊度显示部分由半透明的灰度表示,所述灰度值=当前试管溶液的浊度值/所有试管溶液浊度的最大值,所述单元格的宽度为试管宽度的1-5倍,在宽度一定的情况下,单元格的高度变化范围在宽度的1-4倍之间。In a preferred embodiment, the test tube image display part and the test tube solution turbidity display part are arranged correspondingly up and down, the test tube image display part is an image obtained by photographing the corresponding test tube, and the test tube solution turbidity display part is made of translucent The gray scale of , the gray value = the turbidity value of the current test tube solution/the maximum value of the turbidity of all test tube solutions, and the width of the cell is 1-5 times the width of the test tube. The height of the cells varies between 1-4 times the width.
在优选的实施例中,所述单元格的高度为试管高度的1.5倍,所述单元格的宽度为试管宽度的4倍;所述虚拟正视图的1个像素对应现实电子观测试管架1×1平方毫米的区域,若根据横向上的两发射器之间距离获取相应观测试管架的宽和根据纵向上两发射器之间的距离获取的相应试管架的高分别为L w毫米和L h毫米,则虚拟正视图的顶点A的像素坐标为(0,0),顶点B的像素坐标为(L w,0),顶点的C像素坐标为(0,L h),顶点D的像素坐标为(L w,L h)。 In a preferred embodiment, the height of the cell is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube; 1 pixel of the virtual front view corresponds to 1× of the actual electronic observation tube rack For an area of 1 square millimeter, if the width of the corresponding test tube rack is obtained according to the distance between the two launchers in the lateral direction and the height of the corresponding test tube rack obtained according to the distance between the two launchers in the longitudinal direction is L w mm and L h respectively mm, the pixel coordinates of vertex A of the virtual front view are (0, 0), the pixel coordinates of vertex B are (L w , 0), the pixel coordinates of vertex C are (0, L h ), and the pixel coordinates of vertex D is (L w , L h ).
在优选的实施例中,,所述增强现实眼镜为透视的AR眼镜,所述增强现实眼镜上设置有与观测试管架上的发射器对应设置的接收器,所述接收器包括:设置在所述增强现实眼镜的两镜片中心的连接架上的第一接收器、分别设置在所述增强现实眼镜的两镜腿上且对称设置的第二接收器、第三接收器,所述第二接收器与第三接收器的连线形成虚拟坐标系的X轴,通过第一接收器且垂直相交于X轴的直线形成Y轴,X轴与Y轴的交点形成虚拟坐标系的虚拟原点,垂直于X-Y轴所在平面,且通过虚拟原点的直线为Z轴,三个接收器的空间坐标分别记为R1(a,0,0),R2(-a,0,0),R3(0,b,0),其中a为虚拟原点到镜架上接收器的距离,b为虚拟原点到正中心接收器的距离,这两个距离实际测量确定,工作时,三个接收器同时获得发射器的距离d1,d2,d3,设发射器在空间中的坐标为S(x,y,z),解方程组
Figure PCTCN2020136802-appb-000002
就可以得到S(x,y,z)的值,从而定位发射器相对接收器在空间中的绝对位置。
In a preferred embodiment, the augmented reality glasses are see-through AR glasses, and the augmented reality glasses are provided with receivers corresponding to the transmitters on the observation test tube rack, and the receivers include: The first receiver on the connecting frame in the center of the two lenses of the augmented reality glasses, the second receiver and the third receiver respectively arranged on the two temples of the augmented reality glasses and symmetrically arranged, the second receiver The connection line between the receiver and the third receiver forms the X-axis of the virtual coordinate system, the straight line passing through the first receiver and perpendicularly intersecting the X-axis forms the Y-axis, the intersection of the X-axis and the Y-axis forms the virtual origin of the virtual coordinate system, and the vertical On the plane where the XY axis is located, and the straight line passing through the virtual origin is the Z axis, the spatial coordinates of the three receivers are respectively recorded as R1(a, 0, 0), R2 (-a, 0, 0), R3 (0, b , 0), where a is the distance from the virtual origin to the receiver on the mirror frame, and b is the distance from the virtual origin to the receiver in the center. These two distances are determined by actual measurement. When working, the three receivers simultaneously obtain the transmitter’s Distances d1, d2, d3, let the coordinates of the transmitter in space be S(x, y, z), solve the equations
Figure PCTCN2020136802-appb-000002
The value of S(x, y, z) can be obtained to locate the absolute position of the transmitter relative to the receiver in space.
上述实验观测方法及系统,结合了增强现实显示技术、实时摄像技术和实时浊度传感技术,可以将大量实验试管的实时状态统一显示在用户眼前,极大的提升了实验观测的效率。The above-mentioned experimental observation method and system, combined with augmented reality display technology, real-time camera technology and real-time turbidity sensing technology, can display the real-time status of a large number of experimental test tubes in front of the user, greatly improving the efficiency of experimental observation.
附图说明Description of drawings
图1为本发明一实施例的实验观测方法的部分流程图;1 is a partial flowchart of an experimental observation method according to an embodiment of the present invention;
图2为本发明一实施例的观测试管架的部分结构示意图;2 is a partial structural schematic diagram of an observation test tube rack according to an embodiment of the present invention;
图3为本发明一实施例的试管单元的部分结构示意图;3 is a schematic diagram of a partial structure of a test tube unit according to an embodiment of the present invention;
图4为本发明一实施例的试管单元的另一视角的部分结构示意图;4 is a partial structural schematic diagram of the test tube unit from another perspective according to an embodiment of the present invention;
图5为本发明一实施例的增强现实眼镜的部分结构示意图;5 is a schematic diagram of a partial structure of augmented reality glasses according to an embodiment of the present invention;
图6为本发明一实施例的虚拟正视图的示意图;6 is a schematic diagram of a virtual front view of an embodiment of the present invention;
图7为本发明一实施例的根据虚拟正视图变换可叠加到现实试管架的虚拟场景的变换示意图;7 is a schematic transformation diagram of a virtual scene that can be superimposed on a real test tube rack according to a virtual front view transformation according to an embodiment of the present invention;
图8为本发明一实施例的虚拟场景叠加显示在现实场景的示意图。FIG. 8 is a schematic diagram of a virtual scene being superimposed and displayed on a real scene according to an embodiment of the present invention.
具体实施方式Detailed ways
本发明的一实施例的实验观测系统包括:观测试管架20、增强现实眼镜70、和交互控制系统。An experimental observation system according to an embodiment of the present invention includes an observation test tube rack 20 , augmented reality glasses 70 , and an interactive control system.
如图2至图4所示,观测试管架20为可以存放通用试管的架子上。本实施例的观测试管架20包括:框架22、设置在框架22上的试管单元24、设置在框架22的四个角上是发射器26、及设置在框架22上的试管架控制器28。As shown in FIG. 2 to FIG. 4 , the observation tube rack 20 is a rack that can store general-purpose test tubes. The observation tube rack 20 of this embodiment includes: a frame 22 , a test tube unit 24 disposed on the frame 22 , transmitters 26 disposed on the four corners of the frame 22 , and a test tube rack controller 28 disposed on the frame 22 .
进一步,本实施例的框架22包括:立板222、设置在立板222上的试管架层板224、及设置在立板222上线路控制槽226。进一步,本实施例的试管架层板224上设置有放置并限位试管的试管槽。Further, the frame 22 of this embodiment includes: a vertical plate 222 , a test tube rack layer plate 224 arranged on the vertical plate 222 , and a circuit control groove 226 arranged on the vertical plate 222 . Further, the test tube rack layer plate 224 of this embodiment is provided with a test tube slot for placing and limiting test tubes.
本实施例的试管单元24包括:试管242、设置在试管242两侧的浊度传感器244、设置在试管242底部的图片采集单元246。优选的,本实施例的图片采集单元246可以采用摄像头进行图像采集。The test tube unit 24 in this embodiment includes: a test tube 242 , a turbidity sensor 244 disposed on both sides of the test tube 242 , and a picture acquisition unit 246 disposed at the bottom of the test tube 242 . Preferably, the picture acquisition unit 246 in this embodiment may use a camera to perform image acquisition.
在优选实施例中,对每个试管242的位置加装了浊度传感器、摄像头。并将浊度传感器244和摄像头用线路控制槽226连接,线路控制槽226将这些线路汇总并连接到试管架控制器28。本实施例的浊度传感器244包括:浊度模块发射器2442、浊度模块接收器2444。In a preferred embodiment, a turbidity sensor and a camera are added to the position of each test tube 242 . The turbidity sensor 244 and the camera are connected with the line control slot 226 , which aggregates and connects these lines to the test tube rack controller 28 . The turbidity sensor 244 in this embodiment includes: a turbidity module transmitter 2442 and a turbidity module receiver 2444 .
对每个试管位置,都有一个浊度传感器(包括一个浊度模块发射器,一个浊度模块接收器)和一个摄像头组成的观测单元来监控试管内的溶液情况。For each test tube position, there is a turbidity sensor (including a turbidity module transmitter, a turbidity module receiver) and an observation unit composed of a camera to monitor the solution in the test tube.
浊度是由水中的悬浮颗粒引起的,悬浮颗粒会漫反射入射光,通常采用90度那个方向的散射光做为测试信号。散射光与浊度符合多段线性关系,因此传感器需要多点标定。而且光源强度和温度变化均会影响测量结果的准确性。经多次实验研究和理论推算,发现散射光与透射光的比值与浊度符合线性关系。本实施例的浊度传感器244采用散射光与透射光比值代替单纯的散射光测量浊度,传感器的准确度、可靠性提高,维护更加简单,抗污性增强。Turbidity is caused by suspended particles in the water. Suspended particles will diffusely reflect incident light. Usually, the scattered light in the direction of 90 degrees is used as the test signal. The scattered light and turbidity have a multi-segment linear relationship, so the sensor needs to be calibrated at multiple points. And light source intensity and temperature changes will affect the accuracy of the measurement results. After many experimental studies and theoretical calculations, it is found that the ratio of scattered light to transmitted light is in a linear relationship with turbidity. The turbidity sensor 244 in this embodiment uses the ratio of scattered light to transmitted light to measure turbidity instead of simple scattered light, so the accuracy and reliability of the sensor are improved, the maintenance is simpler, and the pollution resistance is enhanced.
本实施例的浊度传感器244内部是一个IR958与PT958封装的红外线对管,当光线穿过一定量的水时,光线的透过量取决于该水的污浊程度,水越污浊,透过的光就越少。光接收端把透过的光强度转换为对应的电流大小,透过的光多,电流大,反之透过的光少,电流小。通过测量接收端电流的大小,就可以计算出水的污浊程度。The turbidity sensor 244 in this embodiment is an infrared pair tube encapsulated by IR958 and PT958. When light passes through a certain amount of water, the amount of light transmission depends on the degree of turbidity of the water. less. The light receiving end converts the transmitted light intensity into the corresponding current. By measuring the magnitude of the current at the receiving end, the pollution degree of the water can be calculated.
浊度电流信号经过电阻R1转换为0V~5V电压信号,利用A/D转换器进行采样处理,单片机就可以获知当前水的污浊度。The turbidity current signal is converted into a 0V-5V voltage signal through the resistor R1, and the A/D converter is used for sampling processing, and the single-chip microcomputer can know the current turbidity of the water.
浊度模块发射器2442发出的光线穿过玻璃试管,到达浊度模块接收器2444,这样浊度传感器就可以检测到玻璃试管中的溶液浊度单位为NTU。The light from the turbidity module transmitter 2442 passes through the glass tube and reaches the turbidity module receiver 2444 so that the turbidity sensor can detect the turbidity of the solution in the glass tube as NTU.
本实施例的摄像头安装在试管底部,直接从试管底部采集试管中的视频图像。The camera in this embodiment is installed at the bottom of the test tube, and directly collects video images in the test tube from the bottom of the test tube.
线路控制槽226内置有线电路,可以将浊度传感器和摄像头对应的编号ID和采集的信号实时传输给试管架控制器28。The line control slot 226 has a built-in wired circuit, which can transmit the serial number ID corresponding to the turbidity sensor and the camera and the collected signal to the test tube rack controller 28 in real time.
优选的,本实施例的试管架控制器28内置主板、内存、硬盘、处理器和Wi-Fi模块。试 管架控制器28运行可采用Android系统,系统会将线路控制槽226中线路的传回的采集信号存储在硬盘中,支持用户直接从硬盘拷贝信号数据。控制器也会实时通过Wi-Fi模块将信号发送到交互控制系统如安装配套软件的电脑。Preferably, the test tube rack controller 28 in this embodiment has a built-in motherboard, memory, hard disk, processor and Wi-Fi module. The operation of the test tube rack controller 28 can use the Android system, and the system will store the collected signals returned by the lines in the line control slot 226 in the hard disk, allowing the user to directly copy the signal data from the hard disk. The controller will also send signals to an interactive control system such as a computer with supporting software installed through the Wi-Fi module in real time.
本实施例的增强现实眼镜在AR眼镜基础上,增加了超声波接收器,同时内置蓝牙模块,增强现实眼镜通过蓝牙模块和交互控制系统如电脑的蓝牙模块交互信息,从而完成增强现实眼镜和交互控制系统的信息交互。On the basis of AR glasses, the augmented reality glasses of this embodiment add an ultrasonic receiver and a built-in Bluetooth module. The augmented reality glasses exchange information through the Bluetooth module and the Bluetooth module of an interactive control system such as a computer, so as to complete the augmented reality glasses and interactive control. system information exchange.
本实施例的增强现实眼镜为透视的,既要看到真实的外部世界,也要看到虚拟信息,所以成像系统不能挡在视线前方。采用多加一个或一组光学组合器(optical combiner),通过“层叠”的形式,将虚拟信息和真实场景融为一体,互相补充,互相“增强”。The augmented reality glasses in this embodiment are see-through, and both the real external world and virtual information need to be seen, so the imaging system cannot be blocked in front of the line of sight. By adding one or a group of optical combiners, the virtual information and the real scene are integrated in the form of "stacking", complementing each other and "enhancing" each other.
本实施例的增强现实眼镜的光学显示系统包括:微型显示屏和光波导光学元件。The optical display system of the augmented reality glasses in this embodiment includes: a micro display screen and an optical waveguide optical element.
微型显示屏,用来为设备提供显示内容。它可以是自发光的有源器件,比如发光二极管面板像micro-OLED和现在很热门的micro-LED,也可以是需要外部光源照明的液晶显示屏(包括透射式的LCD和反射式的LCOS),还有基于微机电系统(MEMS)技术的数字微镜阵列(DMD,即DLP的核心)和激光束扫描仪(LBS)。A tiny display used to provide display content to a device. It can be a self-luminous active device, such as a light-emitting diode panel like micro-OLED and now very popular micro-LED, or it can be a liquid crystal display (including transmissive LCD and reflective LCOS) that requires external light source illumination , as well as digital micromirror arrays (DMDs, the core of DLPs) and laser beam scanners (LBSs) based on microelectromechanical systems (MEMS) technology.
光波导元件采用光波导技术,光机完成成像过程后,波导将光耦合进自己的玻璃基地中,通过“全反射”原理将光传输到眼睛前方再释放出来。这个过程中波导只负责传输图像,一般情况下不对图像本身做任何“功”(比如放大缩小等),可以理解为“平行光进,平行光出”,所以它是独立于成像系统而存在的一个单独元件。The optical waveguide component adopts optical waveguide technology. After the optical machine completes the imaging process, the waveguide couples the light into its own glass base, and transmits the light to the front of the eye through the principle of "total reflection" and then releases it. In this process, the waveguide is only responsible for transmitting the image. Generally, it does not do any "work" (such as zooming in and out) on the image itself. It can be understood as "parallel light in and parallel light out", so it exists independently of the imaging system. a single element.
光波导的这种特性,对于优化头戴的设计和美化外观有很大优势。因为有了波导这个传输渠道,可以将显示屏和成像系统远离眼镜移到额头顶部或者侧面,这极大降低了光学系统对外界视线的阻挡,并且使得重量分布更符合人体工程学,从而改善了设备的佩戴体验。This characteristic of the optical waveguide has great advantages for optimizing the design and beautifying the appearance of the headgear. Because of the transmission channel of the waveguide, the display screen and imaging system can be moved away from the glasses to the top or side of the forehead, which greatly reduces the blocking of the optical system to the outside world, and makes the weight distribution more ergonomic, thereby improving the Device wearing experience.
增强现实眼镜可以将虚拟的显示内容通过光波导技术投射在透明的眼镜镜片上,使用者可以通过眼镜看到虚拟内容和真实世界叠加显示的效果。Augmented reality glasses can project virtual display content on transparent glasses lenses through optical waveguide technology, and users can see the effect of superimposed display of virtual content and real world through glasses.
本实施例的观测试管架的四个角中每个角设置有一个与增强现实眼镜70通信的发射器26。A transmitter 26 for communicating with the augmented reality glasses 70 is disposed at each of the four corners of the observation tube holder of the present embodiment.
如图5所示,本实施例的增强现实眼镜70上设置有与发射器26通信的接收器。接收器包括:设置在增强现实眼镜70的两镜片中心的连接架上的第一接收器72、分别设置在AR眼镜的两镜腿上且对称设置的第二接收器74、第三接收器76。第二接收器74与第三接收器76的连线形成虚拟坐标系的X轴,通过第一接收器72且垂直相交于X轴的直线形成Y轴,X轴与Y轴的交点形成虚拟坐标系的虚拟原点75。垂直于X-Y轴所在的平面且通过虚拟原点75的直线形成Z轴。As shown in FIG. 5 , the augmented reality glasses 70 of this embodiment are provided with a receiver that communicates with the transmitter 26 . The receivers include: a first receiver 72 arranged on a connecting frame in the center of two lenses of the augmented reality glasses 70 , a second receiver 74 and a third receiver 76 respectively arranged on the two temples of the AR glasses and symmetrically arranged . The line connecting the second receiver 74 and the third receiver 76 forms the X-axis of the virtual coordinate system, the line passing through the first receiver 72 and perpendicularly intersecting the X-axis forms the Y-axis, and the intersection of the X-axis and the Y-axis forms the virtual coordinate The virtual origin 75 of the system. A line perpendicular to the plane on which the X-Y axis lies and passing through the virtual origin 75 forms the Z axis.
发射器26设置在观测试管架的立板上。发射器优选为为超声波发生器。接收器优选为超声波接收器。超声波发生器内置电子时钟,以设定时间为一个发生位进行超声波编码。接收器内置时钟,将接收的超声波转换为电信号传输给处理器按设定时间一个单位反向解码,如果在设定时间内有设定信号,解码为1,若设定时间内没有接收到设定信号,解码为0;根据当前超声波接收器的时钟时刻减去发出的时钟时刻,加上完成编码发生时间,得到声波在空中传输的时间,该时间乘以声速得到超声发生器与超声接收器之间的距离。The launcher 26 is arranged on the vertical plate of the observation tube rack. The transmitter is preferably an ultrasonic generator. The receiver is preferably an ultrasonic receiver. The ultrasonic generator has a built-in electronic clock, which uses the set time as a generated bit to perform ultrasonic coding. The receiver has a built-in clock, which converts the received ultrasonic waves into electrical signals and transmits them to the processor for reverse decoding according to the set time unit. If there is a set signal within the set time, the decoding will be 1. Set the signal, decode it to 0; subtract the clock time sent from the current clock time of the ultrasonic receiver, and add the time when the encoding is completed to obtain the time for the sound wave to transmit in the air, which is multiplied by the speed of sound to obtain the ultrasonic generator and the ultrasonic receiver. distance between the devices.
具体的超声波发生器内置一个电子时钟,其微处理器读取当前的时钟时刻,并控制超声波发生电路将时钟时刻编码成40KHZ的超声波对外发出。时钟时刻按Unix时间戳计时,即当前时刻减去1970年1月1日0点0分0秒,计时单位为0.001秒。当前时间按Unix时间戳计时后,是一个13位的数值。将这个数转换为2进制表示是一个48位的二进制数,在最前面预留一位1,在最后补一位奇偶校验位,则会得到一个50位的二进制数。然后以0.001秒为一个发声位,进行超声波编码,即如果当前位是1,则发出0.001秒40KHZ的超声波,如果当前位是0,则0.001秒不发生。这样0.05秒钟可以完成50位二进制数的编码发声。The specific ultrasonic generator has a built-in electronic clock, and its microprocessor reads the current clock time, and controls the ultrasonic generating circuit to encode the clock time into 40KHZ ultrasonic waves to send out to the outside world. The clock time is timed according to the Unix timestamp, that is, the current time minus January 1, 1970 0:00:00 seconds, and the timing unit is 0.001 seconds. The current time is a 13-bit value after the Unix timestamp. Converting this number to a binary representation is a 48-bit binary number. Reserve a 1 at the front and add a parity bit at the end to get a 50-bit binary number. Then take 0.001 second as a sounding bit, and perform ultrasonic coding, that is, if the current bit is 1, the ultrasonic wave of 40KHZ will be sent out for 0.001 second, and if the current bit is 0, then 0.001 second will not happen. In this way, 50-bit binary numbers can be encoded and sounded in 0.05 seconds.
超声波发生器每0.1秒对外发出一次当前时刻的编码,这样在每个0.1秒内,前0.05秒会发出时刻编码,后0.05秒会静默。The ultrasonic generator sends out the current time code every 0.1 seconds, so in every 0.1 seconds, the first 0.05 seconds will send out the time code, and the last 0.05 seconds will be silent.
超声波接收器也内置一个时钟,接收器可以接收40KHZ的超声波,并将超声波转换成电信号,交由微处理器按0.001秒一个单位反向解码,如果0.001秒内有40KHZ的信号,就解码为1,如果没有信号就解码为0。这样超声波接收器就可以获得超声波发生器发出的时钟时刻。将当前接收器里的时钟时刻,减去发出的时钟时刻,再加上0.05秒,就得到声波在空中传输的时间。这个时间乘以空气中的声速就得到了超声波发生器和接收器之间的距离。The ultrasonic receiver also has a built-in clock. The receiver can receive 40KHZ ultrasonic waves and convert the ultrasonic waves into electrical signals, which are then decoded by the microprocessor in units of 0.001 seconds. If there is a 40KHZ signal within 0.001 seconds, it will be decoded as 1, decoded to 0 if there is no signal. In this way, the ultrasonic receiver can obtain the clock time sent by the ultrasonic generator. Subtract the time of the clock in the current receiver, subtract the time of the clock sent, and add 0.05 seconds to get the time for the sound wave to travel in the air. Multiplying this time by the speed of sound in air gives the distance between the sonotrode and receiver.
超声波发生器可以固定在观测试管架的控制插座上,具体固定方式可以是胶粘,镶嵌或其他物理固定方式。The ultrasonic generator can be fixed on the control socket of the observation tube rack, and the specific fixing method can be glue, inlay or other physical fixing methods.
超声波接收器分别安装在增强现实眼镜70对称的两个镜腿,和眼镜两镜片正中心的连接架上。三个超声波接收器所在的平面跟眼镜佩戴在头部时,头部的横切面平行。镜架上两个接收器的连线构成了虚拟的X轴,通过正中心的接收器,且垂直相交于X轴所在的直线为Y轴,两轴的交点为虚拟原点75。垂直于X-Y轴所在平面,且通过虚拟原点的直线为Z轴。这样就构建出一个虚拟的空间坐标系,三个超声波接收器的空间坐标也被唯一确定。分别记为R1(a,0,0),R2(-a,0,0),R3(0,b,0)。其中a为虚拟原点到镜架上接收器的距离,b为虚拟原点到正中心接收器的距离。这两个距离可由实际测量确定。The ultrasonic receivers are respectively installed on the two symmetrical temples of the augmented reality glasses 70 and the connecting frame in the center of the two lenses of the glasses. The plane where the three ultrasonic receivers are located is parallel to the cross-section of the head when the glasses are worn on the head. The line connecting the two receivers on the frame constitutes a virtual X-axis. The line passing through the receiver in the center and perpendicular to the X-axis is the Y-axis, and the intersection of the two axes is the virtual origin 75 . The line perpendicular to the plane of the X-Y axis and passing through the virtual origin is the Z axis. In this way, a virtual space coordinate system is constructed, and the space coordinates of the three ultrasonic receivers are also uniquely determined. They are denoted as R1 (a, 0, 0), R2 (-a, 0, 0), R3 (0, b, 0), respectively. Where a is the distance from the virtual origin to the receiver on the frame, and b is the distance from the virtual origin to the center receiver. These two distances can be determined by actual measurements.
当系统工作时,三个超声波接收器同时获得超声波发生器的距离d1,d2,d3,设超声波发生器在空间中的坐标为S(x,y,z),解方程组
Figure PCTCN2020136802-appb-000003
就可以得到S(x,y,z)的值,从而定位发生器相对接收器在空间中的绝对位置。
When the system is working, the three ultrasonic receivers obtain the distances d1, d2, d3 of the ultrasonic generator at the same time. Let the coordinates of the ultrasonic generator in space be S(x, y, z), and solve the equations
Figure PCTCN2020136802-appb-000003
The value of S(x, y, z) can be obtained to locate the absolute position of the generator relative to the receiver in space.
如图1所示,本发明一实施例的实验观测方法,包括:As shown in Figure 1, an experimental observation method according to an embodiment of the present invention includes:
步骤S101,获取位置:控制接收安装在观测试管架四角的发射器的发射信号,根据发射信号进行定位,获取观测试管架的位置,获取观测试管架在透视的增强现实眼镜的虚拟场景的位置;Step S101, obtaining the position: control to receive the transmission signal of the transmitter installed at the four corners of the observation test tube rack, locate according to the transmission signal, obtain the position of the observation test tube rack, and obtain the position of the observation test tube rack in the virtual scene of the perspective augmented reality glasses;
步骤S103,获取采集数据:控制观测试管架上与试管对应设置的浊度传感器对试管浊度进行实时采集,控制观测试管架上与试管对应设置的图像采集装置对试管图像进行实时采集,获取浊度传感器和图像采集装置对试管的实时采集数据;Step S103, acquiring the collection data: controlling the turbidity sensor on the test tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, and controlling the image acquisition device corresponding to the test tube on the test tube rack to collect the image of the test tube in real time to obtain the turbidity. The real-time data collection of the test tube by the sensor and the image collection device;
步骤S105,渲染虚拟正视图:获取正面面对观测试管架时,观测试管架四角的位置,形成虚拟正视图的顶点A、B、C、D,依次连接形成虚拟正视图的四边,正视观测试管架的宽、高的中心点位于虚拟正视图中心,控制在虚拟正视图显示与观测试管架中试管位置对应的单元格,单元格的中心与正视的试管位置的中心对应,单元格90包括:根据图像采集装置采集的图片形成的试管图像显示部分92、根据浊度传感器采集的浊度数据形成的试管溶液浊度表示部分94,如图6所示;Step S105, rendering the virtual front view: when obtaining the front view of the test tube rack, observe the positions of the four corners of the test tube rack to form the vertices A, B, C, and D of the virtual front view, and connect the four sides forming the virtual front view in turn, and view the test tube from the front. The center point of the width and height of the rack is located in the center of the virtual front view, and the control is to display the cell corresponding to the position of the test tube in the observation tube rack in the virtual front view, and the center of the cell corresponds to the center of the position of the test tube in the front view, and the cell 90 includes: The test tube image display part 92 formed according to the picture collected by the image acquisition device, and the test tube solution turbidity display part 94 formed according to the turbidity data collected by the turbidity sensor, as shown in FIG. 6 ;
步骤S107,变换:根据虚拟正视图变换可叠加到现实试管架的虚拟场景,实时获取观测试管架的四角的空间位置,并控制对应转换为增强现实眼镜的虚拟场景中,将虚拟正视图中的像素点P(a 1,b 1)通过坐标变换得到在可叠加到现实试管架的虚拟场景中的P*(x 1,y 1,z 1),变换规则为虚拟正视图上的A、B、C、D四个角的像素点经过变换直接映射到可叠加到现实试管架的虚拟场景中A*,B*,C*,D*四个的空间点,过P点平行于AC边的直线与AB、CD边相交于P h1、P h2,过P点平行于AB边的直线与AC、BD边相交于P w1、P w2Step S107, transform: transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, acquire the spatial positions of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of the augmented reality glasses, convert the virtual scene in the virtual front view. The pixel point P(a 1 , b 1 ) is obtained by coordinate transformation to P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack, and the transformation rules are A, B on the virtual front view The pixels at the four corners of , C and D are transformed and directly mapped to the four spatial points A*, B*, C*, D* in the virtual scene that can be superimposed on the real test tube rack, and the point P is parallel to the side of AC. The straight line intersects the sides AB and CD at P h1 and P h2 , and the straight line passing through the point P and parallel to the side AB intersects the sides AC and BD at P w1 and P w2 .
P h1、P h2、P w1、P w2映射到P* h1、P* h2、P* w1、P* w2点,满足 P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
P* h1在A*B*边上,且AP h1:AB=A*P* h1*:A*B*, P* h1 is on the A*B* side, and AP h1 :AB=A*P* h1 *:A*B*,
P* w1在A*C*边上,且AP w1:AC=A*P* w1*:A*C*, P* w1 is on the side of A*C*, and APw1 :AC=A*P* w1 *:A*C*,
P* h2在C*D*边上,且CP h2:CD=C*P* h2*:C*D*, P* h2 is on the C*D* side, and CP h2 :CD=C*P* h2 *:C*D*,
P* w2在B*D*边上,且BP w2:BD=B*P* w2*:B*D*, P* w2 is on the B*D* side, and BPw2 :BD=B*P* w2 *:B*D*,
P点映射到P*,满足P points are mapped to P*, satisfying
P*在P* h1P* h2上,且PP h1:P h1P h2=P*P* h1:P* h1P* h2P* is on P* h1 P* h2 , and PP h1 :P h1 P h2 =P*P* h1 :P* h1 P* h2 ,
P*在P* w1P* w2上,且PP w1:P w1P w2=P*P* w1:P* w1P* w2P* is on P* w1 P* w2 , and PP w1 :P w1 P w2 =P*P* w1 :P* w1 P* w2 ,
对虚拟正视图中的除四个顶点的像素点按上述规则进行坐标变换,就得到了可叠加到现 实试管架的虚拟场景,如图7所示,其中图7中的图(e)为表示虚拟正视图的点,图7中的图(f)表示可叠加到现实试管架的虚拟场景中的点;Perform coordinate transformation on the pixel points except four vertices in the virtual front view according to the above rules, and obtain a virtual scene that can be superimposed on the real test tube rack, as shown in Figure 7, wherein Figure (e) in Figure 7 is the representation Points of the virtual front view, panel (f) in Figure 7 represents points that can be superimposed on a virtual scene of a real test tube rack;
步骤S109,显示输出:控制将可叠加到现实试管架的虚拟场景传输给增强现实眼镜现实输出,将虚拟场景叠加显示在现实场景中,如图8所示。Step S109 , display output: control to transmit the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for real output, and superimpose the virtual scene on the real scene, as shown in FIG. 8 .
步骤S101获取位置与步骤S103获取采集数据不分先后,只要步骤S105,渲染虚拟正视图前完成即可。The acquisition of the position in step S101 and the acquisition of the acquisition data in step S103 are in no particular order, as long as step S105 is completed before rendering the virtual front view.
进一步,本实施例的单元格的宽度为试管宽度的1-5倍,在宽度一定的情况下,单元格的高度变化范围在宽度的1-4倍之间。Further, the width of the cell in this embodiment is 1-5 times the width of the test tube, and when the width is constant, the height of the cell varies between 1-4 times the width.
进一步,优选的,本实施例的单元格的高度为试管高度的1.5倍,所述单元格的宽度为试管宽度的4倍。Further, preferably, the height of the cell in this embodiment is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube.
进一步,本实施例的试管图像显示部分与试管溶液浊度表示部分相对上下并列对应设置。试管图像显示部分为拍摄对应试管获取的图像。本实施例的试管溶液浊度显示部分由半透明的灰度表示,灰度值=当前试管溶液的浊度值/所有试管溶液浊度的最大值。Further, the test tube image display part and the test tube solution turbidity display part in the present embodiment are arranged in parallel and correspondingly up and down. The test tube image display part is the image obtained by shooting the corresponding test tube. The turbidity display part of the test tube solution in this embodiment is represented by a translucent gray scale, where the gray value = the turbidity value of the current test tube solution/the maximum value of the turbidity of all the test tube solutions.
进一步,本实施例的虚拟正视图的1个像素对应现实的观测试管架1×1平方毫米的区域,若根据横向上的两发射器之间距离获取相应观测试管架的宽和根据纵向上两发射器之间的距离获取的相应试管架的高分别为L w毫米和L h毫米,则虚拟正视图的顶点A的像素坐标为(0,0),顶点B的像素坐标为(L w,0),顶点的C像素坐标为(0,L h),顶点D的像素坐标为(L w,L h)。 Further, 1 pixel of the virtual front view of the present embodiment corresponds to an area of 1×1 square millimeters of the actual observation test tube rack. The heights of the corresponding test tube racks obtained by the distance between the emitters are L w mm and L h mm respectively, then the pixel coordinates of vertex A of the virtual front view are (0, 0), and the pixel coordinates of vertex B are (L w , 0), the C pixel coordinates of the vertex are (0, L h ), and the pixel coordinates of the vertex D are (L w , L h ).
进一步,本实施例的交互控制系统包括:Further, the interactive control system of this embodiment includes:
连接模块:搜索观测试管架,并通信连接;Connection module: search and observe the test tube rack, and communicate with it;
获取位置模块:控制接收安装在观测试管架四角的发射器的发射信号,根据发射信号进行定位,获取观测试管架的位置,获取观测试管架在透视的增强现实眼镜的虚拟场景的位置;Obtaining the position module: control to receive the transmission signal of the transmitter installed at the four corners of the observation test tube rack, locate according to the transmission signal, obtain the position of the observation test tube rack, and obtain the position of the observation test tube rack in the virtual scene of the perspective augmented reality glasses;
获取采集数据模块:控制观测试管架上与试管对应设置的浊度传感器对试管浊度进行实时采集,控制观测试管架上与试管对应设置的图像采集装置对试管图像进行实时采集,获取浊度传感器和图像采集装置对试管的实时采集数据;Acquisition and acquisition data module: control the turbidity sensor set on the observation test tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, and control the image acquisition device corresponding to the test tube on the observation test tube rack to collect the test tube image in real time, and obtain the turbidity sensor Real-time data collection of the test tube by the image collection device;
渲染虚拟正视图模块:获取正面面对观测试管架时,观测试管架四角的位置,形成虚拟正视图的顶点A、B、C、D,依次连接形成虚拟正视图的四边,正视观测试管架的宽、高的中心点位于虚拟正视图中心,控制在虚拟正视图显示与观测试管架中试管位置对应的单元格,单元格的中心与正视的试管位置的中心对应,单元格90包括:根据图像采集装置采集的图片形成的试管图像显示部分92、根据浊度传感器采集的浊度数据形成的试管溶液浊度表示部分94,如图6所示;Rendering virtual front view module: When obtaining the front view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and view the test tube rack from the front. The center points of the width and height are located in the center of the virtual front view, and the cell corresponding to the position of the test tube in the observation tube rack is controlled to be displayed in the virtual front view, and the center of the cell corresponds to the center of the position of the test tube in the front view. The cell 90 includes: The test tube image display part 92 formed by the pictures collected by the collecting device, and the test tube solution turbidity display part 94 formed according to the turbidity data collected by the turbidity sensor, as shown in FIG. 6 ;
变换模块:根据虚拟正视图变换可叠加到现实试管架的虚拟场景,实时获取观测试管架的四角的空间位置,并控制对应转换为增强现实眼镜的虚拟场景中,将虚拟正视图中的像素点P(a 1,b 1)通过坐标变换得到在可叠加到现实试管架的虚拟场景中的P*(x 1,y 1,z 1),变换规则为虚拟正视图上的A、B、C、D四个角的像素点经过变换直接映射到可叠加到现实试管架的虚拟场景中A*,B*,C*,D*四个的空间点,过P点平行于AC边的直线与AB、CD边相交于P h1、P h2,过P点平行于AB边的直线与AC、BD边相交于P w1、P w2Transformation module: transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, obtain the spatial position of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of augmented reality glasses to convert the pixels in the virtual front view. P(a 1 , b 1 ) obtains P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack through coordinate transformation, and the transformation rules are A, B, C on the virtual front view , The pixels at the four corners of D are transformed and directly mapped to the four spatial points A*, B*, C*, and D* in the virtual scene that can be superimposed on the real test tube rack. Sides AB and CD intersect at P h1 , P h2 , and the straight line parallel to side AB through point P intersects sides AC and BD at P w1 , P w2 ,
P h1、P h2、P w1、P w2映射到P* h1、P* h2、P* w1、P* w2点,满足 P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , and P* w2 points, satisfying
P* h1在A*B*边上,且AP h1:AB=A*P* h1*:A*B*, P* h1 is on the A*B* side, and AP h1 :AB=A*P* h1 *:A*B*,
P* w1在A*C*边上,且AP w1:AC=A*P* w1*:A*C*, P* w1 is on the side of A*C*, and APw1 :AC=A*P* w1 *:A*C*,
P* h2在C*D*边上,且CP h2:CD=C*P* h2*:C*D*, P* h2 is on the C*D* side, and CP h2 :CD=C*P* h2 *:C*D*,
P* w2在B*D*边上,且BP w2:BD=B*P* w2*:B*D*, P* w2 is on the B*D* side, and BPw2 :BD=B*P* w2 *:B*D*,
P点映射到P*,满足P points are mapped to P*, satisfying
P*在P* h1P* h2上,且PP h1:P h1P h2=P*P* h1:P* h1P* h2P* is on P* h1 P* h2 , and PP h1 :P h1 P h2 =P*P* h1 :P* h1 P* h2 ,
P*在P* w1P* w2上,且PP w1:P w1P w2=P*P* w1:P* w1P* w2P* is on P* w1 P* w2 , and PP w1 :P w1 P w2 =P*P* w1 :P* w1 P* w2 ,
对虚拟正视图中的除四个顶点的像素点按上述规则进行坐标变换,就得到了可叠加到现 实试管架的虚拟场景,如图7所示,其中图7中的图(e)为表示虚拟正视图的点,图7中的图(f)表示可叠加到现实试管架的虚拟场景中的点;Perform coordinate transformation on the pixel points except the four vertices in the virtual front view according to the above rules, and obtain a virtual scene that can be superimposed on the real test tube rack, as shown in Figure 7, wherein Figure (e) in Figure 7 is a representation of Points of the virtual front view, panel (f) in Figure 7 represents points that can be superimposed on a virtual scene of a real test tube rack;
显示输出模块:控制将可叠加到现实试管架的虚拟场景传输给增强现实眼镜现实输出,将虚拟场景叠加显示在现实场景中,如图8所示。Display output module: control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene, as shown in Figure 8.
进一步,本实施例的单元格的宽度为试管宽度的1-5倍,在宽度一定的情况下,单元格的高度变化范围在宽度的1-4倍之间。Further, the width of the cell in this embodiment is 1-5 times the width of the test tube, and when the width is constant, the height of the cell varies between 1-4 times the width.
进一步,优选的,本实施例的单元格的高度为试管高度的1.5倍,所述单元格的宽度为试管宽度的4倍。Further, preferably, the height of the cell in this embodiment is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube.
进一步,本实施例的试管图像显示部分与试管溶液浊度表示部分相对上下并列对应设置。试管图像显示部分为拍摄对应试管获取的图像。本实施例的试管溶液浊度显示部分由半透明的灰度表示,灰度值=当前试管溶液的浊度值/所有试管溶液浊度的最大值。Further, the test tube image display part and the test tube solution turbidity display part in the present embodiment are arranged in parallel and correspondingly up and down. The test tube image display part is the image obtained by shooting the corresponding test tube. The turbidity display part of the test tube solution in this embodiment is represented by a translucent gray scale, where the gray value = the turbidity value of the current test tube solution/the maximum value of the turbidity of all the test tube solutions.
进一步,本实施例的虚拟正视图的1个像素对应现实的观测试管架1×1平方毫米的区域,若根据横向上的两发射器之间距离获取相应观测试管架的宽和根据纵向上两发射器之间的距离获取的相应试管架的高分别为L w毫米和L h毫米,则虚拟正视图的顶点A的像素坐标为(0,0),顶点B的像素坐标为(L w,0),顶点的C像素坐标为(0,L h),顶点D的像素坐标为(L w,L h)。 Further, 1 pixel of the virtual front view of the present embodiment corresponds to an area of 1×1 square millimeters of the actual observation test tube rack. The heights of the corresponding test tube racks obtained by the distance between the emitters are L w mm and L h mm respectively, then the pixel coordinates of vertex A of the virtual front view are (0, 0), and the pixel coordinates of vertex B are (L w , 0), the C pixel coordinates of the vertex are (0, L h ), and the pixel coordinates of the vertex D are (L w , L h ).
本实施例的增强现实眼镜通过叠加显示,让真实观测试管架和虚拟场景完全重合。重合的作用是为了让虚拟的场景和现实的场景在视觉上对应一致,达到增强现实的现实效果。当确定虚拟场景中的与试管对应设置的单元格和真实场景中的试管需要重合时,虚拟场景的其他显示信息的位置就被完全确定了。叠加的具体过程通过增强现实眼镜的光波导系统,将虚拟场景投射的眼镜片上,因为眼镜片是透明的,这时用户透过眼镜就可以看到虚拟场景和真实场景叠加显示的效果。The augmented reality glasses of this embodiment are superimposed and displayed, so that the real viewing test tube rack and the virtual scene are completely overlapped. The function of overlapping is to make the virtual scene and the real scene visually correspond to each other, so as to achieve the realistic effect of augmented reality. When it is determined that the cells set corresponding to the test tubes in the virtual scene and the test tubes in the real scene need to overlap, the positions of other displayed information in the virtual scene are completely determined. The specific process of superimposition is through the optical waveguide system of augmented reality glasses, and the virtual scene is projected on the glasses. Because the glasses are transparent, the user can see the effect of superimposed display of the virtual scene and the real scene through the glasses.
本发明结合了增强现实显示技术、实时摄像技术和实时浊度传感技术。可以将大量实验试管的实时状态统一显示在用户眼前,极大的提升了实验观测的效率。The invention combines augmented reality display technology, real-time camera technology and real-time turbidity sensing technology. The real-time status of a large number of experimental test tubes can be uniformly displayed in front of the user, which greatly improves the efficiency of experimental observation.
以上述依据本申请的理想实施例为启示,通过上述的说明内容,相关工作人员完全可以在不偏离本项申请技术思想的范围内,进行多样的变更以及修改。本项申请的技术性范围并不局限于说明书上的内容,必须要根据权利要求范围来确定其技术性范围。Taking the above ideal embodiments according to the present application as inspiration, and through the above descriptions, relevant personnel can make various changes and modifications without departing from the technical idea of the present application. The technical scope of the present application is not limited to the content in the description, and the technical scope must be determined according to the scope of the claims.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

Claims (10)

  1. 一种实验观测方法,其特征在于,包括:An experimental observation method, characterized in that, comprising:
    获取位置:控制接收安装在观测试管架四角的发射器的发射信号,根据发射信号进行定位,获取观测试管架的位置,获取观测试管架在透视的增强现实眼镜的虚拟场景的位置;Obtaining the position: Control to receive the transmission signal of the transmitter installed at the four corners of the observation tube rack, locate according to the emission signal, obtain the position of the observation test tube rack, and obtain the position of the observation test tube rack in the virtual scene of the see-through augmented reality glasses;
    获取采集数据:控制观测试管架上与试管对应设置的浊度传感器对试管浊度进行实时采集,控制观测试管架上与试管对应设置的图像采集装置对试管图像进行实时采集,获取浊度传感器和图像采集装置对试管的实时采集数据;Acquisition of collected data: control the turbidity sensor set on the observation test tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, control the image acquisition device corresponding to the test tube on the observation test tube rack to collect the test tube image in real time, and obtain the turbidity sensor and the test tube. Real-time data collection of the test tube by the image collection device;
    渲染虚拟正视图:获取正面面对观测试管架时,观测试管架四角的位置,形成虚拟正视图的顶点A、B、C、D,依次连接形成虚拟正视图的四边,正视观测试管架的宽、高的中心点位于虚拟正视图中心,控制在虚拟正视图显示与观测试管架中试管位置对应的单元格,单元格的中心与正视的试管位置的中心对应,所述单元格包括:根据图像采集装置采集的图片形成的试管图像显示部分、根据浊度传感器采集的浊度数据形成的试管溶液浊度表示部分;Rendering the virtual front view: When obtaining the frontal view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and observe the width of the test tube rack. The center point of the height is located in the center of the virtual front view, and the control is to display the cell corresponding to the position of the test tube in the observation test tube rack in the virtual front view, and the center of the cell corresponds to the center of the test tube position in the front view, and the cell includes: according to the image the image display part of the test tube formed by the pictures collected by the collecting device, and the turbidity representation part of the test tube solution formed according to the turbidity data collected by the turbidity sensor;
    变换:根据虚拟正视图变换可叠加到现实试管架的虚拟场景,实时获取观测试管架的四角的空间位置,并控制对应转换为增强现实眼镜的虚拟场景中,将虚拟正视图中的像素点P(a 1,b 1)通过坐标变换得到在可叠加到现实试管架的虚拟场景中的P*(x 1,y 1,z 1),变换规则为虚拟正视图上的A、B、C、D四个角的像素点经过变换直接映射到可叠加到现实试管架的虚拟场景中A*,B*,C*,D*四个的空间点,过P点平行于AC边的直线与AB、CD边相交于P h1、P h2,过P点平行于AB边的直线与AC、BD边相交于P w1、P w2,P h1、P h2、P w1、P w2映射到P* h1、P* h2、P* w1、P* w2点,满足 Transformation: Transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, obtain the spatial position of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of the augmented reality glasses, convert the pixel point P in the virtual front view. (a 1 , b 1 ) P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack is obtained through coordinate transformation, and the transformation rules are A, B, C, The pixels at the four corners of D are transformed and directly mapped to the four spatial points A*, B*, C*, and D* in the virtual scene that can be superimposed on the real test tube rack. , CD edge intersects P h1 , P h2 , the line parallel to AB side through P point intersects AC and BD edges at P w1 , P w2 , P h1 , P h2 , P w1 , P w2 map to P* h1 , P* h2 , P* w1 , P* w2 points, satisfying
    P* h1在A*B*边上,且AP h1:AB=A*P* h1*:A*B*, P* h1 is on the A*B* side, and AP h1 :AB=A*P* h1 *:A*B*,
    P* w1在A*C*边上,且AP w1:AC=A*P* w1*:A*C*, P* w1 is on the side of A*C*, and APw1 :AC=A*P* w1 *:A*C*,
    P* h2在C*D*边上,且CP h2:CD=C*P* h2*:C*D*, P* h2 is on the C*D* side, and CP h2 :CD=C*P* h2 *:C*D*,
    P* w2在B*D*边上,且BP w2:BD=B*P* w2*:B*D*, P* w2 is on the B*D* side, and BPw2 :BD=B*P* w2 *:B*D*,
    P点映射到P*,满足P points are mapped to P*, satisfying
    P*在P* h1P* h2上,且PP h1:P h1P h2=P*P* h1:P* h1P* h2P* is on P* h1 P* h2 , and PP h1 :P h1 P h2 =P*P* h1 :P* h1 P* h2 ,
    P*在P* w1P* w2上,且PP w1:P w1P w2=P*P* w1:P* w1P* w2P* is on P* w1 P* w2 , and PP w1 :P w1 P w2 =P*P* w1 :P* w1 P* w2 ,
    对虚拟正视图中的除四个顶点的像素点按上述规则进行坐标变换,就得到了可叠加到现实试管架的虚拟场景;Perform coordinate transformation on the pixel points except four vertices in the virtual front view according to the above rules, and obtain a virtual scene that can be superimposed on the real test tube rack;
    显示输出:控制将可叠加到现实试管架的虚拟场景传输给增强现实眼镜现实输出,将虚拟场景叠加显示在现实场景中。Display output: Control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene.
  2. 根据权利要求1所述的实验观测方法,其特征在于,所述试管图像显示部分与试管溶液浊度表示部分相对上下对应设置,所述试管图像显示部分为拍摄对应试管获取的图像,所述试管溶液浊度显示部分由半透明的灰度表示,所述灰度值=当前试管溶液的浊度值/所有试管溶液浊度的最大值,所述单元格的宽度为试管宽度的1-5倍,在宽度一定的情况下,单元格的高度变化范围在宽度的1-4倍之间。The experimental observation method according to claim 1, wherein the test tube image display part and the test tube solution turbidity display part are set up and down correspondingly relative to each other, and the test tube image display part is an image obtained by photographing a corresponding test tube. The turbidity display part of the solution is represented by translucent grayscale, the grayscale value = the turbidity value of the current test tube solution/the maximum value of the turbidity of all test tube solutions, and the width of the cell is 1-5 times the width of the test tube , in the case of a certain width, the height of the cell varies between 1-4 times the width.
  3. 根据权利要求1所述的实验观测方法,其特征在于,所述单元格的高度为试管高度的1.5倍,所述单元格的宽度为试管宽度的4倍;所述虚拟正视图的1个像素对应现实电子观测试管架1×1平方毫米的区域,若根据横向上的两发射器之间距离获取相应观测试管架的宽和根据纵向上两发射器之间的距离获取的相应试管架的高分别为L w毫米和L h毫米,,则虚拟正视图的顶点A的像素坐标为(0,0),顶点B的像素坐标为(L w,0),顶 点的C像素坐标为(0,L h),顶点D的像素坐标为(L w,L h)。 The experimental observation method according to claim 1, wherein the height of the cell is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube; 1 pixel of the virtual front view Corresponding to the area of 1×1 square millimeter of the actual electronic observation tube rack, if the width of the corresponding observation test tube rack is obtained according to the distance between the two transmitters in the horizontal direction and the height of the corresponding test tube rack is obtained according to the distance between the two transmitters in the longitudinal direction are L w mm and L h mm respectively, then the pixel coordinate of vertex A of the virtual front view is (0, 0), the pixel coordinate of vertex B is (L w , 0), and the pixel coordinate of vertex C is (0, L h ), and the pixel coordinates of vertex D are (L w , L h ).
  4. 根据权利要求1至3任意一项所述的实验观测方法,其特征在于,所述观测试管架包括:框架、设置在框架上的试管单元、设置在框架的四个角上是发射器、及设置在框架上的试管架控制器,所述框架包括:立板及设置在立板上的试管架层板、线路控制槽,所述试管架层板上设置有放置试管的试管槽,所述试管单元包括:试管、设置在试管两侧的浊度传感器、设置在所述试管底部的图片采集单元;The experimental observation method according to any one of claims 1 to 3, wherein the observation test tube rack comprises: a frame, a test tube unit arranged on the frame, a transmitter arranged at four corners of the frame, and A test tube rack controller arranged on a frame, the frame includes: a vertical plate, a test tube rack layer plate and a circuit control groove arranged on the vertical plate, the test tube rack layer plate is provided with a test tube groove for placing test tubes, the The test tube unit includes: a test tube, a turbidity sensor arranged on both sides of the test tube, and a picture acquisition unit arranged at the bottom of the test tube;
    所述增强现实眼镜为透视的AR眼镜,所述增强现实眼镜上设置有与观测试管架上的发射器对应设置的接收器,所述接收器包括:设置在所述增强现实眼镜的两镜片中心的连接架上的第一接收器、分别设置在所述增强现实眼镜的两镜腿上且对称设置的第二接收器、第三接收器,所述第二接收器与第三接收器的连线形成虚拟坐标系的X轴,通过第一接收器且垂直相交于X轴的直线形成Y轴,X轴与Y轴的交点形成虚拟坐标系的虚拟原点,垂直于X-Y轴所在平面,且通过虚拟原点的直线为Z轴,三个接收器的空间坐标分别记为R1(a,0,0),R2(-a,0,0),R3(0,b,0),其中a为虚拟原点到镜架上接收器的距离,b为虚拟原点到正中心接收器的距离,这两个距离实际测量确定,工作时,三个接收器同时获得发射器的距离d1,d2,d3,设发射器在空间中的坐标为S(x,y,z),解方程组
    Figure PCTCN2020136802-appb-100001
    就可以得到S(x,y,z)的值,从而定位发射器相对接收器在空间中的绝对位置。
    The augmented reality glasses are see-through AR glasses, and the augmented reality glasses are provided with receivers corresponding to the transmitters on the observation test tube rack, and the receivers include: arranged in the center of two lenses of the augmented reality glasses The first receiver on the connecting frame of the augmented reality glasses, the second receiver and the third receiver which are respectively arranged on the two temples of the augmented reality glasses and are symmetrically arranged, and the connection between the second receiver and the third receiver is The line forms the X-axis of the virtual coordinate system, the straight line passing through the first receiver and perpendicularly intersecting the X-axis forms the Y-axis, and the intersection of the X-axis and the Y-axis forms the virtual origin of the virtual coordinate system, which is perpendicular to the plane where the XY-axis is located, and passes through The straight line of the virtual origin is the Z axis, and the spatial coordinates of the three receivers are respectively recorded as R1(a, 0, 0), R2(-a, 0, 0), R3(0, b, 0), where a is a virtual The distance from the origin to the receiver on the mirror frame, and b is the distance from the virtual origin to the receiver in the center. These two distances are determined by actual measurement. When working, the three receivers obtain the distances d1, d2, and d3 of the transmitter at the same time. The coordinates of the transmitter in space are S(x, y, z), solve the system of equations
    Figure PCTCN2020136802-appb-100001
    The value of S(x, y, z) can be obtained to locate the absolute position of the transmitter relative to the receiver in space.
  5. 根据权利要求4所述的实验观测方法,其特征在于,所述发射器设置在观测试管架的立板上,所述发射器为超声波发生器,所述接收器为超声波接收器,所述超声波发生器内置电子时钟,以设定时间为一个发生位进行超声波编码;所述接收器内置时钟,将接收的超声波转换为电信号传输给处理器按设定时间一个单位反向解码,如果在设定时间内有设定信号,解码为1,若设定时间内没有接收到设定信号,解码为0;根据当前超声波接收器的时钟时刻减去发出的时钟时刻,加上完成编码发生时间,得到声波在空中传输的时间,该时间乘以声速得到超声发生器与超声接收器之间的距离。The experimental observation method according to claim 4, wherein the transmitter is arranged on the vertical plate of the observation test tube rack, the transmitter is an ultrasonic generator, the receiver is an ultrasonic receiver, and the ultrasonic wave The generator has a built-in electronic clock, which uses the set time as a generating bit to perform ultrasonic coding; the receiver has a built-in clock, which converts the received ultrasonic waves into electrical signals and transmits them to the processor for reverse decoding according to the set time unit. If there is a setting signal within a certain time, the decoding is 1. If the setting signal is not received within the setting time, the decoding is 0; according to the current clock time of the ultrasonic receiver minus the sent clock time, plus the completion time of encoding, Get the time the sound wave travels in the air, and multiply this time by the speed of sound to get the distance between the ultrasonic generator and the ultrasonic receiver.
  6. 一种实验观测系统,其特征在于,包括:交互控制系统、与所述交互控制系统通信连接的观测试管架、及与观测试管架及交互控制系统通信连接的增强现实眼镜,所述交互控制系统包括:An experimental observation system, characterized in that it includes: an interactive control system, an observation test tube rack communicatively connected to the interactive control system, and augmented reality glasses communicatively connected to the observation test tube rack and the interactive control system, the interactive control system include:
    连接模块:搜索观测试管架,并通信连接;Connection module: search and observe the test tube rack, and communicate with it;
    获取位置模块:控制增强现实眼镜接收安装在观测试管架四角的发射器的发射信号,根据发射信号进行定位,获取观测试管架的位置,获取观测试管架在透视的增强现实眼镜的虚拟场景的位置;Position acquisition module: control the augmented reality glasses to receive the transmitted signals from the transmitters installed at the four corners of the observation tube rack, locate according to the transmitted signals, obtain the position of the observation test pipe rack, and obtain the position of the observation test pipe rack in the virtual scene of the perspective augmented reality glasses ;
    获取采集数据模块:控制观测试管架上与试管对应设置的浊度传感器对试管浊度进行实时采集,控制观测试管架上与试管对应设置的图像采集装置对试管图像进行实时采集,获取浊度传感器和图像采集装置对试管的实时采集数据;Acquisition and acquisition data module: control the turbidity sensor installed on the observation tube rack corresponding to the test tube to collect the turbidity of the test tube in real time, control the image acquisition device corresponding to the test tube on the observation test tube rack to collect the test tube image in real time, and obtain the turbidity sensor Real-time data collection of the test tube by the image collection device;
    渲染虚拟正视图模块:获取正面面对观测试管架时,观测试管架四角的位置,形成虚拟正视图的顶点A、B、C、D,依次连接形成虚拟正视图的四边,正视观测试管架的宽、高的中心点位于虚拟正视图中心,控制在虚拟正视图显示与观测试管架中试管位置对应的单元格,单元格的中心与正视的试管位置的中心对应,所述单元格包括:根据图像采集装置采集的图片形成的试管图像显示部分、根据浊度传感器采集的浊度数据形成的试管溶液浊度表示部分;Rendering virtual front view module: When obtaining the front view of the test tube rack, observe the positions of the four corners of the test tube rack, form the vertices A, B, C, and D of the virtual front view, connect the four sides of the virtual front view in turn, and view the test tube rack from the front. The center points of the width and height are located in the center of the virtual front view, and the cells corresponding to the positions of the test tubes in the observation tube rack are controlled to be displayed in the virtual front view, and the center of the cells corresponds to the center of the test tube positions in the front view, and the cells include: a test tube image display part formed by pictures collected by the image acquisition device, and a test tube solution turbidity display part formed according to the turbidity data collected by the turbidity sensor;
    变换模块:根据虚拟正视图变换可叠加到现实试管架的虚拟场景,实时获取观测试管架 的四角的空间位置,并控制对应转换为增强现实眼镜的虚拟场景中,将虚拟正视图中的像素点P(a 1,b 1)通过坐标变换得到在可叠加到现实试管架的虚拟场景中的P*(x 1,y 1,z 1),变换规则为虚拟正视图上的A、B、C、D四个角的像素点经过变换直接映射到可叠加到现实试管架的虚拟场景中A*,B*,C*,D*四个的空间点,过P点平行于AC边的直线与AB、CD边相交于P h1、P h2,过P点平行于AB边的直线与AC、BD边相交于P w1、P w2,P h1、P h2、P w1、P w2映射到P* h1、P* h2、P* w1、P* w2点,满足 Transformation module: transform the virtual scene that can be superimposed on the real test tube rack according to the virtual front view, obtain the spatial position of the four corners of the observed test tube rack in real time, and control the corresponding conversion to the virtual scene of augmented reality glasses to convert the pixels in the virtual front view. P(a 1 , b 1 ) obtains P*(x 1 , y 1 , z 1 ) in the virtual scene that can be superimposed on the real test tube rack through coordinate transformation, and the transformation rules are A, B, C on the virtual front view , The pixels at the four corners of D are transformed and directly mapped to the four spatial points A*, B*, C*, and D* in the virtual scene that can be superimposed on the real test tube rack. The AB and CD edges intersect at P h1 and P h2 , and the line parallel to the AB side through the P point intersects the AC and BD edges at P w1 , P w2 , and P h1 , P h2 , P w1 , and P w2 are mapped to P* h1 , P* h2 , P* w1 , P* w2 points, satisfying
    P* h1在A*B*边上,且AP h1:AB=A*P* h1*:A*B*, P* h1 is on the A*B* side, and AP h1 :AB=A*P* h1 *:A*B*,
    P* w1在A*C*边上,且AP w1:AC=A*P* w1*:A*C*, P* w1 is on the side of A*C*, and APw1 :AC=A*P* w1 *:A*C*,
    P* h2在C*D*边上,且CP h2:CD=C*P* h2*:C*D*, P* h2 is on the C*D* side, and CP h2 :CD=C*P* h2 *:C*D*,
    P* w2在B*D*边上,且BP w2:BD=B*P* w2*:B*D*, P* w2 is on the B*D* side, and BPw2 :BD=B*P* w2 *:B*D*,
    P点映射到P*,满足P points are mapped to P*, satisfying
    P*在P* h1P* h2上,且PP h1:P h1P h2=P*P* h1:P* h1P* h2P* is on P* h1 P* h2 , and PP h1 :P h1 P h2 =P*P* h1 :P* h1 P* h2 ,
    P*在P* w1P* w2上,且PP w1:P w1P w2=P*P* w1:P* w1P* w2P* is on P* w1 P* w2 , and PP w1 :P w1 P w2 =P*P* w1 :P* w1 P* w2 ,
    对虚拟正视图中的除四个顶点的像素点按上述规则进行坐标变换,就得到了可叠加到现实试管架的虚拟场景;Perform coordinate transformation on the pixel points except four vertices in the virtual front view according to the above rules, and obtain a virtual scene that can be superimposed on the real test tube rack;
    显示输出模块:控制将可叠加到现实试管架的虚拟场景传输给增强现实眼镜现实输出,将虚拟场景叠加显示在现实场景中。Display output module: control the transmission of the virtual scene that can be superimposed on the real test tube rack to the augmented reality glasses for reality output, and superimpose the virtual scene on the real scene.
  7. 根据权利要求6所述的实验观测系统,其特征在于,所述观测试管架包括:框架、设置在框架上的试管单元、设置在框架的四个角上是发射器、及设置在框架上的试管架控制器,所述框架包括:立板及设置在立板上的试管架层板、线路控制槽,所述试管架层板上设置有放置试管的试管槽,所述试管单元包括:试管、设置在试管两侧的浊度传感器、设置在所述试管底部的图片采集单元。The experimental observation system according to claim 6, wherein the observation test tube rack comprises: a frame, a test tube unit arranged on the frame, a transmitter arranged at four corners of the frame, and a test tube unit arranged on the frame A test tube rack controller, the frame includes: a vertical plate, a test tube rack layer plate and a circuit control groove arranged on the vertical plate, the test tube rack layer plate is provided with a test tube groove for placing test tubes, and the test tube unit includes: a test tube , a turbidity sensor set on both sides of the test tube, and a picture acquisition unit set on the bottom of the test tube.
  8. 根据权利要求6所述的实验观测系统,其特征在于,所述试管图像显示部分与试管溶液浊度表示部分相对上下对应设置,所述试管图像显示部分为拍摄对应试管获取的图像,所述试管溶液浊度显示部分由半透明的灰度表示,所述灰度值=当前试管溶液的浊度值/所有试管溶液浊度的最大值,所述单元格的宽度为试管宽度的1-5倍,在宽度一定的情况下,单元格的高度变化范围在宽度的1-4倍之间。The experimental observation system according to claim 6, wherein the test tube image display part and the test tube solution turbidity display part are set up and down corresponding to each other, and the test tube image display part is an image obtained by photographing a corresponding test tube. The turbidity display part of the solution is represented by a translucent grayscale, the grayscale value = the turbidity value of the current test tube solution/the maximum value of the turbidity of the solution in all test tubes, and the width of the cell is 1-5 times the width of the test tube , in the case of a certain width, the height of the cell varies between 1-4 times the width.
  9. 根据权利要求6至8任意一项所述的实验观测系统,其特征在于,所述单元格的高度为试管高度的1.5倍,所述单元格的宽度为试管宽度的4倍;所述虚拟正视图的1个像素对应现实电子观测试管架1×1平方毫米的区域,若根据横向上的两发射器之间距离获取相应观测试管架的宽和根据纵向上两发射器之间的距离获取的相应试管架的高分别为L w毫米和L h毫米,则虚拟正视图的顶点A的像素坐标为(0,0),顶点B的像素坐标为(L w,0),顶点的C像素坐标为(0,L h),顶点D的像素坐标为(L w,L h)。 The experimental observation system according to any one of claims 6 to 8, wherein the height of the cell is 1.5 times the height of the test tube, and the width of the cell is 4 times the width of the test tube; 1 pixel in the figure corresponds to the area of 1×1 square millimeter of the actual electronic observation tube rack. If the width of the corresponding observation tube rack is obtained according to the distance between the two emitters in the horizontal direction and the distance between the two emitters in the longitudinal direction is obtained. The heights of the corresponding test tube racks are L w mm and L h mm respectively, then the pixel coordinates of vertex A of the virtual front view are (0, 0), the pixel coordinates of vertex B are (L w , 0), and the pixel coordinates of vertex C are is (0, L h ), and the pixel coordinates of vertex D are (L w , L h ).
  10. 根据权利要求6至8任意一项所述的实验观测系统,其特征在于,所述增强现实眼镜为透视的AR眼镜,所述增强现实眼镜上设置有与观测试管架上的发射器对应设置的接收器,所述接收器包括:设置在所述增强现实眼镜的两镜片中心的连接架上的第一接收器、分别设置在所述增强现实眼镜的两镜腿上且对称设置的第二接收器、第三接收器,所述第二接收器与第三接收器的连线形成虚拟坐标系的X轴,通过第一接收器且垂直相交于X轴的直线形成Y轴,X轴与Y轴的交点形成虚拟坐标系的虚拟原点,垂直于X-Y轴所在平面,且通过虚拟原点的直线为Z轴,三个接收器的空间坐标分别记为R1(a,0,0),R2(-a,0,0),R3(0,b,0),其中a为虚拟原点到镜架上接收器的距离,b为虚拟原点到正中心接收器的距离,这两个距离实际测量确定,工作时,三个接收器同时获得发 射器的距离d1,d2,d3,设发射器在空间中的坐标为S(x,y,z),解方程组
    Figure PCTCN2020136802-appb-100002
    Figure PCTCN2020136802-appb-100003
    就可以得到S(x,y,z)的值,从而定位发射器相对接收器在空间中的绝对位置。
    The experimental observation system according to any one of claims 6 to 8, wherein the augmented reality glasses are see-through AR glasses, and the augmented reality glasses are provided with a transmitter corresponding to the transmitter on the observation test tube rack. A receiver, the receiver includes: a first receiver arranged on a connecting frame in the center of two lenses of the augmented reality glasses, a second receiver arranged on the two temples of the augmented reality glasses and symmetrically arranged receiver and third receiver, the connection line between the second receiver and the third receiver forms the X axis of the virtual coordinate system, the straight line passing through the first receiver and perpendicularly intersecting the X axis forms the Y axis, and the X axis and the Y axis The intersection of the axes forms the virtual origin of the virtual coordinate system, which is perpendicular to the plane where the XY axis is located, and the straight line passing through the virtual origin is the Z axis. a, 0, 0), R3 (0, b, 0), where a is the distance from the virtual origin to the receiver on the mirror frame, and b is the distance from the virtual origin to the center receiver. These two distances are actually measured and determined, When working, the three receivers obtain the distances d1, d2, d3 of the transmitter at the same time. Let the coordinates of the transmitter in space be S(x, y, z), and solve the equation system
    Figure PCTCN2020136802-appb-100002
    Figure PCTCN2020136802-appb-100003
    The value of S(x, y, z) can be obtained to locate the absolute position of the transmitter relative to the receiver in space.
PCT/CN2020/136802 2020-12-16 2020-12-16 Experiment observation method and system WO2022126425A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/136802 WO2022126425A1 (en) 2020-12-16 2020-12-16 Experiment observation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/136802 WO2022126425A1 (en) 2020-12-16 2020-12-16 Experiment observation method and system

Publications (1)

Publication Number Publication Date
WO2022126425A1 true WO2022126425A1 (en) 2022-06-23

Family

ID=82059876

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136802 WO2022126425A1 (en) 2020-12-16 2020-12-16 Experiment observation method and system

Country Status (1)

Country Link
WO (1) WO2022126425A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201522426U (en) * 2008-12-04 2010-07-07 上海海争电子科技有限公司 Visual type turbidity meter with camera
CN106791784A (en) * 2016-12-26 2017-05-31 深圳增强现实技术有限公司 Augmented reality display methods and device that a kind of actual situation overlaps
CN106774870A (en) * 2016-12-09 2017-05-31 武汉秀宝软件有限公司 A kind of augmented reality exchange method and system
CN109445112A (en) * 2019-01-05 2019-03-08 西安维度视界科技有限公司 A kind of AR glasses and the augmented reality method based on AR glasses
CN110119481A (en) * 2019-05-10 2019-08-13 福建工程学院 Plant test tube search method and system
CN110274893A (en) * 2019-07-25 2019-09-24 淮北师范大学 Water turbidity measuring device, image capturing system and method based on infrared photography
US10706626B1 (en) * 2015-12-09 2020-07-07 Roger Brent Augmented reality procedural system
CN111755114A (en) * 2019-03-29 2020-10-09 豪夫迈·罗氏有限公司 Analytical laboratory

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201522426U (en) * 2008-12-04 2010-07-07 上海海争电子科技有限公司 Visual type turbidity meter with camera
US10706626B1 (en) * 2015-12-09 2020-07-07 Roger Brent Augmented reality procedural system
CN106774870A (en) * 2016-12-09 2017-05-31 武汉秀宝软件有限公司 A kind of augmented reality exchange method and system
CN106791784A (en) * 2016-12-26 2017-05-31 深圳增强现实技术有限公司 Augmented reality display methods and device that a kind of actual situation overlaps
CN109445112A (en) * 2019-01-05 2019-03-08 西安维度视界科技有限公司 A kind of AR glasses and the augmented reality method based on AR glasses
CN111755114A (en) * 2019-03-29 2020-10-09 豪夫迈·罗氏有限公司 Analytical laboratory
CN110119481A (en) * 2019-05-10 2019-08-13 福建工程学院 Plant test tube search method and system
CN110274893A (en) * 2019-07-25 2019-09-24 淮北师范大学 Water turbidity measuring device, image capturing system and method based on infrared photography

Similar Documents

Publication Publication Date Title
JP7042889B2 (en) Designed to collimate fiber scanners using inward angles in virtual / augmented reality systems
JP7216547B2 (en) Virtual/Augmented Reality Systems with Inverse Angle Gratings
US10901223B2 (en) Beam angle sensor in virtual/augmented reality system
JP6609929B2 (en) Depth-parallax calibration of binocular optical augmented reality system
EP3000020B1 (en) Hologram anchoring and dynamic positioning
CN201307266Y (en) Binocular sightline tracking device
EP3405820B1 (en) Polarizing maintaining optical fiber in virtual/augmented reality system
CN103591968B (en) A kind of real target scene simulation system based on visible light target simulator
CN109615664A (en) A kind of scaling method and equipment for optical perspective augmented reality display
CN103206926B (en) A kind of panorama three-dimensional laser scanner
CN110337674A (en) Three-dimensional rebuilding method, device, equipment and storage medium
CN105004324A (en) Monocular vision sensor with triangulation ranging function
CN112162640A (en) Crystal display method and system
CN202406199U (en) Three-dimensional measure chip and system based on double-array image sensor
CN105212890B (en) Eye tracker equipment
TW200422754A (en) Method for determining the optical parameters of a camera
WO2023231674A9 (en) Driving method for liquid crystal grating, and display apparatus and display method for display apparatus
WO2022126425A1 (en) Experiment observation method and system
CN106125324B (en) Light field editing device, system and method and light field display system and method
JPH113432A (en) Image processor, game machine, its method and recording medium
CN112710608B (en) Experimental observation method and system
TWI719343B (en) Method and display system for information display
CN105208373B (en) Universal integrated imaging recording device based on light field compression sampling
CN210862528U (en) High-precision rapid navigation light source
TWI489152B (en) Projection system and projection method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20965443

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31/10/2023)