Skip to main content

Advertisement

Log in

A parametric piecewise-linear approach to laser projection

  • Published:
Computational and Applied Mathematics Aims and scope Submit manuscript

Abstract

A parametric approach to sketching two-dimensional piecewise linear curves by a scanning galvo mirror system is presented. The proposed method uses a decomposed piecewise linear model that is based on the one-dimensional description of Chua-Kang. The curves to be drawn are treated as a parametric system composed of two positional equations, \(X\) and \(Y\), which are related to each other by an artificial parameter \(\mu \). To verify the effectiveness of this approach, the proposed formulation is applied to a dual-axis motor/mirror assembly Scanner Galvo Mirror System model LP20 showing its capability to sketch accurately any piecewise linear curve.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

References

  • ABC-geodata (2013) Geoinformation. http://www.abc-geodata.com/Vector-and.117.0.html

  • Abderyim P, Halabi O, Fujimoto T, Chiba N (2008) Accurate and efficient drawing method for laser projection. J Soc Art Sci 7(4):155–169

    Article  Google Scholar 

  • Abderyim P, Menendez FJ, Halabi O, Chiba N (2007) Morphing-based vectorized candle animation for laser graphics. In: Proceedings of the IWAIT ‘07, pp 127–132

  • BGIS (2013) Introduction. http://bgis.sanbi.org/gis-primer/page19.htm

  • Blais F (January 2004) Review of 20 years of range sensor development. J Electron Imaging 13(1):231–240

  • Chen MF, Chen YP, Hsiao WT, Wu SY, Hu CW, Gu ZP (2008) A scribing laser marking system using DSP controller. Opt Lasers Eng 46:410–418

    Article  Google Scholar 

  • Chua LO, Desoier CA, Kuh ES (1987) Linear and nonlinear circuits. McGraw-Hill Education, Series in Electrical and Computer Engineering, ISBN: 0071001670

  • Chua LO, Deng A (1986) Canonical piecewise-linear modeling. IEEE Trans Circuits Syst 33(5):511–525

    Article  MathSciNet  Google Scholar 

  • Chua LO, Deng A (1988) Canonical piecewise-linear representation. IEEE Trans Circuits Syst 35:101–111

    Article  MathSciNet  MATH  Google Scholar 

  • Drexel (2013) Drexel University. http://repairfaq.ece.drexel.edu/sam/MEOS/EXP28.pdf

  • Edmund (2012) Edmund optics. http://www.edmundoptics.com

  • Geomatec (2013) Optical system for lasers. http://www.geomatec.co.jp

  • Halabi O, Chiba N (2009) Efficient vector-oriented graphic drawing method for laser-scanned display. Elsevier Disp 30:97–106

    Google Scholar 

  • Harmonic Drive Systems Inc. (2013) Beam Servo Scanner. http://www.hds.co.jp

  • Jimenez-Fernandez V (2006) Decomposed piecewise-linear representation applied to DC analysis. PhD thesis, National Institute for Astrophysics, Optics and Electronics

  • Jimenez-Fernandez V, Hernandez-Martinez L, Sarmiento-Reyes A (2006) Decomposed piecewise-linear models by hyperplanes unbending. In: IEEE international symposium on circuits and systems, ISCAS 2006, Kos, Greece pp 2353–2356

  • Kang SM, Chua LO (1978) A global representation of multidimensional piecewise-linear functions with linear partitions. IEEE Trans Circuits Syst CAS-25(11):938–940

    Google Scholar 

  • Kang SM, Chua LO (1977) Section-wise piecewise-linear functions: canonical representation, properties and applications. Proc IEEE 65:915–929

    Article  Google Scholar 

  • Klawonn F (2012) Introduction to computer graphics: using Java 2D and 3D, 2nd edn. Springer, Berlin, ISBN: 1447127323

  • Menendez FJ, Halabi O, Chiba N (2007) Vector-based library for displaying Bezier curves using a laser projector. In: Proceedings of the IWAIT ‘07, pp 121–126

  • Meyer LE, Otberg N, Sterry W, Lademann J (2006) In vivo confocal scanning laser microscopy: comparison of the reflectance and fluorescence mode by imaging human skin. J Biomed Opt 11(4):044012

    Google Scholar 

  • Murphy P, Benner WR (1993) Computer graphics for scanned laser displays. SMPTE Mot.Image J 102(12): 1125–1133. doi:10.5594/J01654

  • Platte RB, Trefethen LN, Kuijlaars AB (2011) Impossibility of fast approximation of analytic functions equispaced samples. SIAM Rev 2:308–318

    Article  MathSciNet  Google Scholar 

  • Prenter PM (2008) Splines and variational methods. Dover Books on Mathematics Series, ISBN: 0486469026

  • RP Photonics (2013) Encyclopedia of laser physics and technology. http://www.rp-photonics.com/laser-applications.html

  • Sridhar M, Basu S, Scranton VL, Campagnola PJ (2003) Construction of a laser scanning microscope for multiphoton excited optical fabrication. Rev Sci Instrum 74:3474. doi:10.1063/1.1584079

    Google Scholar 

  • Technohands Co. Ltd. (2013) Galvano scanner motor. http://www.technohands.co.jp

  • Thorlabs (2012) Thorlabs Scanning Galvo Systems. User Guide. http://www.thorlabs.com

  • Vohnsen B, Rativa D (2011) Ultrasmall spot size scanning laser ophthalmoscopy. Biomed Opt Express 2(6):1597–1609. doi:10.1364/BOE.2.001597

    Google Scholar 

  • Zicara (2013) Solutions. http://www.zicara.com/techbytes/web-design/advantages-disadvantages-vector-images

Download references

Acknowledgments

The authors would like to thank Jaime Ehrenzweig Reyes, Jose Luis Vazquez Beltran, and Jose Martin Alvarez Hernandez for their contribution in this project as LabView programmers.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Victor M. Jimenez-Fernandez.

Additional information

Communicated by Antonio Josè Silva Neto.

Appendix A

Appendix A

Let the two-dimensional piecewise linear curve of Fig. 15 be described by \(L\) linear segments, and \((L+1)\)-coordinates denoted as (\(X_{i},Y_{i}\)), for \(i=1,2,\ldots ,L+1\).

Fig. 15
figure 15

A \(L\)-segments piecewise linear curve

Each segment has a slope as follows:

  • Region \((1)\):    \(J^{(1)}\) for \(x\le \beta _{1}\)

  • Region \((2)\):    \(J^{(2)}\) for \(\beta _{1}< x\le \beta _{2}\), and consecutively

  • Region \((L-1)\):    \(J^{(L-1)}\) for \(\beta _{L-2}< x\le \beta _{L-1}\)

  • Region \((L)\):    \(J^{(L)}\) for \(\beta _{L-1}< x\)

$$\begin{aligned} J^{(i)}=\frac{Y_{i+1}-Y_{i}}{X_{i+1}-X_{i}},\forall i=\left\{ 1,2,\ldots ,L\right\} \end{aligned}$$
(18)

Beginning from the left to the right, the piecewise linear characteristic can be decomposed into the sum of \(L\) components as shown in Fig. 16: a straight line passing through the origin with slope \(m_{0}\), a concave characteristic which starts at \(\beta _{1}\) with a negative slope \(m_{1}\), and consecutively, the concave characteristics that start at \(\beta _{L-2}\) with slope \(m_{L-2}\), and \(\beta _{L-1}\) with slope \(m_{L-1}\), respectively.

Fig. 16
figure 16

Concave segments that compose the piecewise linear curve of Fig. 15

Adding the \(L\) characteristics, it can be obtained an explicit expression \(y(x)=y_{0}+y_{1}\) \(+\cdots +y_{L-1}\) to describe the curve of Fig. 15.

The slopes \(m_{0}, m_{1}, \ldots , m_{L-1}\) must satisfy the following:

  • Region \((1)\):    \(m_{0}=J^{(1)}\)

  • Region \((2)\):    \(m_{0}+m_{1}=J^{(2)}\) , and consecutively

  • Region \((L)\):    \(m_{0}+\cdots +m_{L-1}=J^{(L)}\) or \(\sum ^{L-1}_{i=1}m_{i}=J^{(L)}\)

Thus, \(m_{0}=J^{(1)}, m_{1}=J^{(2)}-J^{(1)}, \ldots , m_{L-1}=J^{(L)}-J^{(L-1)}\).

After using the normalized equivalence of \(y_{i}=\frac{1}{2}m_{i}\left[ \left| x-\beta _{i}\right| +\left( x-\beta _{i}\right) \right] \), (In this case, de normalized case \(m_{i}=1\)) which is graphically depicted in Fig. 17, it can be obtained.

$$\begin{aligned} y_{0}&= m_{0}x \\ y_{1}&= \frac{1}{2}m_{1}\left[ \left| x-\beta _{1}\right| +\left( x-\beta _{1}\right) \right] \\ \vdots \\ y_{L-1}&= \frac{1}{2}m_{L-1}\left[ \left| x-\beta _{L-1}\right| +\left( x-\beta _{L-1}\right) \right] \end{aligned}$$
Fig. 17
figure 17

Graphical representation for \(y_{i}=\frac{1}{2}m_{i}\left[ \left| x-\beta _{i}\right| +\left( x-\beta _{i}\right) \right] \), normalized \(m_{i}=1\)

It must be noted that each \(y_{i}\) equivalence has been scaled by the corresponding slope.

After that, with \(y(x)=y_{0}+y_{1}+\cdots +y_{L-1}\), it can also be obtained

$$\begin{aligned} y(x)=\left( -\frac{1}{2}\sum ^{L-1}_{i=1}m_{i}\beta _{i}\right) +\left( m_{0}+\frac{1}{2}\sum ^{L-1}_{i=1}m_{i}\right) x+\left( \frac{1}{2}\sum ^{L-1}_{i=1}m_{i}\left| x-\beta _{i}\right| \right) \end{aligned}$$
(19)

This may be written in the following general form:

$$\begin{aligned} y(x)=a+bx+\sum _{i=1}^{L-1}c_{i}\left| x-\beta _{i}\right| \end{aligned}$$
(20)

where

$$\begin{aligned} b&= m_{0}+\frac{1}{2}\sum ^{L-1}_{i=1}m_{i}=J^{(1)}+\frac{1}{2}\sum ^{L-1}_{i=1}\left( J^{(i+1)}-J^{(i)}\right) =\frac{J^{(1)}+J^{(L)}}{2},\end{aligned}$$
(21)
$$\begin{aligned} c_{i}&= \frac{1}{2}\sum ^{L-1}_{i=1}m_{i}=\frac{J^{(i+1)}-J^{(i)}}{2},\end{aligned}$$
(22)
$$\begin{aligned} a&= -\frac{1}{2}\sum ^{L-1}_{i=1}m_{i}\beta _{i}=-\sum ^{L-1}_{i=1}\frac{J^{(i+1)}-J^{(i)}}{2}\beta _{i}=-\sum ^{L-1}_{i=1}c_{i}\beta _{i} \end{aligned}$$
(23)

Two extensions of Eq. (23) can be provided in reference (Chua et al. 1987). The first one considers the case when the initial segment of Fig. 15 does not pass through the origin, in this case Eq. (23) needs simply to be completed by adding a constant as

$$\begin{aligned} a=y(0)-\sum _{i=1}^{\sigma }c_{i}\beta _{i} \end{aligned}$$
(24)

The second one considers a more generalized situation by extending the piecewise linear curve domain as running from the second to the first quadrant. This allows recast Eq.(23) as

$$\begin{aligned} a=y(0)-\sum _{i=1}^{\sigma }c_{i}\left| \beta _{i}\right| \end{aligned}$$
(25)

Rights and permissions

Reprints and permissions

About this article

Cite this article

Jimenez-Fernandez, V.M., Cerecedo-Nuñez, H.H., Vazquez-Leal, H. et al. A parametric piecewise-linear approach to laser projection. Comp. Appl. Math. 33, 841–858 (2014). https://doi.org/10.1007/s40314-013-0099-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40314-013-0099-2

Keywords

Mathematics Subject Classification

Navigation