Zero crossing
Encyclopedia
Zero-crossing is a commonly used term in electronics, mathematics, and image processing. In mathematical terms, a "zero-crossing" is a point where the sign of a function changes (e.g. from positive to negative), represented by a crossing of the axis (zero value) in the graph of the function.

In electronics

In alternating current
Alternating current
In alternating current the movement of electric charge periodically reverses direction. In direct current , the flow of electric charge is only in one direction....

, the zero-crossing is the instantaneous point at which there is no voltage
Voltage
Voltage, otherwise known as electrical potential difference or electric tension is the difference in electric potential between two points — or the difference in electric potential energy per unit charge between two points...

 present. In a sine wave
Sine wave
The sine wave or sinusoid is a mathematical function that describes a smooth repetitive oscillation. It occurs often in pure mathematics, as well as physics, signal processing, electrical engineering and many other fields...

 or other simple waveform
Waveform
Waveform means the shape and form of a signal such as a wave moving in a physical medium or an abstract representation.In many cases the medium in which the wave is being propagated does not permit a direct visual image of the form. In these cases, the term 'waveform' refers to the shape of a graph...

, this normally occurs twice during each cycle.

The zero-crossing is important for systems which send digital
Digital
A digital system is a data technology that uses discrete values. By contrast, non-digital systems use a continuous range of values to represent information...

 data
Data
The term data refers to qualitative or quantitative attributes of a variable or set of variables. Data are typically the results of measurements and can be the basis of graphs, images, or observations of a set of variables. Data are often viewed as the lowest level of abstraction from which...

 over AC circuits
Electrical network
An electrical network is an interconnection of electrical elements such as resistors, inductors, capacitors, transmission lines, voltage sources, current sources and switches. An electrical circuit is a special type of network, one that has a closed loop giving a return path for the current...

, such as modem
Modem
A modem is a device that modulates an analog carrier signal to encode digital information, and also demodulates such a carrier signal to decode the transmitted information. The goal is to produce a signal that can be transmitted easily and decoded to reproduce the original digital data...

s, X10
X10 (industry standard)
X10 is an international and open industry standard for communication among electronic devices used for home automation, also known as domotics. It primarily uses power line wiring for signaling and control, where the signals involve brief radio frequency bursts representing digital information...

 home automation
Home automation
Home automation is the residential extension of "building automation". It is automation of the home, housework or household activity. Home automation may include centralized control of lighting, HVAC , appliances, and other systems, to provide improved convenience, comfort, energy efficiency and...

 control system
Control system
A control system is a device, or set of devices to manage, command, direct or regulate the behavior of other devices or system.There are two common classes of control systems, with many variations and combinations: logic or sequential controls, and feedback or linear controls...

s, and Digital Command Control
Digital Command Control
Digital Command Control is a standard for a system to operate model railways digitally. When equipped with Digital Command Control, locomotives on the same electrical section of track can be independently controlled....

 type systems for Lionel
Lionel
Lionel may refer to:as a male given name*Lionel Atwill, English actor*Lionel Barrymore, American actor*Lionel Bart, British composer*Lionel Blair, British dancer and actor*Lionel Hampton, American jazz musician*Lionel Jeffries, English actor...

 and other AC model trains.

Counting zero-crossings is also a method used in speech processing
Speech processing
Speech processing is the study of speech signals and the processing methods of these signals.The signals are usually processed in a digital representation, so speech processing can be regarded as a special case of digital signal processing, applied to speech signal.It is also closely tied to...

 to estimate the fundamental frequency
Fundamental frequency
The fundamental frequency, often referred to simply as the fundamental and abbreviated f0, is defined as the lowest frequency of a periodic waveform. In terms of a superposition of sinusoids The fundamental frequency, often referred to simply as the fundamental and abbreviated f0, is defined as the...

 of speech.

In a system where an amplifier with digitally controlled gain is applied to an input signal, signal artifacts will occur when the gain of the amplifier abruptly switches between its discrete gain settings while outputting a non-zero current. At audio frequencies, such as in modern consumer electronics like digital audio players, these effects are clearly audible, resulting in a 'zipping' sound when rapidly ramping the gain, or a soft 'click' when a single gain change is made. Artifacts
Artifact (error)
In natural science and signal processing, an artifact is any error in the perception or representation of any visual or aural information introduced by the involved equipment or technique....

 are disconcerting and clearly not desirable. If changes are made at a zero-crossing of the signal, the input is zero, so no matter how the amplifier gain setting changes, the output will also remain at zero.

If electrical power is to be switched, no electrical interference is generated if switched at an instant when there is no current, a zero crossing. Early light dimmer
Dimmer
Dimmers are devices used to vary the brightness of a light. By decreasing or increasing the RMS voltage and, hence, the mean power to the lamp, it is possible to vary the intensity of the light output...

s and similar devices generated interference; later versions were designed to switch at the zero crossing.

In image processing

In the field of Digital
Digital
A digital system is a data technology that uses discrete values. By contrast, non-digital systems use a continuous range of values to represent information...

 Image Processing
Image processing
In electrical engineering and computer science, image processing is any form of signal processing for which the input is an image, such as a photograph or video frame; the output of image processing may be either an image or, a set of characteristics or parameters related to the image...

, great emphasis is placed on operators which seek out edges within an image. They are called 'Edge Detection' or 'Gradient filters'. A gradient filter
Edge detection
Edge detection is a fundamental tool in image processing and computer vision, particularly in the areas of feature detection and feature extraction, which aim at identifying points in a digital image at which the image brightness changes sharply or, more formally, has discontinuities...

 is a filter which seeks out areas of rapid change in pixel value. These points usually mark an edge or a boundary. A Laplace filter is a filter which fits in this family, though it sets about the task in a different way. It seeks out points in the signal stream where the digital signal of an image passes through a pre-set '0' value, and marks this out as a potential edge point. Because the signal has crossed through the point of zero, it is called a zero-crossing. For a more complete explanation, try visiting http://www.pages.drexel.edu/%7Eweg22/edge.html. Another example can be found here, including the source in Java.

See also

  • Reconstruction from zero crossings
    Reconstruction from zero crossings
    The problem of reconstruction from zero crossings can be stated as: given the zero crossings of a continuous signal, is it possible to reconstruct the signal ? Worded differently, what are the conditions under which a signal can be reconstructed from its zero crossings?This problem has 2 parts...

  • Zero-crossing rate
  • Sign function
    Sign function
    In mathematics, the sign function is an odd mathematical function that extracts the sign of a real number. To avoid confusion with the sine function, this function is often called the signum function ....

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK