CN101377888A - Electronic device embedded with analog physical optics experiment scene and control method thereof - Google Patents
Electronic device embedded with analog physical optics experiment scene and control method thereof Download PDFInfo
- Publication number
- CN101377888A CN101377888A CNA200810216635XA CN200810216635A CN101377888A CN 101377888 A CN101377888 A CN 101377888A CN A200810216635X A CNA200810216635X A CN A200810216635XA CN 200810216635 A CN200810216635 A CN 200810216635A CN 101377888 A CN101377888 A CN 101377888A
- Authority
- CN
- China
- Prior art keywords
- judged result
- getjd
- ray
- intersection point
- judge
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Image Generation (AREA)
Abstract
The invention relates to an electronic device with built-in simulated physical optics experiment scenes and a control method thereof. The electronic device comprises a display drive circuit, a storage, a touch screen, a control circuit, a keyboard control circuit, a VGA video output interface, a USB communication interface, a power supply circuit and a wireless network communication interface which are respectively connected with a central processing unit through a bus. The control method comprises: an optical line structure is converted into a ray structure; the devices are converted into line segments; intersection points of the line segments are computed; intersection is judged through sx2 = getjd(sx2, xd1); if intersected, an angle is computed and returned through sx2 = myjd(sx2), and the intersection point is computed; if uncrossed, intersection at one point is judged through jd = getjd(sx1, sx2, sx3); if yes, image points are plotted; and whether white screen appears is judged; if yes, an image is plotted; if no, the method switches to the judgment determining whether the white screen appears; finally the method ends.
Description
Technical field
The present invention relates to a kind of electronic installation and control method thereof of embedded with analog physical optics experiment scene.
Background technology
Along with popularizing of experimental teaching, more and more pay attention to students'ability for practice and thinking ability now.But actual input funds are many, and a class teacher says an experiment often, and the classmate of a class does an identical experiment, and pattern ossifys, and form of teaching is stiff, and the student to advance the laboratory time few again, effect is undesirable.In addition, a lot of teachers use the Web-based instruction, and the mode of imparting to student knowledge still rests on the basis of " religion ", and the students ' actual situation manipulative ability is not strong.And all the time, physics is learning ways with the exploration, allows student oneself goes to explore, research learning is very urgent.
At present, domestic still do not have the electronic installation that carries out embedded with analog physical optics experiment scene and an experimental study of control method thereof, therefore, how to explore at student oneself, research physical optics knowledge, adopt the man-machine interaction form, the real scene of analog physical Experiments of Optics, set up the learning system and the control method of electronic installation and help the Optical-Physics Experiment of student's simulation operations, with convenient, present experimentation and experimental result intuitively, improve students ' practical ability, thinking ability, the electronic installation of innovation ability and experimentation, the experimental study of experimental result control method is the problem that teaching field presses for solution.
Summary of the invention
The objective of the invention is to overcome above-mentioned weak point of the prior art, providing a kind of student of allowing oneself to explore, studying physical optics knowledge is starting point, adopt the man-machine interaction form, the real scene of analog physical Experiments of Optics, learning system and control method by this electronic installation are helped the Optical-Physics Experiment of student's simulation operations, to present experimentation and experimental result conveniently, intuitively, improve the electronic installation of students ' practical ability, thinking ability, innovation ability.Another object of the present invention has provided the control method of a kind of analog physical Experiments of Optics scene and experimentation, experimental result.
Purpose of the present invention can reach by following measure:
The electronic installation of this embedded with analog physical optics experiment scene, its special character is that it comprises:
One CPU (central processing unit) (MCU) is used to handle programming and carries out corresponding computing;
One display driver circuit is connected in CPU (central processing unit) through bus, supports monochromatic LCD and very color High Resolution LCD, is used for display graphics, image (video, animation), Word message;
One storage unit is connected in CPU (central processing unit) through bus, is used for storing subscriber information, the information relevant with Optical-Physics Experiment, as, experiment problem, courseware, device picture library and function library;
One touch-screen and control circuit are connected in CPU (central processing unit) through bus, are used to receive user's input and operational order, and its input media comprises touch-screen, writing pencil;
One keyboard control circuit is connected in CPU (central processing unit) through bus, is used to receive user's input and operational order, and its input media comprises such as keyboard, mouse;
One VGA video output interface is connected in CPU (central processing unit) through bus, and can external projector, is used for experiment content and process are projected to giant-screen by projector, is convenient to demonstration and exchanges;
One USB communication interface and feed circuit are connected in CPU (central processing unit) through bus, and through the external computer of bus, are used for connecting with computer carrying out user data transmission, system upgrade;
One wireless data communication interface is connected in CPU (central processing unit) through bus, and is external in other user through bus, to realize Point-to-Point Data communication and point-to-points data mass-sending communication.
Purpose of the present invention can also reach by following measure:
The control method of the described embedded with analog physical optics experiment scene electronic installation of this realization claim 1, its special character is, may further comprise the steps:
(1) the light Structure Conversion is become ray SX
1, SX
2, SX
3Structure (step 101);
(2) device architecture is converted to line segment xd
1Structure (step 102);
(3) (sx xd), is divided into three tunnel (steps 103) to find intersection sxjallxd when changeing next step;
(3.1) judge sx
1=getjd (sx
1, xd
1) whether intersect? (step 104);
(3.11) if the judged result of step 104 is for being that then execution in step 105 is asked angle sx
1=myjd (sx
1) after return step 103;
(3.12) if the judged result of step 104 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(3.2) judge sx
2=getjd (sx
2, xd
1) whether intersect (step 106);
(3.21) if the judged result of step 106 is for being that then execution in step 107 is asked angle sx
2=myjd (sx
2) after return step 103;
(3.22) if the judged result of step 106 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(3.3) judge sx
3=getjd (sx
3, xd
1) whether intersect (step 108);
(3.31) if the judged result of step 108 is for being that then execution in step 109 is asked angle sx
3=myjd (sx
3) after return step 103;
(4) if the judged result of step 108 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(5) if the judged result of step 110 is for being then to make picture point (step 111);
(6) judge whether to occur white screen (step 112);
(7) if the judged result of step 112 is for being then to make image (step 113);
(8) if the judged result of step 110 is not, the judged result that then changes step 114 or step 112 over to then changes step 114 over to for not;
(9) finish (step 114).
Purpose of the present invention can also reach by following measure:
Be used for the control method of periscope experiment scene, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1) (step 101);
(2) mirror changes line segment xd
1=qjtoxd (jz
1); Xd
2=qjtoxd (jz
2) (step 201);
(3) whether obtain ray and xd
1Intersection point sx
1=getjd (sx
1, xd
1) (step 202);
(4) if the judged result of step 202 is for being then to negate and penetrate light sx
1Reflection angle (step 203);
(5) judge whether to obtain ray and xd
2Intersection point sx
1=getjd (sx
1, xd
2) (step 204);
(6) if the judged result of step 202 for not, then changes the intersection point sx1=getjd (sx1, xd2) (step 204) that judge whether to obtain ray and xd2 over to;
(7) if the judged result of step 204 is for being then to negate and penetrate light sx
1And reflection angle (step 205);
(8) finish (step 206);
(9) if the judged result of step 204 for not, then changes end (step 206) over to.
The control method of the microscope experiment scene in the simulation true environment may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3); Sx
4=gxtosx (gx
4) (step 301);
(2) convex lens change line segment xd
1=qjtoxd (tj
1); Xd
2=qjtoxd (tj
2) (step 302);
(3) (sx is divided into four tunnel (steps 303) to find intersection sxjd when xd) changeing next step;
(4) judge sx
1With xd
1Whether intersection point sx is arranged
1=getjd (sx
1, xd
1) (step 30311);
(5) if the judged result of step 30311 is for being then to ask refracted ray sx
1(step 30312);
(6) judge sx
1With xd
2Whether intersection point sx is arranged
1=getjd (sx
1, xd
2) (step 30313);
(7) if the judged result of step 30311 for not, then changes over to and judges sx
1With xd
2Whether intersection point sx is arranged
1=getjd (sx
1, xd
2) (step 30313);
(8) if the judged result of step 30313 is for being then to ask the reflected ray sx ' of refracted ray
1(step 30314);
(9) if the judged result of step 30313 for not, then finishes (step 307);
(10) accept step 303, judge sx
2With xd
1Whether intersection point sx is arranged
2=getjd (sx
2, xd
1) (step 30321);
(11) if the judged result of step 30321 is for being then to ask refracted ray sx
2(step 30322);
(12) judge sx
2With xd
2Whether intersection point sx is arranged
2=getjd (sx
2, xd
2) (step 30323);
(13) if the judged result of step 30321 for not, then changes over to and judges sx
2With xd
2Whether intersection point sx is arranged
2=getjd (sx
2, xd
2) (step 30323);
(14) if the judged result of step 30323 is for being then to ask the reflected ray sx ' of refracted ray
2(step 30324);
(15) if the judged result of step 30323 for not, then finishes (step 307);
(16) accept step 303, judge sx
3With xd
1Whether intersection point sx is arranged
3=getjd (sx
3, xd
1) (step 30331);
(17) if the judged result of step 30331 is for being then to ask refracted ray sx
3(step 30332);
(18) judge sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 30333);
(19) if the judged result of step 30331 for not, then changes over to and judges sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 30333);
(20) if the judged result of step 30333 is for being then to ask the reflected ray sx ' of refracted ray
3(step 30334);
(21) if the judged result of step 30333 for not, then finishes (step 307);
(22) accept step 303, judge sx
4With xd
1Whether intersection point sx is arranged
4=getjd (sx
4, xd
1) (step 30341);
(23) if the judged result of step 30341 is for being then to ask refracted ray sx
4(step 30342);
(24) judge sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 30343);
(25) if the judged result of step 30341 for not, then changes over to and judges sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 30343);
(26) if the judged result of step 30343 is for being then to ask the reflected ray sx ' of refracted ray
4(step 30344);
(27) if the judged result of step 30343 for not, then finishes (step 307);
(28) judge sx '
1(step 30314) and sx '
2Whether (step 30324) has intersection point jd
1=getjd (sx '
1, sx '
2) (step 304);
(29) if the judged result of step 304 for not, then finishes (step 307);
(30) if the judged result of step 304 for being, then make picture point and connect into the picture (step 306) of object with step 305;
(31) judge sx '
3(step 30334) and sx '
4Whether (step 30344) has intersection point jd
2=getjd (sx '
3, sx '
4) (step 305);
(32) if the judged result of step 304 for not, then finishes (step 307);
(33) if the judged result of step 305 for being, then make picture point and connect into the picture (step 306) of object with step 304;
(34) finish (step 307).
Simulation medium may further comprise the steps the control method of the chromatic dispersion experiment scene of different color light:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3) (step 401);
(2) the triangle medium changes line segment xd
1=qjtoxd (sjjz
1); Xd
2=qjtoxd (sjjz
2); Xd
3=qjtoxd (sjjz
3) (step 402);
(3) (sx is divided into three tunnel (steps 403) to find intersection getjd when xd) changeing next step;
(4) sx
1=getjd (sx
1, xd
1) (step 40311);
(5) ask the refraction angle; Firing angle sx negates
1=myjd (sx
1) (step 40312);
(6) sx
1=getjd (sx
1, xd
2) (step 40313);
(7) ask the refraction angle; Firing angle sx negates
1=myjd (sx
1) (step 40314);
(8) finish (step 404);
(9) accept step 403, sx
2=getjd (sx
2, xd
1) (step 40321);
(10) ask the refraction angle; Firing angle sx negates
2=myjd (sx
2) (step 40322);
(11) sx
2=getjd (sx
2, xd
2) (step 40323);
(12) ask the refraction angle; Firing angle sx negates
2=myjd (sx
2) (step 40324);
(13) finish (step 404);
(14) accept step 403, sx
3=getjd (sx
3, xd
1) (step 40331);
(15) ask the refraction angle; Firing angle sx negates
3=myjd (sx
3) (step 40332);
(16) sx
3=getjd (sx
3, xd
2) (step 40333);
(17) ask the refraction angle; Firing angle sx negates
3=myjd (sx
3) (step 40334);
(18) finish (step 404).
The control method of the experiment scene that simulation light is propagated in nonhomogeneous media may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1) (step 501);
(2) line segment (omit on all the other limits) xd is changeed on the 3rd limit of square medium
1=qjtoxd (fxjz
1); Xd
2=qjtoxd (fxjz
2); Xd
3=qjtoxd (fxjz
3); Xd
4=qjtoxd (fxjz
4) (step 502);
(3) judged whether intersection point sx
1=getjd (sx
1, xd
1) (step 503);
(4) if the judged result of step 503 for not, then finishes (step 507);
(5) if the judged result of step 503 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
2) (step 504);
(6) if the judged result of step 504 for not, then finishes (step 507);
(7) if the judged result of step 504 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
3) (step 505);
(8) if the judged result of step 505 for not, then finishes (step 507);
(9) if the judged result of step 505 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
4) (step 506);
(10) if the judged result of step 506 for not, then finishes (step 507);
(11) if the judged result of step 506 is for being then end (step 507).
Why fish in the Simulated Water seems the control method of superficial experiment scene, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2) (step 601);
(2) four edges of square medium is changed into line segment xd respectively
1=qjtoxd (fxjz
1); Xd
2=qjtoxd (fxjz
2);
Xd
3=qjtoxd (fxjz
3); Xd
4=qjtoxd (fxjz
4) (step 602);
(3) ask intersection point sxjallxd (sx, the xd of sx and xd
1) be divided into two tunnel (steps 403) when changeing next step;
(4) judge sx
1With xd
1Whether intersect sx
1=getjd (sx
1, xd
1) (step 60311);
(5) if the judged result of step 60311 is for being then to ask refracted ray angle sx
1=myjd (sx
1); Ask refracted ray reverse extending line sx '
1=myjd (sx
1) (step 60312);
(6) if the judged result of step 60311 for not, then finishes (step 606);
(7) accept step 603, judge sx
2With xd
1Whether intersect sx
2=getjd (sx
2, xd
1) (step 60321)
(8) if the judged result of step 60321 is for being then to ask refracted ray angle sx
2=myjd (sx
2); Ask refracted ray reverse extending line sx '
2=myjd (sx
2) (step 60322);
(9) if the judged result of step 60322 for not, then finishes (step 606);
(10) whether determining step 60312 has intersection point (step 604) with step 60322;
(11) if the judged result of step 604 is for being then to make picture point (step 605);
(12) if the judged result of step 604 for not, then finishes (step 606);
(13) finish (step 606).
Why the simulation rear-view mirror uses the experiment scene control method of convex mirror, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3); Sx
4=gxtosx (gx
4) (step 701);
(2) medium changes line segment xd
1=qjtoxd (tmj); Xd
2=qjtoxd (jz) (step 702);
(3) (sx is divided into four tunnel (steps 703) to find intersection getjd when xd) changeing next step;
(4) judge sx
1With xd
1Whether intersection point sx is arranged
1=getjd (sx
1, xd
1) (step 70311);
(5) if the judged result of step 70311 is for being that firing angle reflection ray sx then negates
1=myjd (sx
1) (step 70312);
(6) if the judged result of step 70311 for not, then finishes (step 707);
(7) accept step 703, judge sx
2With xd
1Whether intersection point sx is arranged
2=getjd (sx
2, xd
1) (step 70321);
(8) if the judged result of step 70321 is for being that firing angle reflection ray sx then negates
2=myjd (sx
2) (step 70322);
(9) if the judged result of step 70321 for not, then finishes (step 707);
(10) accept step 703, judge sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 70331);
(11) if the judged result of step 70331 is for being that firing angle reflection ray sx then negates
3=myjd (sx
3) (step 70332);
(12) if the judged result of step 70331 for not, then finishes (step 707);
(13) accept step 703, judge sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 70341);
(14) if the judged result of step 70341 is for being that firing angle reflection ray sx then negates
4=myjd (sx
4) (step 70342);
(15) if the judged result of step 70341 for not, then finishes (step 707);
(10) obtain two reflected ray angle jd1 (step 704) according to step 70312 and step 70322;
(11) obtain two reflected ray angle jd2 (step 705) according to step 70332 and step 70342;
(12) scope (step 706) of comparison jd1 and jd2;
(13) finish (step 707).
The present invention has following advantage compared to existing technology:
1, is not subjected to the restriction of experiment condition, ring mirror, experimental apparatus deficiency, equipment shortcoming, can carries out simulated experiment whenever and wherever possible.
2, use the mode of combinations such as image, literal, projection, animation in the experimentation, directly perceived, lively, the vivid experimentation that represents helps observation of students, analysis, research, understands physical knowledge.
3, the teacher who breaks traditions serves as that the master is a mode of learning with " religion ", allows the student control oneself to start research, search problem, effectively improves students practise ability, manipulative ability, ability beats one's brains.
4, simulation actual physical experiment scene motivates students' interest in learning, and improves the enthusiasm of student's study, exploration physical knowledge.
Description of drawings
Fig. 1 is the circuit block diagram of the electronic installation of embedded with analog physical optics experiment scene of the present invention.
Fig. 2 is the circuit block diagram of the hardware platform that relies on of the flow process of control method of the present invention.
Fig. 3 is the control method process flow diagram of embedded with analog physical optics experiment scene electronic installation of the present invention.
Fig. 4~Fig. 7 is the synoptic diagram that utilizes the optical table realization principle in the Optical-Physics Experiment platform simulation true environment.
Fig. 8 is the process flow diagram that the present invention utilizes periscope in the Optical-Physics Experiment platform simulation true environment.
Fig. 9~Figure 12 is the synoptic diagram that utilizes the periscope realization principle in the Optical-Physics Experiment platform simulation true environment.
Figure 13 is that the present invention utilizes microscopical process flow diagram in the Optical-Physics Experiment platform simulation true environment.
Figure 14~Figure 16 is the microscopical realization principle schematic of utilizing in the Optical-Physics Experiment platform simulation true environment.
Figure 17 is that the present invention utilizes the process flow diagram of Optical-Physics Experiment platform simulation true environment medium to the chromatic dispersion of different color light.
Figure 18~Figure 19 utilizes the realization principle schematic of Optical-Physics Experiment platform simulation medium to the different color light chromatic dispersion.
Figure 20 is that the present invention utilizes the process flow diagram that light is propagated in the Optical-Physics Experiment platform simulation true environment in nonhomogeneous media.
Figure 21~Figure 22 is a realization principle schematic of utilizing the propagation of Optical-Physics Experiment platform simulation light in nonhomogeneous media.
Figure 23 is the process flow diagram that the present invention utilizes typical light refraction phenomenon in the Optical-Physics Experiment platform simulation true environment.
Figure 24~Figure 25 is a realization principle schematic of utilizing the typical light refraction phenomenon of Optical-Physics Experiment platform simulation (it is superficial why the fish in the water seems).
Figure 26 is that the present invention utilizes rear-view mirror in the Optical-Physics Experiment platform simulation true environment to use the process flow diagram of convex mirror why.
Figure 27~Figure 28 utilizes Optical-Physics Experiment platform simulation rear-view mirror to use the realization principle schematic of convex mirror why.
Embodiment
The present invention is further detailed in conjunction with the accompanying drawings below:
See also shown in Figure 1ly, this electronic installation comprises CPU (central processing unit) (MCU), is used to handle programming and carries out corresponding computing; Be connected in the display driver circuit of CPU (central processing unit) (MCU) respectively through bus, be used for information such as display graphics, image (video, animation), literal; Storer is used for storing subscriber information, the information relevant with Optical-Physics Experiment, as, experiment problem, courseware, device picture library and function library etc.; Touch-screen and control circuit are used to receive user's input and operational order, and its input media comprises touch-screen, writing pencil etc.; Keyboard control circuit is used to receive user's input and operational order, and its input media comprises such as keyboard, mouse etc.; The VGA video output interface, external projector is used for experiment content and process are projected to giant-screen by projector, is convenient to demonstration and exchanges; USB communication interface and feed circuit through the external computer of bus, are used for connecting with computer and carry out user data transmission, system upgrade; The wireless network communication interface through bus and other user's Point-to-Point Data communication and point-to-points data mass-sending communication, is used to realize Point-to-Point Data communication and point-to-points data mass-sending communication.Described electronic installation can be a kind of of palmtop computer (HPC), electronic dictionary.
See also shown in Figure 2ly, subitem is described as follows:
65,536 ten thousand look LCD are adopted in demonstration----, and (RGB565) links to each other with CPU by 16 data lines, and CPU control LCD shows situation.
Touch-screen----adopts four-wire resistance type to touch, when the finger contact screen, a contact point appears in two-layer ITO conductive layer, connects the even voltage field of 5V of Y direction because of conductive layer wherein, makes the voltage of detecting layer by the zero non-zero that becomes, after controller detects this connection, carry out A/D conversion, and the magnitude of voltage that obtains compared with 5V, get final product the Y-axis coordinate of touch point, in like manner draw the coordinate of X-axis, the ultimate principle of Here it is resistive technologies touch-screen.
NANDFLASH: the storage of dictionary data, the bottom program, user's download space is left in the storage of driving for.Start directly starts NANDFLASH, and driver, the bottom program is loaded among the SDRAM of initialization OK, starts total system.
SDRAM---adopts the SDRAM of biplate 16M, links to each other with CPU by 32 data lines, mainly is responsible for the loading of system, the data program buffer memory.
Shooting: adopt the plain CMOS SENSOR of 130 everythings, can take pictures video recording.Compare with TFT LCD, CMOS SENSOR and TFT LCD just in time are a pair of Aces Go Places.Be that Aces Go Places is the same just as video camera and televisor, shooting is that scioptics image in photosensitive member surface as technology, be converted to electric signal by scan mode from the light intensity signal on the photo-sensitive cell, add synchronizing signal, transmission comes out to deliver to televisor, the signal that televisor is then brought picture pick-up device, reappears the light intensity of photographic sensitive element surface with the mode of scanning according to the identical method of synchronization.CMOS SENSOR and TFT LCD, one is that picture is sent out in real time, one is to show in real time, so, aspect interface, similarity is arranged.But because the output pin of CMOS SENSOR is less relatively, be 8, and 16 of TFT LCD data lines, so when CMOS export, can only transmit on primary colours ground of primary colours, LCD then be pixel of a pixel transmission.So CPU role in system be signal storage with primary colours of primary colours in FIFO, handle the data layout that the back forms file or be transformed into LCD and directly transmit to LCD.
TV-interface--1.GPU is data presented, and data is delivered to video memory (being exactly display memory) and handled.
Enter the Digital Analog Converter (Chinese is " digital to analog converter ") work (converting image to 0 and 1 to) of data conversion from video memory.
Enter display from DAC by the TV-interface interface.
Described VGA video output interface circuit, mainly comprise the high-speed D part, the RGB digital signal is converted to simulating signal, through simple peripheral circuit by the MCU chip of appointment, become TV-interface, the MCU chip of appointment mainly acts on digital signal is become simulating signal.
See also shown in Figure 3ly, the control method of this electronic installation may further comprise the steps:
(1) the light Structure Conversion is become ray SX
1, SX
2, SX
3Structure (step 101);
(2) device architecture is converted to line segment xd
1Structure (step 102);
(3) (sx xd), is divided into three tunnel (steps 103) to find intersection sxjallxd when changeing next step;
(3.1) judge sx
1=getjd (sx
1, xd
1) whether intersect? (step 104);
(3.11) if the judged result of step 104 is for being that then execution in step 105 is asked angle sx
1=myjd (sx
1) after return step 103;
(3.12) if the judged result of step 104 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(3.2) judge sx
2=getjd (sx
2, xd
1) whether intersect (step 106);
(3.21) if the judged result of step 106 is for being that then execution in step 107 is asked angle sx
2=myjd (sx
2) after return step 103;
(3.22) if the judged result of step 106 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(3.3) judge sx
3=getjd (sx
3, xd
1) whether intersect (step 108);
(3.31) if the judged result of step 108 is for being that then execution in step 109 is asked angle sx
3=myjd (sx
3) after return step 103;
(4) if the judged result of step 108 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(5) if the judged result of step 110 is for being then to make picture point (step 111);
(6) judge whether to occur white screen (step 112);
(7) if the judged result of step 112 is for being then to make image (step 113);
(8) if the judged result of step 110 is not, the judged result that then changes step 114 or step 112 over to then changes step 114 over to for not;
(9) finish (step 114).
Fig. 4~Fig. 7 shows the embodiment of the optical table in the simulation true environment.
Core algorithm is described: convert all light on how much ray (sx), convert all devices (qj) that participate in geometric constructions to line segment (xd comprises real how much line segments and circular arc), use method of geometry that every ray is processed respectively then.With a ray is example, obtain the intersection point (getjd ()) that this ray and all line segments intersect recently, character decision according to the former device of line segment that intersects is reflection, refraction or total reflection, be that geometry line segment or circular arc are done suitable processing according to line segment simultaneously, after this intersection point is set to the starting point of ray, the direction that obtains after handling restarted the intersection point of asking nearest with all line segments as the angle (myjd ()) of ray, so go down up to there not being intersection point, the light path of such light has just been worked it out, all light is handled one time, and so all index paths have just come out.
See also shown in Figure 4, the experiment apparatus of the true equipment of simulation that draws in the image output area; Concrete operation method: felt pen is selected " convex lens ", " pointolite " button, system employs algorithm draw in the image output area convex lens and point source image.
See also shown in Figure 5ly, paint basic device, click this experiment that brings into operation of " dynamic operation " button, the system employs algorithm point-sourcre imaging picture that draws in the image output area.
See also shown in Figure 6ly, the position in imaging draws " white screen " device, the object image-forming experiment display image of system in the simulation of real scenes of image output area, and project on the screen.
See also shown in Figure 7ly, make " animation " button, behind the dynamic operation, click the animated button that adds, the convex lens mobile imaging experiment of system in the simulation of real scenes of visual output area, the image of the automatic processing variation of system, and with the form of animation display image is projected on the screen.
Fig. 8~Figure 12 shows the embodiment that the periscope that utilizes in the Optical-Physics Experiment platform simulation true environment is realized principle.
See also shown in Figure 8ly, be used for the control method of periscope experiment scene, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1) (step 101);
(2) mirror changes line segment xd
1=qjtoxd (jz
1); Xd
2=qjtoxd (jz
2) (step 201);
(3) whether obtain ray and xd
1Intersection point sx
1=getjd (sx
1, xd
1) (step 202);
(4) if the judged result of step 202 is for being then to negate and penetrate light sx
1Reflection angle (step 203);
(5) judge whether to obtain ray and xd
2Intersection point sx
1=getjd (sx
1, xd
2) (step 204);
(6) if the judged result of step 202 for not, then changes over to and judges whether to obtain ray and xd
2Intersection point sx
1=getjd (sx
1, xd
2) (step 204);
(7) if the judged result of step 204 is for being then to negate and penetrate light sx
1And reflection angle (step 205);
(8) finish (step 206);
(9) if the judged result of step 204 for not, then changes end (step 206) over to.
See also shown in Figure 9, the experiment apparatus of the true equipment of simulation that draws in visual output area:
Implementation method: felt pen is selected " ordinary lines " button, system employs algorithm linear image that draws in visual output area, draws out the profile of a periscope in the workspace.
See also shown in Figure 10ly, click " mirror " button, the system employs algorithm level crossing image that draws in visual output area, the corner up and down of periscope on top draws out the two sides mirror respectively.Note, place correct (one side of band oblique line is the back side of mirror) to the direction of mirror.Adjust the angle of two mirrors, making top mirror angle is 315 degree, and following mirror angle is 135 degree.
See also shown in Figure 11ly, click " light " button, the system employs algorithm light image that draws in visual output area.The light of a level is drawn out in the porch on periscope.Like this, a simple periscope principle experiment has just been put up, and you can click the " RUN " button and look at the result.
See also shown in Figure 12, in addition, also can utilize the total reflection of triangle medium to make periscope, two triangle media are adjusted into equilateral right-angle triangle, the refractive index of triangle medium is set to 1.5, the system employs algorithm prism image that draws in visual output area.
Figure 13~Figure 16 shows the embodiment that the microscope that utilizes in the Optical-Physics Experiment platform simulation true environment is realized principle.
See also shown in Figure 13ly, the control method of the microscope experiment scene in the simulation true environment may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3); Sx
4=gxtosx (gx
4) (step 301);
(2) convex lens change line segment xd
1=qjtoxd (tj
1); Xd
2=qjtoxd (tj
2) (step 302);
(3) (sx is divided into four tunnel (steps 303) to find intersection sxjd when xd) changeing next step;
(4) judge sx
1With xd
1Whether intersection point sx is arranged
1=getjd (sx
1, xd
1) (step 30311);
(5) if the judged result of step 30311 is for being then to ask refracted ray sx
1(step 30312);
(6) judge sx
1With xd
2Whether intersection point sx is arranged
1=getjd (sx
1, xd
2) (step 30313);
(7) if the judged result of step 30311 for not, then changes over to and judges sx
1With xd
2Whether intersection point sx is arranged
1=getjd (sx
1, xd
2) (step 30313);
(8) if the judged result of step 30313 is for being then to ask the reflected ray sx ' of refracted ray
1(step 30314);
(9) if the judged result of step 30313 for not, then finishes (step 307);
(10) accept step 303, judge sx
2With xd
1Whether intersection point sx is arranged
2=getjd (sx
2, xd
1) (step 30321);
(11) if the judged result of step 30321 is for being then to ask refracted ray sx
2(step 30322);
(12) judge sx
2With xd
2Whether intersection point sx is arranged
2=getjd (sx
2, xd
2) (step 30323);
(13) if the judged result of step 30321 for not, then changes over to and judges sx
2With xd
2Whether intersection point sx is arranged
2=getjd (sx
2, xd
2) (step 30323);
(14) if the judged result of step 30323 is for being then to ask the reflected ray sx ' of refracted ray
2(step 30324);
(15) if the judged result of step 30323 for not, then finishes (step 307);
(16) accept step 303, judge sx
3With xd
1Whether intersection point sx is arranged
3=getjd (sx
3, xd
1) (step 30331);
(17) if the judged result of step 30331 is for being then to ask refracted ray sx
3(step 30332);
(18) judge sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 30333);
(19) if the judged result of step 30331 for not, then changes over to and judges sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 30333);
(20) if the judged result of step 30333 is for being then to ask the reflected ray sx ' of refracted ray
3(step 30334);
(21) if the judged result of step 30333 for not, then finishes (step 307);
(22) accept step 303, judge sx
4With xd
1Whether intersection point sx is arranged
4=getjd (sx
4, xd
1) (step 30341);
(23) if the judged result of step 30341 is for being then to ask refracted ray sx
4(step 30342);
(24) judge sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 30343);
(25) if the judged result of step 30341 for not, then changes over to and judges sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 30343);
(26) if the judged result of step 30343 is for being then to ask the reflected ray sx ' of refracted ray
4(step 30344);
(27) if the judged result of step 30343 for not, then finishes (step 307);
(28) judge sx '
1(step 30314) and sx '
2Whether (step 30324) has intersection point jd
1=getjd (sx '
1, sx '
2) (step 304);
(29) if the judged result of step 304 for not, then finishes (step 307);
(30) if the judged result of step 304 for being, then make picture point and connect into the picture (step 306) of object with step 305;
(31) judge sx '
3(step 30334) and sx '
4Whether (step 30344) has intersection point jd
2=getjd (sx '
3, sx '
4) (step 305);
(32) if the judged result of step 304 for not, then finishes (step 307);
(33) if the judged result of step 305 for being, then make picture point and connect into the picture (step 306) of object with step 304;
(34) finish (step 307).
See also shown in Figure 14, click by " desirable convex lens ", the system employs algorithm convex lens image that draws in visual output area, in the workspace, draw out small one and large one two convex lens (you can they be set to different colors), the focal length of big convex lens is set to 50, the focal length of little convex lens is set to 25, and their primary optical axis is placed on same the horizontal linear.
See also shown in Figure 15ly, click " object " button, the system employs algorithm object image that draws in visual output area adds one " object " in the workspace, notice that draws is too not big.Two times of focal lengths are adjusted the direction of " object " glazed thread then with an interior position beyond then it being placed on one times of focal length of green convex lens.
See also shown in Figure 16ly, click and " dynamic operation ".When " dynamic operation ", you can also drag object (horizontal direction), observe the situation of object imaging.The design sketch of system employs algorithm in experimentation is drawn in visual output area.
The dotted line imaging is the virtual image among the figure, and the solid line imaging is a real image.The principle of Here it is optical microscope.
Figure 17~Figure 18 shows the embodiment that utilizes Optical-Physics Experiment platform simulation medium the different color light chromatic dispersion to be realized principle.
See also shown in Figure 17ly, simulation medium may further comprise the steps the control method of the chromatic dispersion experiment scene of different color light:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3) (step 401);
(2) the triangle medium changes line segment xd
1=qjtoxd (sjjz
1); Xd
2=qjtoxd (sjjz
2); Xd
3=qjtoxd (sjjz
3) (step 402);
(3) (sx is divided into three tunnel (steps 403) to find intersection getjd when xd) changeing next step;
(4) sx
1=getjd (sx
1, xd
1) (step 40311);
(5) ask the refraction angle; Firing angle sx negates
1=myjd (sx
1) (step 40312);
(6) sx
1=getjd (sx
1, xd
2) (step 40313);
(7) ask the refraction angle; Firing angle sx negates
1=myjd (sx
1) (step 40314);
(8) finish (step 404);
(9) accept step 403, sx
2=getjd (sx
2, xd
1) (step 40321);
(10) ask the refraction angle; Firing angle sx negates
2=myjd (sx
2) (step 40322);
(11) sx
2=getjd (sx
2, xd
2) (step 40323);
(12) ask the refraction angle; Firing angle sx negates
2=myjd (sx
2) (step 40324);
(13) finish (step 404);
(14) accept step 403, sx
3=getjd (sx
3, xd
1) (step 40331);
(15) ask the refraction angle; Firing angle sx negates
3=myjd (sx
3) (step 40332);
(16) sx
3=getjd (sx
3, xd
2) (step 40333);
(17) ask the refraction angle; Firing angle sx negates
3=myjd (sx
3) (step 40334);
(18) finish (step 404).
See also shown in Figure 180ly, in the life, same medium is different for the refractive index of the light of different colours, and we demonstrate this principle by following this example.
" newly-built " experimental project is placed on true origin at the center of workspace.Add a triangle medium then in the workspace, draw in the visual output area image of triangle medium of system employs algorithm is chosen it, Properties button in the click tools hurdle, and at the attribute that ejects the refractive index that it is set in the dialog box being set is 1.50.Add a light then in the workspace, draw in the visual output area image of light of system employs algorithm is set to redness to its color by " attribute setting ".Choose this light then, the Copy button in the click tools hurdle, and then " stickup " in the click tools hurdle, the system employs algorithm duplicates a light automatically.Same method is pasted once again.Such one has three light, is set to different colors and different refractive index multiples (1.00,1.20,1.40) respectively.
See also shown in Figure 19ly, then three light are coincided together, click " RUN ", the system employs algorithm experimental result of drawing in visual output area.
Figure 20~Figure 22 shows and utilizes Optical-Physics Experiment platform simulation light to propagate the embodiment that realizes principle in nonhomogeneous media.
See also shown in Figure 20ly, the control method of the experiment scene propagated in nonhomogeneous media of simulation light may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1) (step 501);
(2) line segment (omit on all the other limits) xd is changeed on the 3rd limit of square medium
1=qjtoxd (fxjz
1); Xd
2=qjtoxd (fxjz
2); Xd
3=qjtoxd (fxjz
3); Xd
4=qjtoxd (fxjz
4) (step 502);
(3) judged whether intersection point sx
1=getjd (sx
1, xd
1) (step 503);
(4) if the judged result of step 503 for not, then finishes (step 507);
(5) if the judged result of step 503 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
2) (step 504);
(6) if the judged result of step 504 for not, then finishes (step 507);
(7) if the judged result of step 504 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
3) (step 505);
(8) if the judged result of step 505 for not, then finishes (step 507);
(9) if the judged result of step 505 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
4) (step 506);
(10) if the judged result of step 506 for not, then finishes (step 507);
(11) if the judged result of step 506 is for being then end (step 507).
See also shown in Figure 21ly, different medium is different for the ray refraction rate, and we explain some marvellous phenomenons in the middle of the Nature by following this example, such as mirage etc." newly-built " experimental project, hide coordinate system, draw out a square medium then, in the workspace, add several square media equally, draw in the visual output area image of all square media of system employs algorithm with the method for " duplicating ", " stickups ".By attribute dialog box is set then the refractive index of these several square media is set to 1.10,1.20,1.30,1.40 or the like respectively.
See also shown in Figure 22ly, add a light, be dragged in the leftmost square medium, we here remove all boost lines in the light path all in the mapping option.Click the " RUN " button, the system employs algorithm draws light through the image of square medium in visual output area, can see that light is significantly crooked.
Figure 23~Figure 25 shows the embodiment that utilizes the typical light refraction phenomenon of Optical-Physics Experiment platform simulation (it is superficial why the fish in the water seems) to realize principle.
See also shown in Figure 23ly, why the fish in the Simulated Water seems the control method of superficial experiment scene, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2) (step 601);
(2) four edges of square medium is changed into line segment xd respectively
1=qjtoxd (fxjz
1); Xd
2=qjtoxd (fxjz
2);
Xd
3=qjtoxd (fxjz
3); Xd
4=qjtoxd (fxjz
4) (step 602);
(3) ask intersection point sxjallxd (sx, the xd of sx and xd
1) be divided into two tunnel (steps 403) when changeing next step;
(4) judge sx
1With xd
1Whether intersect sx
1=getjd (sx
1, xd
1) (step 60311);
(5) if the judged result of step 60311 is for being then to ask refracted ray angle sx
1=myjd (sx
1); Ask refracted ray reverse extending line sx '
1=myjd (sx
1) (step 60312);
(6) if the judged result of step 60311 for not, then finishes (step 606);
(7) accept step 603, judge sx
2With xd
1Whether intersect sx
2=getjd (sx
2, xd
1) (step 60321)
(8) if the judged result of step 60321 is for being then to ask refracted ray angle sx
2=myjd (sx
2); Ask refracted ray reverse extending line sx '
2=myjd (sx
2) (step 60322);
(9) if the judged result of step 60322 for not, then finishes (step 606);
(10) whether determining step 60312 has intersection point (step 604) with step 60322;
(11) if the judged result of step 604 is for being then to make picture point (step 605);
(12) if the judged result of step 604 for not, then finishes (step 606);
(13) finish (step 606).
See also shown in Figure 24ly, this is the phenomenon that often can see in the daily life, below we just utilize the Experiments of Optics platform that it is simulated and analyzes." newly-built " experimental project is hidden coordinate system.Add a square medium then and come Simulated Water, refractive index is set to 1.30.In the workspace, add a pointolite then, send two light, the fish in the Simulated Water.Draw in the visual output area image of square medium and pointolite of system employs algorithm.
See also shown in Figure 25ly, click " dynamic operation " button then.The system employs algorithm experiment effect that draws in visual output area.
We can see to utilize the Experiments of Optics platform, and the picture of fish becomes in the position of the close water surface.This image, lively explanation why we it seems on the coast, the fish in the water seems the very shallow cause of all swimming.
Figure 26~Figure 28 shows the embodiment that utilizes Optical-Physics Experiment platform simulation rear-view mirror to use the realization principle of convex mirror.
See also shown in Figure 26ly, why the simulation rear-view mirror uses the experiment scene control method of convex mirror, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3); Sx
4=gxtosx (gx
4) (step 701);
(2) medium changes line segment xd
1=qjtoxd (tmj); Xd
2=qjtoxd (jz) (step 702);
(3) (sx is divided into four tunnel (steps 703) to find intersection getjd when xd) changeing next step;
(4) judge sx
1With xd
1Whether intersection point sx is arranged
1=getjd (sx
1, xd
1) (step 70311);
(5) if the judged result of step 70311 is for being that firing angle reflection ray sx then negates
1=myjd (sx
1) (step 70312);
(6) if the judged result of step 70311 for not, then finishes (step 707);
(7) accept step 703, judge sx
2With xd
1Whether intersection point sx is arranged
2=getjd (sx
2, xd
1) (step 70321);
(8) if the judged result of step 70321 is for being that firing angle reflection ray sx then negates
2=myjd (sx
2) (step 70322);
(9) if the judged result of step 70321 for not, then finishes (step 707);
(10) accept step 703, judge sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 70331);
(11) if the judged result of step 70331 is for being that firing angle reflection ray sx then negates
3=myjd (sx
3) (step 70332);
(12) if the judged result of step 70331 for not, then finishes (step 707);
(13) accept step 703, judge sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 70341);
(14) if the judged result of step 70341 is for being that firing angle reflection ray sx then negates
4=myjd (sx
4) (step 70342);
(15) if the judged result of step 70341 for not, then finishes (step 707);
(10) obtain two reflected ray angle jd1 (step 704) according to step 70312 and step 70322;
(11) obtain two reflected ray angle jd2 (step 705) according to step 70332 and step 70342;
(12) scope (step 706) of comparison jd1 and jd2;
(13) finish (step 707).
See also shown in Figure 27ly, the rear-view mirror of our automobile all uses convex mirror in the life, and we can simulate experiment scene with the optics experiment porch.Adopt mode of comparing, why have a look that the rear-view mirror of automobile uses convex mirror, and do not use the reason of other mirror.
" newly-built " experimental project is hidden coordinate system.Add straight line, a convex mirror, a level crossing and two pointolites then respectively.We divide the left and right sides parallel placement convex mirror and level crossing, come anthropomorphic dummy's eyes with two pointolites, two pointolites are placed on the straight line, this be for the sight line that guarantees human eye identical.Draw in the visual output area image of the device that adds of system employs algorithm.
See also shown in Figure 28ly, click " dynamic operation " button.The system employs algorithm experiment effect that draws in visual output area.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to claim scope of the present invention change and modify, and all should belong to the covering scope of claim of the present invention.
Claims (8)
1, a kind of electronic installation of embedded with analog physical optics experiment scene is characterized in that, it comprises:
One CPU (central processing unit) (MCU) is used for the handling procedure instruction and carries out corresponding computing;
One display driver circuit is connected in CPU (central processing unit) through bus, supports monochromatic LCD and very color High Resolution LCD, is used for display graphics, image, Word message;
One storage unit is connected in CPU (central processing unit) through bus, is used for storing subscriber information, the information relevant with Optical-Physics Experiment, such as, experiment problem, courseware, device picture library and function library;
One touch-screen and control circuit are connected in CPU (central processing unit) through bus, are used to receive user's input and operational order;
One keyboard control circuit is connected in CPU (central processing unit) through bus, is used to receive user's input and operational order;
One VGA video output interface is connected in CPU (central processing unit) through bus, and can external projector, is used for experiment content and process are projected to giant-screen by projector, is convenient to demonstration and exchanges;
One USB communication interface and feed circuit are connected in CPU (central processing unit) through bus, and through the external computer of bus, are used for connecting with computer carrying out user data transmission, system upgrade;
One wireless data communication interface is connected in CPU (central processing unit) through bus, and is external in other user through bus, to realize Point-to-Point Data communication and point-to-points data mass-sending communication.
2, a kind of control method that realizes the described embedded with analog physical optics experiment scene electronic installation of claim 1 is characterized in that, may further comprise the steps:
(1) the light Structure Conversion is become ray SX
1, SX
2, SX
3Structure (step 101);
(2) device architecture is converted to line segment xd
1Structure (step 102);
(3) (sx xd), is divided into three tunnel (steps 103) to find intersection sxjallxd when changeing next step;
(3.1) judge sx
1=getjd (sx
1, xd
1) whether intersect? (step 104);
(3.11) if the judged result of step 104 is for being that then execution in step 105 is asked angle sx
1=myjd (sx
1) after return step 103;
(3.12) if the judged result of step 104 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(3.2) judge sx
2=getjd (sx
2, xd
1) whether intersect (step 106);
(3.21) if the judged result of step 106 is for being that then execution in step 107 is asked angle sx
2=myjd (sx
2) after return step 103;
(3.22) if the judged result of step 106 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(3.3) judge sx
3=getjd (sx
3, xd
1) whether intersect (step 108);
(3.31) if the judged result of step 108 is for being that then execution in step 109 is asked angle sx
3=myjd (sx
3) after return step 103;
(4) if the judged result of step 108 for not, is then further judged jd=getjd (sx
1, sx
2, sx
3); Whether meet at a bit (step 110);
(5) if the judged result of step 110 is for being then to make picture point (step 111);
(6) judge whether to occur white screen (step 112);
(7) if the judged result of step 112 is for being then to make image (step 113);
(8) if the judged result of step 110 for not, then change step 114 over to, or the judged result of step 112 is not for changing step 114 over to;
(9) finish (step 114).
3, according to the control method of the described embedded with analog physical optics experiment scene electronic installation of claim 2, it is characterized in that, be used for the control method of periscope experiment scene, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1) (step 101);
(2) mirror changes line segment xd
1=qjtoxd (jz
1); Xd
2=qjtoxd (jz
2) (step 201);
(3) whether obtain ray and xd
1Intersection point sx
1=getjd (sx
1, xd
1) (step 202);
(4) if the judged result of step 202 is for being then to negate and penetrate light sx
1Reflection angle (step 203);
(5) judge whether to obtain ray and xd
2Intersection point sx
1=getjd (sx
1, xd
2) (step 204);
(6) if the judged result of step 202 for not, then changes over to and judges whether to obtain ray and xd
2Intersection point sx
1=getjd (sx
1, xd
2) (step 204);
(7) if the judged result of step 204 is for being then to negate and penetrate light sx
1And reflection angle (step 205);
(8) finish (step 206);
(9) if the judged result of step 204 for not, then changes end (step 206) over to.
According to the control method of the described embedded with analog physical optics experiment scene electronic installation of claim 2, it is characterized in that 4, the control method of the microscope experiment scene in the simulation true environment may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3); Sx
4=gxtosx (gx
4) (step 301);
(2) convex lens change line segment xd
1=qjtoxd (tj
1); Xd
2=qjtoxd (tj
2) (step 302);
(3) (sx is divided into four tunnel (steps 303) to find intersection sxjd when xd) changeing next step;
(4) judge sx
1With xd
1Whether intersection point sx is arranged
1=getjd (sx
1, xd
1) (step 30311);
(5) if the judged result of step 30311 is for being then to ask refracted ray sx
1(step 30312);
(6) judge sx
1With xd
2Whether intersection point sx is arranged
1=getjd (sx
1, xd
2) (step 30313);
(7) if the judged result of step 30311 for not, then changes over to and judges sx
1With xd
2Whether intersection point sx is arranged
1=getjd (sx
1, xd
2) (step 30313);
(8) if the judged result of step 30313 is for being then to ask the reflected ray sx ' of refracted ray
1(step 30314);
(9) if the judged result of step 30313 for not, then finishes (step 307);
(10) accept step 303, judge sx
2With xd
1Whether intersection point sx is arranged
2=getjd (sx
2, xd
1) (step 30321);
(11) if the judged result of step 30321 is for being then to ask refracted ray sx
2(step 30322);
(12) judge sx
2With xd
2Whether intersection point sx is arranged
2=getjd (sx
2, xd
2) (step 30323);
(13) if the judged result of step 30321 for not, then changes over to and judges sx
2With xd
2Whether intersection point sx is arranged
2=getjd (sx
2, xd
2) (step 30323);
(14) if the judged result of step 30323 is for being then to ask the reflected ray sx ' of refracted ray
2(step 30324);
(15) if the judged result of step 30323 for not, then finishes (step 307);
(16) accept step 303, judge sx
3With xd
1Whether intersection point sx is arranged
3=getjd (sx
3, xd
1) (step 30331);
(17) if the judged result of step 30331 is for being then to ask refracted ray sx
3(step 30332);
(18) judge sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 30333);
(19) if the judged result of step 30331 for not, then changes over to and judges sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 30333);
(20) if the judged result of step 30333 is for being then to ask the reflected ray sx ' of refracted ray
3(step 30334);
(21) if the judged result of step 30333 for not, then finishes (step 307);
(22) accept step 303, judge sx
4With xd
1Whether intersection point sx is arranged
4=getjd (sx
4, xd
1) (step 30341);
(23) if the judged result of step 30341 is for being then to ask refracted ray sx
4(step 30342);
(24) judge sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 30343);
(25) if the judged result of step 30341 for not, then changes over to and judges sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 30343);
(26) if the judged result of step 30343 is for being then to ask the reflected ray sx ' of refracted ray
4(step 30344);
(27) if the judged result of step 30343 for not, then finishes (step 307);
(28) judge sx '
1(step 30314) and sx '
2Whether (step 30324) has intersection point jd
1=getjd (sx '
1, sx '
2) (step 304);
(29) if the judged result of step 304 for not, then finishes (step 307);
(30) if the judged result of step 304 for being, then make picture point and connect into the picture (step 306) of object with step 305;
(31) judge sx '
3(step 30334) and sx '
4Whether (step 30344) has intersection point jd
2=getjd (sx '
3, sx '
4) (step 305);
(32) if the judged result of step 304 for not, then finishes (step 307);
(33) if the judged result of step 305 for being, then make picture point and connect into the picture (step 306) of object with step 304;
(34) finish (step 307).
According to the control method of the described embedded with analog physical optics experiment scene electronic installation of claim 2, it is characterized in that 5, simulation medium may further comprise the steps the control method of the chromatic dispersion experiment scene of different color light:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3) (step 401);
(2) the triangle medium changes line segment xd
1=qjtoxd (sjjz
1); Xd
2=qjtoxd (sjjz
2) (step 402);
(3) (sx is divided into three tunnel (steps 403) to find intersection getjd when xd) changeing next step;
(4) sx
1=getjd (sx
1, xd
1) (step 40311);
(5) ask the refraction angle; Firing angle sx negates
1=myjd (sx
1) (step 40312);
(6) sx
1=getjd (sx
1, xd
2) (step 40313);
(7) ask the refraction angle; Firing angle sx negates
1=myjd (sx
1) (step 40314);
(8) finish (step 404);
(9) accept step 403, sx
2=getjd (sx
2, xd
1) (step 40321);
(10) ask the refraction angle; Firing angle sx negates
2=myjd (sx
2) (step 40322);
(11) sx
2=getjd (sx
2, xd
2) (step 40323);
(12) ask the refraction angle; Firing angle sx negates
2=myjd (sx
2) (step 40324);
(13) finish (step 404);
(14) accept step 403, sx
3=getjd (sx
3, xd
1) (step 40331);
(15) ask the refraction angle; Firing angle sx negates
3=myjd (sx
3) (step 40332);
(16) sx
3=getjd (sx
3, xd
2) (step 40333);
(17) ask the refraction angle; Firing angle sx negates
3=myjd (sx
3) (step 40334);
(18) finish (step 404).
According to the control method of the described embedded with analog physical optics experiment scene electronic installation of claim 2, it is characterized in that 6, the control method of the experiment scene that simulation light is propagated may further comprise the steps in nonhomogeneous media:
(1) light changes ray sx
1=gxtosx (gx
1) (step 501);
(2) line segment (omit on all the other limits) xd is changeed on the 3rd limit of square medium
1=qjtoxd (fxjz
1); Xd
2=qjtoxd (fxjz
2); Xd
3=qjtoxd (fxjz
3); Xd
4=qjtoxd (fxjz
4) (step 502);
(3) judged whether intersection point sx
1=getjd (sx
1, xd
1) (step 503);
(4) if the judged result of step 503 for not, then finishes (step 507);
(5) if the judged result of step 503 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
2) (step 504);
(6) if the judged result of step 504 for not, then finishes (step 507);
(7) if the judged result of step 504 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
3) (step 505);
(8) if the judged result of step 505 for not, then finishes (step 507);
(9) if the judged result of step 505 is for being then further to have judged whether intersection point sx
1=getjd (sx
1, xd
4) (step 506);
(10) if the judged result of step 506 for not, then finishes (step 507);
(11) if the judged result of step 506 is for being then end (step 507).
According to the control method of the described embedded with analog physical optics experiment scene of claim 2, it is characterized in that 7, why the fish in the Simulated Water seems the control method of superficial experiment scene, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2) (step 601);
(2) four edges of square medium is changed into line segment xd respectively
1=qjtoxd (fxjz
1); Xd
2=qjtoxd (fxjz
2); Xd
3=qjtoxd (fxjz
3); Xd
4=qjtoxd (fxjz
4) (step 602);
(3) ask intersection point sxjallxd (sx, the xd of sx and xd
1) be divided into two tunnel (steps 403) when changeing next step;
(4) judge sx
1With xd
1Whether intersect sx
1=getjd (sx
1, xd
1) (step 60311);
(5) if the judged result of step 60311 is for being then to ask refracted ray angle sx
1=myjd (sx
1); Ask refracted ray reverse extending line sx '
1=myjd (sx
1) (step 60312);
(6) if the judged result of step 60311 for not, then finishes (step 606);
(7) accept step 603, judge sx
2With xd
1Whether intersect sx
2=getjd (sx
2, xd
1) (step 60321)
(8) if the judged result of step 60321 is for being then to ask refracted ray angle sx
2=myjd (sx
2); Ask refracted ray reverse extending line sx '
2=myjd (sx
2) (step 60322);
(9) if the judged result of step 60322 for not, then finishes (step 606);
(10) whether determining step 60312 has intersection point (step 604) with step 60322;
(11) if the judged result of step 604 is for being then to make picture point (step 605);
(12) if the judged result of step 604 for not, then finishes (step 606);
(13) finish (step 606).
According to the control method of the described embedded with analog physical optics experiment scene electronic installation of claim 2, it is characterized in that 8, why the simulation rear-view mirror uses the experiment scene control method of convex mirror, may further comprise the steps:
(1) light changes ray sx
1=gxtosx (gx
1); Sx
2=gxtosx (gx
2); Sx
3=gxtosx (gx
3); Sx
4=gxtosx (gx
4) (step 701);
(2) medium changes line segment xd
1=qjtoxd (tmj); Xd
2=qjtoxd (jz) (step 702);
(3) (sx is divided into four tunnel (steps 703) to find intersection getjd when xd) changeing next step;
(4) judge sx
1With xd
1Whether intersection point sx is arranged
1=getjd (sx
1, xd
1) (step 70311);
(5) if the judged result of step 70311 is for being that firing angle reflection ray sx then negates
1=myjd (sx
1) (step 70312);
(6) if the judged result of step 70311 for not, then finishes (step 707);
(7) accept step 703, judge sx
2With xd
1Whether intersection point sx is arranged
2=getjd (sx
2, xd
1) (step 70321);
(8) if the judged result of step 70321 is for being that firing angle reflection ray sx then negates
2=myjd (sx
2) (step 70322);
(9) if the judged result of step 70321 for not, then finishes (step 707);
(10) accept step 703, judge sx
3With xd
2Whether intersection point sx is arranged
3=getjd (sx
3, xd
2) (step 70331);
(11) if the judged result of step 70331 is for being that firing angle reflection ray sx then negates
3=myjd (sx
3) (step 70332);
(12) if the judged result of step 70331 for not, then finishes (step 707);
(13) accept step 703, judge sx
4With xd
2Whether intersection point sx is arranged
4=getjd (sx
4, xd
2) (step 70341);
(14) if the judged result of step 70341 is for being that firing angle reflection ray sx then negates
4=myjd (sx
4) (step 70342);
(15) if the judged result of step 70341 for not, then finishes (step 707);
(10) obtain two reflected ray angle jd1 (step 704) according to step 70312 and step 70322;
(11) obtain two reflected ray angle jd2 (step 705) according to step 70332 and step 70342;
(12) scope (step 706) of comparison jd1 and jd2;
(13) finish (step 707).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200810216635XA CN101377888A (en) | 2008-09-28 | 2008-09-28 | Electronic device embedded with analog physical optics experiment scene and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200810216635XA CN101377888A (en) | 2008-09-28 | 2008-09-28 | Electronic device embedded with analog physical optics experiment scene and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101377888A true CN101377888A (en) | 2009-03-04 |
Family
ID=40421412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA200810216635XA Pending CN101377888A (en) | 2008-09-28 | 2008-09-28 | Electronic device embedded with analog physical optics experiment scene and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101377888A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113192373A (en) * | 2021-03-18 | 2021-07-30 | 徐州九鼎机电总厂 | Periscope simulation imaging method based on immersive human-computer interaction simulation system |
-
2008
- 2008-09-28 CN CNA200810216635XA patent/CN101377888A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113192373A (en) * | 2021-03-18 | 2021-07-30 | 徐州九鼎机电总厂 | Periscope simulation imaging method based on immersive human-computer interaction simulation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Buxton et al. | Large displays in automotive design | |
CN106945433B (en) | Nanometer touch-control blackboard and interactive intelligent blackboard | |
US8944824B2 (en) | Multi-modal learning system | |
US11915606B2 (en) | Tactile and visual display with a paired, active stylus | |
CN202758328U (en) | Nanometer interactive electronic white board | |
CN104517489A (en) | Virtual experiment table used for teaching | |
CN101377889A (en) | Electronic device with built-in simulated physical and electrical experimental scene and control method thereof | |
CN111680137A (en) | Online classroom interaction method and device, storage medium and terminal | |
CN114005309A (en) | Teaching method for interactive classroom by utilizing holographic interaction equipment | |
KR20140122432A (en) | Interactive digital art apparatus | |
Sugimoto et al. | GENTORO: a system for supporting children's storytelling using handheld projectors and a robot | |
CN101377888A (en) | Electronic device embedded with analog physical optics experiment scene and control method thereof | |
CN101377890A (en) | Electronic device with built-in simulated physical mechanics experimental scene and control method thereof | |
CN211742351U (en) | Calligraphy and painting exercise device and terminal | |
CN107003798A (en) | Display system and display methods | |
CN206388350U (en) | calligraphy teaching instrument | |
CN201788490U (en) | Multi-touch interactive puzzle cognitive system | |
Naganandhini et al. | Hand Tracking Based Human-Computer Interaction Teaching System | |
Bhatia | Computer Graphics, 3/e | |
Enenkel et al. | Cognition and the Book | |
CN207173119U (en) | Nanometer touch-control blackboard and interactive intelligent blackboard | |
CN207182719U (en) | Painting and calligraphy pinting imitation device | |
Manaktala et al. | 3D Holographic Display System With Gesture Controller | |
WO2024085701A1 (en) | Method and device for driving sketched vehicle | |
KR20200083762A (en) | A hologram-projection electronic board based on motion recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20090304 |