Object counting apparatus and method

Abstract: An apparatus and a method for counting objects, such as printed copy being advanced along a path in an overlapping manner, is arranged to direct two beams of infra-red radiation on to a predetermined region in the path of advancement of the copy. The two beams are distinguishable one from the other and are directed from positions respectively upstream and downstream of said region. Two detectors (24,25) are disposed above said region, to receive radiation respectively from two distinct areas, both within said region but spaced in the direction of the path of advancement of the objects. Suitable processing of the detector outputs, to determine the gradients of the said areas, allows the generation of a count signal as the leading edge of an object passes through said region.

Description: This invention relates both to apparatus for and methods of counting objects passing a given point, over a period of time. In particular - but not exclusively - this invention concerns the counting of relatively thin objects which are advanced through the counting point in an overlapping manner, such as in the case of the counting of printed copy issuing from a printing press. Using modern technology, the counting of many kinds of objects passing a given point presents no particular problems, if those objects are spaced apart. For example, the counting can be performed mechanically, optically or magnetically, depending upon the nature of the objects. Even in the case of essentially flat, sheet-like objects which are advanced in an overlapping state, relatively simple counters can produce exact results, provided that the thickness of the objects and their degree of overlap are essentially constant. Unfortunately, for a case where the thickness of the objects is variable or where the extent of the overlap varies, the problem of accurately counting the objects is much increased. Depending upon the method employed, the accuracy may be worsened by the object having variable surface finishes, faults and - for optical counters - colour variations. A particular problem arises in the case of printed copy leaving a printing press. Such printed copy may be of variable thickness, may have different extents of overlap and may have light and dark printed areas as well as torn or damaged portions. If the printed copy is folded - as in the case for example of newspapers - the problems are greatly exacerbated and much effort has been expended on finding satisfactory counters for such printed copy. Whilst mechanical or electro-mechanical counters can sometimes be used to sense the leading folded edge on each printed copy, relatively thin copy cannot be sensed reliably in this way and moreover miscounts can easily occur due to creases, bulges or the like. Experience also shows that closely spaced copies moving at relatively high speeds cannot reliably be counted, even if the mechanical sensors are set and adjusted with great care. In an attempt to overcome the above problem, there have been proposals for optical photo-electric counters, directing a beam of light obliquely on to the printed copy in the direction advancement of that copy. However, reliable results still are not obtained, either because photo-electric counters can erroneously react to areas of dark print or because the copy is too thin for a reliable output to be obtained. Improvements in optical counters have been described for example in U.S. Patent Specification No. 4,286,149 (NCR Canada Limited) and in our own International Specification No. WO 85/05206. In both of these Specifications there are described counters employing a pair of beams directed obliquely on to the objects being advanced, from positions upstream and downstream of the counting point. At least one receiver is arranged to detect radiation reflected from the counting point and a determination is made of whether radiation from both sources is being received, or radiation from only one source, on account of a shadow effect at the leading edge of an advancing object. From the output of the detector, a decision is taken on whether the object count should be incremented. In an attempt to improve reliability, the U.S. Specification also describes an arrangement in which two detectors are used, spaced apart by a significant distance along the path of advancement. Tests have shown that counters as described above still do not give entirely accurate results, especially when used in conjunction with newspapers and similar print copy. Such counters may still be confused by changes in the reflectivity of the copy in the region of the leading edge, caused for example by variations in the density of the printing, and also by variations in the thickness of the copy being counted. Also, erroneous operation frequently occurs when the upper surface of the printed copy is rippled or wavy, such as may happen when inserts, leaflets or the like are placed within the folded printed copy. It is therefore an aim of the present invention to improve further upon the reliability of the above-described counters while still using similar detection techniques. According to one aspect of the present invention, an apparatus for counting objects advanced along a path in an overlapping manner comprises first and second radiation sources each adapted to direct radiation obliquely towards a pre-defined region in the path of advancement of the objects to be counted, the first source being disposed upstream and the second source downstream of said region and the radiations from the two sources being similar but distinguishable, first and second radiation detectors, and analyser means arranged to act on the outputs of the two radiation detectors and to provide an object count signal,the apparatus being characterised by the first and second radiation detectors being disposed closely adjacent one another but spaced apart along said path to receive radiation reflected respectively from two distinct areas both within said region but spaced along said path, and by the analyser means being arranged to provide an object count signal dependent upon the rate of change along and in the direction of the path of advancement of the objects, of the reflected radiations as detected by the first and second detectors. It will be appreciated that with the apparatus of the present invention, an attempt has been made to overcome the problem of erroneous counting caused for example by a ripple in the upper surface an object being counted or by variations in the reflectivity of the surface of the object passing through the count region. This is achieved by providing two radiation detectors focused on two spaced apart areas within said region, and an analyser means acting on the outputs of the two detectors in such a manner as to determine the rate of change of the reflected radiation with respect to unit path length (i.e. along and in the direction of advancement of the objects) to produce a count signal dependent thereon. According to a second aspect of the present invention, there is provided a method of counting objects advanced along a path in an overlapping manner, in which method first and second beams of radiation are directed on to a region disposed in the path of advancement of the objects, said first and second beams being distinguishable from one another and being directed to said region obliquely from positions respectively upstream and downstream thereof, which method is characterised in that radiation reflected from two areas within said region but separated along the length of the path is received by two detectors relatively closely spaced along the path, and the outputs of the two detectors are analysed to determine the rate, along and in the direction of the path of advancement of the objects, at which the detected reflected radiations change, a count signal being issued dependent thereon. Though the invention may be used to count various objects which are advanced in an overlapping manner along a path, the invention finds particular application to the counting of printed copy. Accordingly, in the following further description of this invention, reference will be made solely to the counting of such copy, though it is to be understood that many of the preferred features to be described below are equally applicable to the counting of objects other than printed copy. In a preferred aspect of this invention, the outputs of the two detectors are analysed so as to be indicative of the effective slope or gradient at the two areas from which the two detectors receive reflected radiation, with respect to the direction of the path of advancement of the objects. If the determined gradients are zero (i.e. horizontal), then no count signal is generated. If however at least one determined gradient is negative, then a decision is taken on whether to issue a count signal dependent upon the value of that negative gradient, and upon the rate of change of the detected radiation reflected from said region, with respect to unit path length. The areas from which each detector receives reflected radiation must be relatively small, in order that the gradient detection at the leading edge of a copy is not swamped by received reflected radiation from the copy surfaces to each side of the leading edge. Typically, the area from which each detector receives reflected radiation may have a size of from 0.5 mm to 5.0 mm diameter, with a value of 2 mm giving particularly good results. The areas from which the two detectors respectively receive radiation must be distinct, and may be contiguous or spaced apart along the length of the path by typically 1 to 2 mm. In order that the apparatus and method of this invention may adequately function, the radiation from one source must be distinguishable from the radiation of the other source. This permits the analyser means to reject zero or two positive gradients at the areas from which the two detectors respectively receive radiation. The two radiations are preferably electro-magnetic (though for some types of object could be sonar) and could be distinguishable in frequency or in polarisation, though most preferably are distinguishable in time. To this end, it is preferred for the radiation sources to be alternately keyed on and off in anti-phase, whereby the outputs of the two detectors may at any instant be associated with radiation from one source or the other, as appropriate. Conveniently, infra-red radiation is employed. Most preferably, two separate signals are obtained from the two detectors, by suitable processing of the respective detector outputs, which signals are then subtracted one from the other and a decision taken on whether a count signal should be generated dependent upon the magnitude of the resultant signal difference. By taking the phases of the detector outputs into account, gradient detection is simplified: rejection of two positive and zero gradients allows a simple threshold detection to be employed, only when at least one negative gradient has been determined as being present. This presumes that the copy is being advanced along the path in an overlapping manner, with the leading edge of the next following copy lying on top of the trailing edge of a leading copy. If the copy is advanced differently (e.g. spaced, or with the trailing edge of one copy overlying the leading edge of the next following copy) then the detection method may be amended, as appropriate. By way of example only, one specific embodiment of apparatus and a method of this invention for counting printed copy will now be described in detail, reference being made to the accompanying drawings, in which:- Figure 1 is a diagrammatic vertical cross-section through a counter head of the apparatus of this invention; Figures 2A to 2F show the reflection states for various attitudes of copy being counted; Figures 3A to 3F show various waveforms present in the counter circuitry; Figure 4 is a block diagram of the analyser circuit for use in conjunction with the counter head shown in Figure 1; and Figures 5A to 5I show various reflection states when the counter is in use. Referring initially to Figure 1, there is shown the head of an embodiment of counter of this invention, intended for mounting above the path of advancement of overlapped folded paper on a conveyer stream, such as frequently occurs in the printing industry. Such copy may comprise, for example, folded newspapers, with leaflets inserted into each newspaper. The head 10 has a casing in which are mounted two sets 11 and 12 of infra-red emitting diodes, the two sets being spaced apart along the length of the path of advancement of the copy, with set 11 being disposed upstream. The sets are angled as shown to direct radiation on to the same area on the copy path (not shown in Figure 1). Between the two sets 11 and 12 is provided a barrel 13 in which is mounted a plano-convex lens 14 together with a filter to exclude radiation other than infra-red, the lens being arranged to collect infra-red radiation reflected from the area of the path on to which the sets 11 and 12 of infra-red emitters direct radiation. The radiation collected by the lens 14 is directed on to a pair of photo-diodes arranged in a single housing 15, the diodes being spaced apart by a relatively small distance (typically 2 mm) in the direction of advancement of the copy. In this way, the photo-diodes receive radiation reflected from two distinct areas spaced apart by about 2 mm along the direction of advancement of the copy. The infra-red emitters of the two sets 11 and 12 are arranged to be keyed on and off alternately in anti-phase, by a clock signal (Figure 3A) produced by an analyser circuit (Figure 4). If a horizontal surface lies beneath the head 10 as shown in Figures 2A and 2B, then the radiation collected by the lens 14 will be constant, irrespective of which set of infra-red emitters is keyed on. The outputs of the photo-diodes in housing 15 will thus be essentially constant, as shown in Figure 3B. If a surface with a positive slope lies beneath the head (Figures 2C and 2D) then the radiation collected by lens 14 will have a much greater intensity when the leading set 11 of emitters is keyed on than when the lagging set 12 of emitters is keyed on; the output waveform from the photo-diodes will thus be as shown in Figure 3C. Conversely, should the surface beneath the head 10 have a negative slope, (as shown in Figures 2E and 2F), then the radiation collected by lens 14 when the lagging set 12 of emitters is keyed on will be greater than when the leading set 11 is turned on (Figure 3D). The waveforms of Figures 3B to 3D are processed by removing the DC content, using high pass filters, and the resultant signal is then half-wave rectified to remove the negative voltage part of the signal. The wave-form of Figure 3E will result in the case of the initial waveform of Figures 3C, and the waveform of Figure 3F in the case of the initial waveform of Figure 3D. No signal will result in the case of the waveform of Figure 3B. It will therefore be appreciated that the horizontal surface will produce no signal output; a surface with a positive gradient will produce a signal similar to but out of phase with the clock signal and a surface with a negative gradient will produce a signal similar to and in-phase with the clock signal. Referring now to Figure 4, there is shown in block form an analyser circuit for use with the counter head of Figure 1. A clock generator 20 produces in- and out-of-phase signals on lines 21 and 22 respectively, which signals are amplified to drive the sets 11 and 12 of infra-red emitters, respectively. The in-phase signal also is used to provide a strobe signal 23, for a purpose to be described below. The two photo-diodes contained within the single housing 15 are shown at 24 and 25. The outputs of these are passed through non-inverting amplifiers 26 and 27 respectively, then through high pass filters 28 and 29 respectively and half-wave rectifiers 30 and 31 respectively. The output of half-wave rectifier 30 is supplied directly to a summing circuit 32, but the output from half-wave rectifier 31 is inverted by amplifier 33 before being supplied to the summing circuit 32; in this way, the output of the summing circuit 32 appearing on line 34 is the difference between the outputs of the two half-wave rectifiers 30 and 31. The output of the summing circuit 32 is passed through an adjustable sensitivity amplifier 35 and then fed to a comparator which is strobed by signal 23, in-phase with the clock signal 21, to determine in conjunction with the processed outputs of the two photo-diodes whether a count signal should be generated. In effect, this is decided on the basis of the amplitude and phase of the output of the sensitivity amplifier 35. The amplitude of each photo-diode signal, following the high pass filter and half-wave rectification, is indicative of the gradient of the surface at the area at which radiation is reflected to that photo-diode, though the relationship is complex and non-linear. Ripples in the surface of the copy passing beneath the head 10 may produce at either photo-diode an in-phase signal indistinguishable from a copy edge transition, particularly where the copy is relatively thin or distorted. In an attempt to overcome this and so to distinguish the leading edge of a copy and noise effects for example from rippled surfaces, the circuit of Figure 4 operates to take into account the rate of change of the surface gradient, having regard to unit length along the path of copy advancement, rather than time, by analysing the gradients at the two spaced-apart areas from which the two photo-diodes respectively receive radiation. As mentioned above, a copy count signal may be generated only when a rate of change of negative gradient exceeding a pre-set threshold value has been determined to be present, as indicated by the presence of a detected signal in-phase with the clock signal, of a level greater than said pre-set threshold value. In the following Table, the various possibilities are set out, having regard to the signals obtained from the photo-diodes. In the Table, signal A represents that derived from photo-diode 24, and signal B that derived from photo-diode 25. Figure No. Signal A from Photo-diode 24 Signal B from Photo-diode 25 Comparison Count? 5A 0 0 0 No 5B 0 Out of Phase Out of Phase No 5C 0 In Phase In Phase Yes 5D Out of Phase 0 0 No 5E Out of Phase Out of Phase 0 No 5F Out of Phase In Phase In Phase Yes 5G In Phase 0 0 No 5H In Phase Out of Phase 0 No 5I In Phase In Phase B > A Yes B < A No B = A No From the above Table and Figures 5A to 5I, it will be appreciated that only two basic surface conditions are of interest, as shown in Figures 5C and 5I. The abnormal situation in Figure 5F also may give rise to a count signal being generated but in practical applications it would not be expected that this copy configuration could be achieved, with a level above the threshold value for in-phase signals. By setting appropriate threshold levels, it will be seen that a copy-count signal will be obtained only when the rate of change of the surface gradient per unit distance along the path of advancement has been exceeded, and this will occur only when the leading edge of a copy is present. High reliability may thus be expected, with excellent rejection of spurious counts due to ripples and other surface distortions, particularly in the case of counting folded printed matter advanced in an overlapping manner. Suitable modification of the detection analysis will allow the apparatus to operate with copy or other objects advanced in different configurations, such as spaced, or with the trailing edge of one copy overlying the leading edge of the next following copy. However, the principal of the analysis will remain the same - that is to say, the determination of the rate of change of the gradient, with respect to the unit path length.

Claims: Apparatus for counting objects advanced along a path in an overlapping manner, which apparatus comprises first and second radiation sources (11,12) each adapted to direct radiation obliquely towards a pre-defined region in the path of advancement of the objects to be counted, the first source being disposed upstream and the second source downstream of said region and the radiations from the two sources being similar but distinguishable, first and second radiation detectors (24,25) and analyser means arranged to act on the outputs of said two radiation detectors to provide an object count signal, characterised in that the first and second radiation detectors (24,25) are disposed closely adjacent one another but spaced apart along said path to receive radiation reflected respectively from two distinct areas both within said region but spaced along said path, and in that the analyser means is arranged to provide an object count signal dependent upon the rate of change along and in the direction of the path of advancement of the objects, of the reflected radiations as detected by the first and second detectors. Apparatus according to claim 1, further characterised in that each of the radiation sources (11,12) comprises an infra-red transmitter, and each of the radiation detectors (24,25) comprises an infra-red detecting element. Apparatus according to claim 1 or claim 2, further characterised in that control means are provided to control the operation of the first and second radiation sources (11,12), whereby said sources are energised in anti-phase. A method of counting objects advanced along a path in an overlapping manner, in which method first and second beams of radiation are directed on to a region disposed in the path of advancement of the objects, said first and second beams being distinguishable from one another and being directed to said region obliquely from positions respectively upstream and downstream thereof, characterised in that radiation reflected from two areas within said region but separated along the length of the path is received by two detectors relatively closely spaced along the path, and the outputs of the two detectors are analysed to determine the rate, along and in the direction of the path of advancement of the objects, at which the detected reflected radiations change, a count signal being issued dependent thereon. A method of counting objects according to claim 4, further characterised in that the outputs of the two detectors are analysed so as to be indicative of the effective slope or gradient of said two areas from which the two detectors receive reflected radiation, which slope or gradient is determined with respect to the direction of the path of advancement of the objects. A method of counting objects according to claim 4 or claim 5, characterised in that each said area from which each detector respectively receives reflected radiation has a size of from 0.5 mm to 5.0 mm diameter, and preferably 2 mm diameter. A method of counting objects according to any of claims 4 to 6, further characterised in that said areas are distinct, but contiguous, or are spaced apart along the length of the path by not more than 2 mm. A method of counting objects according to any of claims 4 to 7, characterised in that the beams of radiation are of electro-magnetic or sonar radiation, and are distinguishable from each other by their respective frequencies, polarisations or active times. A method according to claim 8, further characterised in that radiation beams are alternatively keyed on and off in anti-phase, whereby the outputs of the two detectors may at any instant be associated with radiation from one source or the other, as appropriate. A method of counting objects according to any of claims 4 to 9, characterised in that two separate signals are obtained from the two detectors, and said two separate signals are processed to yield respective detector outputs which are subtracted one from the other, a decision then being taken on whether a count signal should be generated dependent upon the magnitude of the resultant signal difference. A method according to claim 10, further characterised in that the processing of said two separate signals determines the gradients of said areas on the basis of the phases of the said signals, and only when at least one negative gradient is determined as being present is then the magnitude of said resultant signal difference utilised to determine whether a count signal should be issued.

Inventors: GARDNER ANDREW DAVID, SPARLING DAVID LESLIE, GARDNER, ANDREW DAVID, SPARLING, DAVID LESLIE
Applicants: QUANTITY & TIME MENAGEM SYST, QUANTITY & TIME MANAGEMENT SYSTEMS LIMITED
Application year: 1989
Main classification: G06M7
IPC codes: G06M7, G06M1