CN109839672A - A kind of photoelectric detection system and signal synchronizing method - Google Patents

A kind of photoelectric detection system and signal synchronizing method Download PDF

Info

Publication number
CN109839672A
CN109839672A CN201711202315.4A CN201711202315A CN109839672A CN 109839672 A CN109839672 A CN 109839672A CN 201711202315 A CN201711202315 A CN 201711202315A CN 109839672 A CN109839672 A CN 109839672A
Authority
CN
China
Prior art keywords
signal
module
subelement
clock
period
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
Application number
CN201711202315.4A
Other languages
Chinese (zh)
Inventor
刘正勇
王毅
王松柏
王广炎
何烽光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Sineva Intelligent Machine Co Ltd
Original Assignee
Hefei Sineva Intelligent Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Sineva Intelligent Machine Co Ltd filed Critical Hefei Sineva Intelligent Machine Co Ltd
Priority to CN201711202315.4A priority Critical patent/CN109839672A/en
Publication of CN109839672A publication Critical patent/CN109839672A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

The problems such as the embodiment of the present invention provides a kind of photoelectric detection system and signal synchronizing method, is related to photoelectric detection technology field, it can be achieved that signal is synchronous, and can preferably improve signal distortion, the unstable of signal, disturbed signal.A kind of photoelectric detection system, including light emitting module, by optical module and control module;Light emitting module includes the luminescence unit for emitting optical signal, is included the light receiving unit corresponded with luminescence unit and for receiving optical signal by optical module;Light emitting module further includes logic control element;Logic control element is used for the clock signal sent according to control module, is modulated to obtain the first initial signal to the clock signal;Control module is used to generate the clock signal in the data period of each signal period, and sends the clock signal simultaneously to light emitting module and by optical module;Second initial signal synchronous with first initial signal is generated according to the feature of the first initial signal, is sent to by optical module.

Description

A kind of photoelectric detection system and signal synchronizing method
Technical field
The present invention relates to photoelectric detection technology field more particularly to a kind of photoelectric detection systems and signal synchronizing method.
Background technique
Optoelectronic detecting device can to the object for being distributed in multilayer there are situations to judge.
If any multilager base plate vertical distribution in a case, need whether certain layer in detection container has substrate, Other equipment can be made to carry out subsequent operation, it is therefore desirable to successively be judged, and all be sent out by a pair the detection of each laminar substrate Light unit and light receiving unit carry out.Since all luminescence units are distributed in light emitting module, all light receiving units are distributed in light In module, it is then desired to which the light emitting module for being input to optoelectronic detecting device is synchronous with the signal by optical module, so as to each layer The detection of substrate successively carries out.
Current way is, as shown in Figure 1, using cable (tens of meters of distances) by light emitting module 10 and by optical module 20 Connection, realizes the synchronization of signal, but clock signal, initial signal all use cable synchronous transfer, is easy to cause signal distortion, letter Number unstable, signal it is disturbed the defects of.Wherein, light emitting module 10 is according to initial signal and clock signal, makes it include Luminescence unit successively shines;By optical module 20 according to initial signal and clock signal, the light receiving unit for making it include is sequentially output Signal.
Summary of the invention
The embodiment of the present invention provides a kind of photoelectric detection system and signal synchronizing method, it can be achieved that signal is synchronous, and can Preferable the problems such as improving signal distortion, the unstable of signal, disturbed signal.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
On the one hand, a kind of photoelectric detection system is provided, including light emitting module, by optical module and control module;It is described to shine Module includes the luminescence unit for emitting optical signal, it is described by optical module include with the luminescence unit correspond and be used for Receive the light receiving unit of optical signal;The light emitting module further includes logic control element;The logic control element is used for basis The clock signal that the control module is sent, is modulated the clock signal to obtain the first initial signal;The control mould Block is used to generate the clock signal in the data period of each signal period, and simultaneously to the light emitting module and the light Module sends the clock signal;Synchronous with first initial signal the is generated according to the feature of first initial signal Two initial signals are sent to described by optical module.
Preferably, the light emitting module further includes the first shift LD module, and described by optical module is further included the second displacement Registration module;The first shift LD module, under the driving of the clock signal, according to first initial signal It controls the luminescence unit timesharing and carries out optical signal launch;The second shift LD module, in the clock signal Under driving, the light receiving unit is controlled according to second initial signal and carries out signal output, the light receiving unit and transmitting light letter Number the luminescence unit it is corresponding.
Preferably, the logic control element includes count sub-element, decoding subelement, selection subelement, data holding Subelement and reset subelement;The count sub-element is for counting the rising edge or failing edge of the clock signal; The input terminal of the decoding subelement is connect with the output end of the count sub-element, and the decoding subelement is for inputting it The signal at end carries out decoding output;The input terminal of the selection subelement is connect with the output end of the decoding subelement, described The output end of subelement is selected to keep subelement to connect with the data, the selection subelement is for making the decoding subelement The decoded signal of output end output be input to the data and keep subelement;Wherein, one of the decoding subelement The decoded signal of output end output is always maintained at after reaching corresponding count value and carrying out signal overturning until counting is single Member is reset;The count value is equal to the number of all luminescence units in the light emitting module;The data keep son single Member exported first starting for the signal of a upper clock cycle for the decoded signal to be remained to present clock period Signal;When the reset subelement is by based on a signal period completely, the count sub-element is resetted.
It is further preferred that the logic control element further includes shaping unit, input terminal and the control module connect It connects, output end is connect with the count sub-element and the reset subelement;The shaping unit is used for the clock signal Carry out noise reduction process.
Preferably, the control module generates same with first initial signal according to the feature of first initial signal Second initial signal of step, comprising: the control module is based on first signal period useless principle that need to give up, according to described First initial signal generates a clock since second signal period, in first clock cycle of each signal period The feature of the pulse signal of width generates second initial signal synchronous with first initial signal.
Preferably, the control module is also used to stop in the invalid data period of each signal period to described Light emitting module and it is described sent the clock signal by optical module, until a signal period meter is full;It is described to translate based on this The decoded signal of the output end output of numeral unit is always maintained at straight after reaching corresponding count value and carrying out signal overturning It is reset to the count sub-element, comprising: the decoded signal of the output end output of the decoding subelement is reaching phase After the count value answered carries out signal overturning and continues certain clock cycle, into the invalid data period, make the decoding The current potential of signal continues maintained until the count sub-element is reset.
Optionally, the shaping unit is Schmidt trigger;The decoding subelement is address decoder;The selection Subelement is toggle switch;The data keep subelement and the reset subelement is d type flip flop.
On the other hand, a kind of signal synchronizing method is provided, for light emitting module in photoelectric detection system and by optical module Data are synchronous, comprising: the light emitting module and the control module for being received the photoelectric detection system simultaneously by optical module exist The clock signal that the data period of each signal period sends;The light emitting module is according to the clock signal, to the clock Signal is modulated to obtain the first initial signal;It is described to be received the control module according to first initial signal by optical module The second initial signal for generating of feature, second initial signal is synchronous with first initial signal.
Preferably, the clock signal is modulated to obtain the first initial signal, comprising: to the upper of the clock signal It rises edge or failing edge is counted;The multiple metering signal exported after counting is decoded, it only will wherein decoded signal all the way Output;Wherein, which is always maintained at after reaching corresponding count value and carrying out signal overturning until a signal period Meter is full;Wherein, the count value is equal to the number of all luminescence units in the light emitting module;The decoded signal is protected It holds first clock cycle in next signal period, exports first initial signal.
It is further preferred that the method is also wrapped before the rising edge or failing edge to the clock signal count It includes: noise reduction process is carried out to the clock signal.
Preferably, received that the control module is generated according to the feature of first initial signal by optical module Two initial signals, comprising: described to be received the control module based on first signal period useless original that give up by optical module Then, equal in first clock signal of each signal period according to first initial signal since second signal period The feature of the pulse signal of a clock widths is generated, second initial signal is generated.
Preferably, the decoded signal is always maintained at after reaching corresponding count value and carrying out signal overturning until one Signal period meter is full, comprising: the decoded signal is reaching corresponding count value progress signal overturning and continuing certain clock After period, into the invalid data period, continue the current potential of the decoded signal maintained until a signal period meter is full;Its In, in the invalid data period, the control module stop to the light emitting module and it is described by optical module send it is described when Clock signal, until a signal period meter is full.
The embodiment of the present invention provides a kind of photoelectric detection system and signal synchronizing method, by increasing in light emitting module Logic control element modulates to obtain the first initial signal according to clock signal by logic control element, and by control module according to The feature of first initial signal generates second initial signal synchronous with the first initial signal and is sent to by optical module, to guarantee Luminescence unit successively emits optical signal, while the carry out signal output that light receiving unit corresponding with the luminescence unit is synchronous.Wherein, Although clock signal needs cable transmission, middle clock signal and initial signal, can be big all by cable transmission compared with the prior art It is big to improve the problems such as clock signal distorts, is unstable, signal is disturbed, so that the stability of clock signal transmission increases, moreover, Since the first initial signal and the second initial signal are not influenced by cable transmission, can to avoid signal delay, interference the problem of, because This, so that the first initial signal is synchronous more reliable with the second initial signal;Further, since transmission clock signal is only needed, thus Number of cables can be also reduced, cost, easy access are saved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram for photoelectric detection system that the prior art provides;
Fig. 2 is a kind of schematic diagram one of photoelectric detection system provided by the invention;
Fig. 3 is a kind of schematic diagram two of photoelectric detection system provided by the invention;
Fig. 4 is a kind of schematic diagram one of first shift LD module provided by the invention;
Fig. 5 is a kind of schematic diagram two of first shift LD module provided by the invention;
Fig. 6 is a kind of schematic diagram one of logic control element provided by the invention;
Fig. 7 is a kind of count signal schematic diagram of two output ends output of count sub-element provided by the invention;
Fig. 8 is a kind of schematic diagram two of logic control element provided by the invention;
Fig. 9 is the waveform diagram of clock signal before and after shaping;
Figure 10 is a kind of schematic diagram three of photoelectric detection system provided by the invention;
Figure 11 is the signal schematic representation of each subelement output in logic control element provided by the invention;
Figure 12 is the schematic diagram of the second initial signal of control module provided by the invention output;
Figure 13 is a kind of flow diagram of signal synchronizing method provided by the invention.
Appended drawing reference:
10- light emitting module;20- is by optical module;30- control module;101- luminescence unit;102- logic control element; 103- the first shift LD module;201- light receiving unit;202- the second shift LD module;1021- shaping unit;1022- meter Number subelement;1023- decodes subelement;1024- selects subelement;1025- data keep subelement;1026- resets subelement.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of photoelectric detection system, as shown in Figure 2, comprising: light emitting module 10, by optical module 20 With control module 30;Light emitting module 10 includes the luminescence unit 101 for emitting optical signal, is included and luminous list by optical module 20 Member 101 corresponds and the light receiving unit 201 for receiving optical signal;Light emitting module 10 further includes logic control element 102;It patrols The clock signal that control unit 102 is used to send according to control module 30 is collected, the clock signal is modulated to obtain first Initial signal;Control module 30 is used to generate the clock signal in the data period of each signal period, and simultaneously to luminous Module 10 and the clock signal is sent by optical module 20;It is generated and the first according to the feature of first initial signal The second synchronous initial signal of beginning signal, is sent to by optical module 20.
It is understood that light emitting module 10 can only include a luminescence unit 101, in the case, by optical module 20 also include a light receiving unit 201, and a luminescence unit 101 and a light receiving unit 201 are corresponding.Light emitting module 10 can also It is included the light receiving unit equal with 101 numbers of luminescence unit by optical module 20 in the case including multiple luminescence units 101 201, and luminescence unit 101 and light receiving unit 201 correspond.
Wherein, one-to-one a pair of of luminescence unit 101 and light receiving unit 201 can be used for detecting article on one layer of luggage carrier There are situations.
Since luggage carrier under normal circumstances is that (such as n-layer, n are greater than 1), if every layer of luggage carrier is correspondingly arranged one multilayered structure To luminescence unit 101 and light receiving unit 201, then the number of corresponding luminescence unit 101 and light receiving unit 201 is also n, and right When every layer of article is detected there are situation, luminescence unit 101 only corresponding with current layer shines, and light receiving unit 201 connects Light and output signal are received, just can guarantee the accuracy of detection, therefore, this just needs light emitting module 10 and can be received by optical module 20 Make and the hair to synchronous initial signal and clock signal so that layer-by-layer 101 timesharing of luminescence unit carries out optical signal launch The corresponding light receiving unit 201 of light unit 101 carries out signal output.
It should be noted that first, it will be understood by those skilled in the art that due to light receiving unit 201 receiving optical signal and When output signal, control module 30 can be analyzed and processed the signal, and therefore, control module 30 can be close to by optical module 20 Setting so that control module 30 at a distance from light emitting module 10 farther out.
In the case, the received clock signal of light emitting module 10, then need cable to be transmitted.
Second, each signal period further includes the invalid data period in addition to including the data period, in the invalid data period, Control module 30 no longer generates normal clock pulse signal, but can be always maintained at such as low level output, therefore, in data week At the end of phase, control module 30 is simultaneously stopped to light emitting module 10 and by 20 tranmitting data register signal of optical module, until a signal Until week expires.
Third, for control module 30, without obtaining the first initial signal, because by logic control element 102 design, output the first initial signal be it is known, thus, control module 30 can be according to the known the first The feature of beginning signal and generate the second initial signal.
The embodiment of the present invention provides a kind of photoelectric detection system, by increasing logic control element in light emitting module 10 102, it is modulated to obtain the first initial signal according to clock signal by logic control element 102, and by control module 30 according to first The feature of initial signal generates second initial signal synchronous with the first initial signal and is sent to by optical module 20, to guarantee to send out Light unit 101 successively emits optical signal, while the carry out signal synchronous with the corresponding light receiving unit 201 of luminescence unit 101 is defeated Out.Wherein, although clock signal needs cable transmission, middle clock signal and initial signal are all passed by cable compared with the prior art It is defeated, the problems such as clock signal distorts, is unstable, signal is disturbed can be substantially improved, so that the stability of clock signal transmission increases Add, moreover, because the first initial signal and the second initial signal are not influenced by cable transmission, it can be to avoid signal delay, interference The problem of, therefore, so that the first initial signal is synchronous more reliable with the second initial signal;Further, since only needing transmission clock Signal, thus number of cables can be also reduced, save cost, easy access.
Preferably, as shown in figure 3, light emitting module 10 further includes the first shift LD module 103, further included by optical module 20 Second shift LD module 202;First shift LD module 103, under the driving of the clock signal, according to described One initial signal controls 101 timesharing of luminescence unit and carries out optical signal launch;Second shift LD module 202, for when described Under the driving of clock signal, light receiving unit 201 is controlled according to second initial signal and carries out signal output, the light receiving unit 201 It is corresponding with the transmitting luminescence unit 101 of optical signal.
Wherein, the first shift LD module 103 may include at least one shift register, when including multiple shift LDs When device, multiple shift registers are successively cascaded.
As shown in Figure 4 and Figure 5, each shift register includes clock signal input terminal CLK and initial signal input terminal DAT and M output end QP1~QPM, M >=2.
When the first shift LD module 103 include a shift register when, as shown in figure 4, the shift register when Clock signal input part CLK input clock signal, initial signal input terminal DAT input the first initial signal, each luminescence unit 101 An output end is connected, and the output end that each luminescence unit 101 connects is different.Based on this, successively by each output end The luminescence unit 101 that output shift signal control is connect with corresponding output end emits optical signal.
When the first shift LD module 103 includes multiple shift registers, as shown in figure 5, two neighboring shift LD The m-th output end QP of the initial signal input terminal DAT of the latter shift register and previous shift register in deviceMPhase Even, the clock signal input terminal CLK input clock signal of each shift register, the initial signal of first shift register are defeated Enter to hold DAT to input the first initial signal.
Similar, the second shift LD module 202 may include at least one shift register, when including multiple displacements When register, multiple shift registers are successively cascaded.
When the second shift LD module 202 includes a shift register, the clock signal input of the shift register CLK input clock signal is held, initial signal input terminal DAT inputs the second initial signal, and each the connection of light receiving unit 201 one defeated Outlet, and the output end that each light receiving unit 201 connects is different.Based on this, displacement letter is sequentially output by each output end Number 201 output signal of light receiving unit that is connect with corresponding output end of control.
When the second shift LD module 202 includes multiple shift registers, the latter in two neighboring shift register The initial signal input terminal DAT of the shift register and m-th output end QP of previous shift registerMIt is connected, each displacement The clock signal input terminal CLK input clock signal of register, the initial signal input terminal DAT input of first shift register Second initial signal.
Wherein, it can be seen that only from the description to the first shift LD module 103 and the second shift LD module 202 First initial signal is synchronous with the second initial signal, in the case where clock signal synchronization, just can guarantee that luminescence unit 101 is successively sent out Optical signal is penetrated, the carry out signal output synchronous with the corresponding light receiving unit 201 of luminescence unit 101.
Preferably, as shown in fig. 6, logic control element 102 includes count sub-element 1022, decoding subelement 1023, choosing Subelement 1024 is selected, data keep subelement 1025 and resets subelement 1026.
Specifically, count sub-element 1022 is for counting the rising edge or failing edge of the clock signal.
Exemplary, count sub-element 1022 can be 12 digit counters, have 12 output ends, be denoted as Q respectively0~ Q11, each port exports count signal all the way.When the failing edge to the clock signal counts, in each clock cycle Failing edge count 1 time, as being counted as 16 after being counted as 8,16 clock cycle failing edges after 8 clock cycle failing edges.Respectively Output end QxIt is counting down to 2xWhen export high level, and continue 2xAfter become low level, then continue 2xBecome high level again afterwards, such as This again and again, until counting down to data end cycle, wherein 0≤x≤11.With wherein Q3And Q4Two output ends carry out The count signal of signal, output is as shown in Figure 7.
The input terminal of decoding subelement 1023 is connect with the output end of count sub-element 1022, and decoding subelement 1023 is used for Decoding output is carried out to the signal of its input terminal.
Herein it should be noted that when the input terminal number of decoding subelement 1023 is less than the output of count sub-element 1022 When holding number, the output end of selectable portion count sub-element 1022 and the input terminal of decoding subelement 1023 correspond and connect It connects.It wherein, should be with the photoelectricity when selecting the output end of count sub-element 1022 to connect with the input terminal of decoding subelement 1023 The number of plies of luggage carrier detected in detection device practical application, which output of selection count sub-element 1022 determined End, as long as these ports individually count or superimposed counting can reach the required detection number of plies.
For example, can at least be selected if the number of plies of luggage carrier detected is 24 layers in photoelectric detection system practical application Select the Q of count sub-element 10223And Q4End, because of Q3End is high level to be exported when counting down to 8, and continue 8 count values (i.e. 8 Clock cycle) after become low level, then continue to become high level, Q after 8 count values again4End is that high electricity is exported when counting down to 16 It is flat, and become low level after continuing 16 count values (i.e. 16 clock cycle), thus work as Q3And Q4It holds while exporting high level When, then it count down to 24.On this basis, according to the number of plies for the luggage carrier for being also possible to detection, to select count sub-element 1022 Other output ends.
For decoding subelement 1023 and be -10 line decoder of 4 line, input terminal (is denoted as A0~A3) (be denoted as with output end Y0~Y9) there is relationship as shown in the table.
As can be seen from the above table, work as A0When end is high level, Y1End output high level;Work as A0And A1It holds while being high level When, Y3End output high level.
It selects the input terminal of subelement 1024 and the output end of decoding subelement 1023 to connect, selects the defeated of subelement 1024 Outlet keeps subelement 1025 to connect with data, and an output end for selecting subelement 1024 to be used to make to decode subelement 1023 is defeated Decoded signal out is input to data and keeps subelement 1025;Wherein, the output end output of the decoding subelement 1023 Decoded signal after reaching corresponding count value and carrying out signal overturning, be always maintained at until count sub-element 1022 is reset; The count value is equal to the number of all luminescence units 101 in light emitting module 10, the i.e. number of plies of the count value equal to luggage carrier.
It should be noted that the input terminal number when selection subelement 1024 is a less than the output end of decoding subelement 1023 When number, the output end of selectable portion decoding subelement 1023 is corresponded and is connect with the input terminal of selection subelement 1024.
For selection subelement 1024, effect is exactly the only one output end output of selection decoding subelement 1023 Decoded signal, thus, select each input terminal in subelement 1024 that can connect a switch, unlatching or pass by control switch It closes, the decoded signal all the way of Lai Shixian only one output end can be exported.Which specific output end can export decoded signal, Ying You Depending on the number of plies of actually detected luggage carrier.
It is exemplary, if the number of plies of actually detected luggage carrier, which is 24 layers, (is correspondingly arranged 24 luminescence units 101,24 Light receiving unit 201), then it can make the Q of count sub-element 10223~Q6Hold the A successively with decoding subelement 10230~A3End connection. Subelement 1023 is decoded by A0~A3End is decoded, and each port is made to export decoded signal all the way accordingly, but due to choosing The effect of subelement 1024 is selected, only one practical port can export corresponding decoded signal, that is, may be selected to make Y3The decoding at end Signal output.
Referring to upper table, Y3End is in A0And A1When holding while being high level, high level can be exported, and 8 count values can be continued (i.e. 8 clock cycle), under normal circumstances, after this 8 count values, if being still within data period, A0The electricity at end It is flat to become low level, thus, Y3End can also export low level, but need to make Y in the present invention3The level at end is continued for height Level, until count sub-element 1022 is reset.
Preferably, the decoded signal of the output end output of the decoding subelement 1023 is reaching corresponding count value It after carrying out signal overturning, is always maintained at until count sub-element 1022 is reset, comprising: one of the decoding subelement 1023 The decoded signal of output end output enters after reaching corresponding count value and carrying out signal overturning and continue certain clock cycle The invalid data period continues the current potential of decoded signal maintained until count sub-element 1022 is reset.
Still by taking the number of plies of actually detected luggage carrier is 24 layers as an example, work as Y3The decoded signal at end is reaching the letter of count value 24 When number overturning is high level, 8 count values can be continued, thus can after reaching 32 count values, control module 30 can control into Enter the invalid data period, makes Y3The current potential of the decoded signal at end continues maintained until count sub-element 1022 is reset.
Data keep subelement 1025 for remaining to currently the signal of a upper clock cycle for the decoded signal Clock cycle exports first initial signal.
That is, data kept the signal level of 1025 present clock period of subelement equal to a upper clock week for decoded signal The signal level of phase.
When resetting subelement 1026 by based on a signal period completely, reset count subelement 1022.
It, can be according to the number of plies of actually detected luggage carrier, it is only necessary in control selections subelement 1024 in the embodiment of the present invention It respectively switches on or closes, can flexibly be adjusted.
Preferably, as described in Figure 8, the logic control element 102 further includes shaping unit 1021, input terminal and control Module 30 connects, and output end is connect with count sub-element 1022 and reset subelement 1026;The shaping unit 1021 for pair The clock signal carries out noise reduction process.
Due to that can generate the noises such as distortion, burr in clock signal, rising edge and failing edge occur after cable transmission Therefore undesirable situation, carries out noise reduction process to clock signal by setting shaping unit 1021 as shown in (a) in Fig. 9 Afterwards, it can get comparatively ideal waveform, as shown in (b) in Fig. 9.
Wherein, the pulse in attached drawing of the present invention is illustrated with rectangular pulse, but the present invention is not limited thereto.
Preferably, control module 30 generates synchronous with first initial signal according to the feature of first initial signal The second initial signal, comprising: the control module 30 is based on first signal period useless principle that need to give up, according to described First initial signal generates a clock since second signal period, in first clock cycle of each signal period The feature of the pulse signal of width generates second initial signal synchronous with first initial signal.
A specific embodiment is provided below to describe a kind of photoelectric detection system, for detecting article feelings on 24 layers of luggage carrier Condition.
As shown in Figure 10, which includes: light emitting module 10, by optical module 20 and control module 30;It shines Module 10 includes 24 luminescence units 101, is included 24 light receiving units 201, light receiving unit 201 and luminescence unit by optical module 20 101 correspond.Control module 30 is used to generate clock signal in the data period of each signal period, and simultaneously to luminous mould Block 10 and the clock signal is sent by optical module 20.
Light emitting module 10 further includes logic control element 102, and logic control element 102 includes shaping unit 1021, logic Count sub-element 1022, decoding subelement 1023, selection subelement 1024, data keep subelement 1025 and reset subelement 1026。
Shaping unit 1021 can be Schmidt trigger, connect with control module 30, for believing the clock received Number carry out noise reduction process after, obtain ideal waveform.
As shown in figure 11, the clock signal that the clock signal and control module 30 exported after shaping unit 1021 generates It is consistent without the waveform before cable transmission.Wherein, the clock signal that control module 30 generates, is transmitted to whole after cable transmission Shape unit 1021.
Count sub-element 1022 can be 12 digit counters, and input terminal is connect with shaping unit 1021, for shaping The failing edge of clock signal afterwards is counted.
Decoding subelement 1023 can be -10 line decoder of 4 line, decode the input terminal A of subelement 10230~A3It can be on-demand Seek the output end Q with count sub-element 10223~Q6Connection decodes the output end Y of subelement 10233、Y4、Y5、Y7、Y8It can be on-demand It asks and is connect with selection subelement 1024, decoding subelement 1023 is for carrying out decoding output to the signal of its input terminal.
As shown in figure 11, Q3End exports high level when counting down to 8, and continues 8 count values (i.e. 8 clock cycle) and become afterwards Become high level, Q again for low level, then after continuing 8 count values4Output high electricity when end count down to 16 (i.e. 16 clock cycle) It is flat, and become low level after continuing 16 count values, thus work as Q3And Q4When holding while exporting high level, then 24 are count down to.
Decoding subelement 1023 is decoded by the signal to its input terminal, Y3End is in A0And A1It holds while being high level When, Y3End output high level, and continue 8 count values (i.e. 8 clock cycle), to make Y3The high level at end is always maintained at, After 32 clock cycle, control module 30 then no longer generates normal clock signal, that is, enters the invalid data period.
Selecting subelement 1024 can be toggle switch, and output end keeps subelement 1025 to connect with data, can will be with Y3Corresponding switching gate is held, the Y for decoding subelement 1023 is made3The decoded signal at end exports to data and keeps subelement 1025.
It can be d type flip flop that data, which keep subelement 1025, be used for Y3Hold a upper clock for the decoded signal of output The signal in period remains to present clock period, exports the first initial signal.
As shown in figure 11, when entering the next signal period, resetting 1026 output reset signal of subelement makes to count sub- list Member 1022 resets, at this point, Q3End/Q4End/Y3The signal at end becomes low level, but due to data keep subelement 1025 can be with The signal of a upper clock cycle for decoded signal was remained into present clock period (shadow region in Figure 11), therefore, under First clock cycle of one signal period, data keep subelement 1025 still to export high level.It so carries out next It is repeated the above process after signal period.
By being kept it can be seen from the first initial signal that exports of subelement 1025 in addition to first signal period from data, Since second signal period, first clock cycle of each signal period generates the pulse letter an of clock widths Number, and first signal period because being first signal period after booting powers on, the garbage signal period can be considered as and given up It abandons.
Based on this, control module 30 generates the second initial signal (as shown in figure 12) according to the feature of the first initial signal. First initial signal and clock signal are sent to the first shift LD module 103, by the first shift LD module 103 in institute Under the driving for stating clock signal, 24 101 timesharing of luminescence unit are controlled according to first initial signal and carry out optical signal launch. Second initial signal and clock signal are sent to the second shift LD module 202, by the second shift LD module 202 in institute Under the driving for stating clock signal, signal output is carried out according to light receiving unit 201 corresponding with luminescence unit 101.
The embodiment of the present invention also provides a kind of signal synchronizing method, for light emitting module in photoelectric detection system and by optical mode The data of block are synchronous, and as shown in figure 13, which includes:
S10, light emitting module and by optical module simultaneously receive the control module of photoelectric detection system in each signal period The clock signal that the data period sends.
S11, light emitting module are modulated the clock signal to obtain the first initial signal according to the clock signal.
Specifically, being modulated to obtain the first initial signal to the clock signal, comprising: to the upper of the clock signal It rises edge or failing edge is counted;The multiple metering signal exported after counting is decoded, it only will wherein decoded signal all the way Output;Wherein, which is always maintained at after reaching corresponding count value and carrying out signal overturning until a signal period Meter is full;Wherein, the count value is equal to the number of all luminescence units in the light emitting module;The decoded signal is protected It holds first clock cycle in next signal period, exports first initial signal.
Herein, it is preferred that the decoded signal after reaching corresponding count value and carrying out signal overturning, be always maintained at until One signal period meter is full, comprising: the decoded signal is reaching corresponding count value progress signal overturning and continuing certain After clock cycle, into the invalid data period, continue the current potential of the decoded signal maintained until a signal period meter is full; Wherein, in the invalid data period, the control module stop to the light emitting module and it is described sent by optical module described in Clock signal, until a signal period meter is full.
It should be noted that can be with specific reference to above-mentioned to logic control element for how to modulate to obtain the first initial signal Description, details are not described herein.
It is further preferred that the method is also wrapped before the rising edge or failing edge to the clock signal count It includes: noise reduction process is carried out to the clock signal.
S12, the second initial signal that control module is generated according to the feature of first initial signal is received by optical module, Second initial signal is synchronous with first initial signal.
Specifically, described received the control module based on first signal period useless original that need to give up by optical module Then, equal in first clock signal of each signal period according to first initial signal since second signal period The feature of the pulse signal of a clock widths is generated, second initial signal is generated.
Although clock signal needs cable transmission, middle clock signal and initial signal are all passed by cable compared with the prior art It is defeated, the problems such as clock signal distorts, is unstable, signal is disturbed can be substantially improved, so that the stability of clock signal transmission increases Add, moreover, because the first initial signal and the second initial signal are not influenced by cable transmission, it can be to avoid signal delay, interference The problem of, therefore, so that the first initial signal is synchronous more reliable with the second initial signal;Further, since only needing transmission clock Signal, thus number of cables can be also reduced, save cost, easy access.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

1. a kind of photoelectric detection system, including light emitting module, by optical module and control module;The light emitting module includes for sending out Penetrate the luminescence unit of optical signal, it is described by optical module include corresponded with the luminescence unit and for receive optical signal by Light unit;It is characterized in that,
The light emitting module further includes logic control element;What the logic control element was used to be sent according to the control module Clock signal is modulated the clock signal to obtain the first initial signal;
The control module is used to generate the clock signal in the data period of each signal period, and shines simultaneously to described Module and described the clock signal is sent by optical module;It is generated and the first according to the feature of first initial signal The second synchronous initial signal of beginning signal is sent to described by optical module.
2. photoelectric detection system according to claim 1, which is characterized in that the light emitting module further includes that the first displacement is posted Storing module, described by optical module is further included the second shift LD module;
The first shift LD module, for being controlled according to first initial signal under the driving of the clock signal The luminescence unit timesharing carries out optical signal launch;
The second shift LD module, for being controlled according to second initial signal under the driving of the clock signal The light receiving unit carries out signal output, and the light receiving unit is corresponding with the transmitting luminescence unit of optical signal.
3. photoelectric detection system according to claim 1 or 2, which is characterized in that the logic control element includes counting Subelement, decoding subelement, selection subelement, data keep subelement and reset subelement;
The count sub-element is for counting the rising edge or failing edge of the clock signal;
The input terminal of the decoding subelement is connect with the output end of the count sub-element, and the decoding subelement is used for it The signal of input terminal carries out decoding output;
The input terminal of the selection subelement is connect with the output end of the decoding subelement, the output end of the selection subelement Subelement is kept to connect with the data, the selection subelement is used to make the output end output of the decoding subelement Decoded signal is input to the data and keeps subelement;Wherein, the decoding letter of the output end output of the decoding subelement Number after reaching corresponding count value and carrying out signal overturning, it is always maintained at until the count sub-element is reset;The counting Value is equal to the number of all luminescence units in the light emitting module;
The data keep subelement to be used to the signal of a upper clock cycle for the decoded signal remaining to present clock Period exports first initial signal;
When the reset subelement is by based on a signal period completely, the count sub-element is resetted.
4. photoelectric detection system according to claim 3, which is characterized in that the logic control element further includes shaping list Member, input terminal are connect with the control module, and output end is connect with the count sub-element and the reset subelement;
The shaping unit is used to carry out noise reduction process to the clock signal.
5. photoelectric detection system according to claim 3, which is characterized in that the control module is according to first starting The feature of signal generates second initial signal synchronous with first initial signal, comprising:
The control module is based on first signal period useless principle that need to give up, according to first initial signal from second A signal period generates the spy of the pulse signal of a clock widths in first clock cycle of each signal period Sign generates second initial signal synchronous with first initial signal.
6. photoelectric detection system according to claim 3, which is characterized in that the control module is also used to each described The invalid data period of signal period, stop to the light emitting module and it is described sent the clock signal by optical module, until Until one signal period meter is full;
The decoded signal of the output end output of the decoding subelement after reaching corresponding count value and carrying out signal overturning, It is always maintained at until the count sub-element is reset, comprising:
The decoded signal of the output end output of the decoding subelement is reaching corresponding count value progress signal overturning simultaneously After continuing certain clock cycle, into the invalid data period, continue the current potential of the decoded signal maintained until institute Count sub-element is stated to be reset.
7. photoelectric detection system according to claim 4, which is characterized in that the shaping unit is Schmidt trigger;
The decoding subelement is address decoder;
It is described to select subelement for toggle switch;
The data keep subelement and the reset subelement is d type flip flop.
8. a kind of signal synchronizing method, synchronous with the data by optical module for light emitting module in photoelectric detection system, feature It is, comprising:
The light emitting module and the control module for being received the photoelectric detection system simultaneously by optical module are in each signal week The clock signal that the data period of phase sends;
The light emitting module is modulated the clock signal to obtain the first initial signal according to the clock signal;
It is described that the second initial signal that the control module is generated according to the feature of first initial signal is received by optical module, Second initial signal is synchronous with first initial signal.
9. signal synchronizing method according to claim 8, which is characterized in that be modulated to obtain to the clock signal One initial signal, comprising:
The rising edge or failing edge of the clock signal are counted;
The multiple metering signal exported after counting is decoded, it only will wherein decoded signal output all the way;Wherein, which believes Number after reaching corresponding count value and carrying out signal overturning, it is always maintained at until a signal period meter is full;Wherein, the counting Value is equal to the number of all luminescence units in the light emitting module;
The decoded signal is remained to first clock cycle in next signal period, exports first initial signal.
10. signal synchronizing method according to claim 9, which is characterized in that rising edge to the clock signal or under Before drop edge is counted, the method also includes:
Noise reduction process is carried out to the clock signal.
11. signal synchronizing method according to claim 9, which is characterized in that described to be received the control mould by optical module The second initial signal that root tuber is generated according to the feature of first initial signal, comprising:
It is described to be received the control module based on first signal period useless principle that give up, according to described by optical module It is wide that one initial signal generates a clock since second signal period, in first clock signal of each signal period The feature of the pulse signal of degree generates second initial signal.
12. signal synchronizing method according to claim 9, which is characterized in that the decoded signal is reaching corresponding meter After numerical value carries out signal overturning, it is always maintained at until a signal period meter is full, comprising:
The decoded signal is after reaching corresponding count value and carrying out signal overturning and continue certain clock cycle, into invalid The data period continues the current potential of the decoded signal maintained until a signal period meter is full;
Wherein, in the invalid data period, the control module stops to the light emitting module and described is sent by optical module The clock signal, until a signal period meter is full.
CN201711202315.4A 2017-11-24 2017-11-24 A kind of photoelectric detection system and signal synchronizing method Pending CN109839672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711202315.4A CN109839672A (en) 2017-11-24 2017-11-24 A kind of photoelectric detection system and signal synchronizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711202315.4A CN109839672A (en) 2017-11-24 2017-11-24 A kind of photoelectric detection system and signal synchronizing method

Publications (1)

Publication Number Publication Date
CN109839672A true CN109839672A (en) 2019-06-04

Family

ID=66879903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711202315.4A Pending CN109839672A (en) 2017-11-24 2017-11-24 A kind of photoelectric detection system and signal synchronizing method

Country Status (1)

Country Link
CN (1) CN109839672A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4011981A1 (en) * 1990-04-12 1991-10-17 Case Beratungsgesellschaft Fue Electro=optical transmission device for electronic data - converts parallel data into serial stream fed along optical transmission path
CN1364727A (en) * 2001-01-12 2002-08-21 上海森尼电梯成套有限公司 Infrared light curtain left door protector
US20070021144A1 (en) * 2005-05-09 2007-01-25 Silverbrook Research Pty Ltd Mobile telecommunications device dual media coding detectors
EP1965608A1 (en) * 2007-02-27 2008-09-03 Silicon Touch Technology, Inc. Control circuit for automatically generating latch signal to control LED device according to input data signal and clock signal
CN201312400Y (en) * 2008-11-20 2009-09-16 长江航道局 Synchronous blinking device of pharos
CN202649763U (en) * 2012-04-24 2013-01-02 广西大学 Decoding device for synchronous serial transmission absolute type encoder
CN203243328U (en) * 2013-05-14 2013-10-16 潍坊安仑电子技术有限公司 Optical time domain reflectometer
CN104200662A (en) * 2014-09-11 2014-12-10 重庆市华驰交通科技有限公司 Vehicle turnaround and round guiding system
CN105259588A (en) * 2015-11-04 2016-01-20 常州工学院 Light curtain detection device without dedicated sync cable, and method therefor
CN205535004U (en) * 2016-03-10 2016-08-31 深圳市意普兴科技有限公司 Infrared light curtain safety arrangement
CN106569286A (en) * 2016-10-27 2017-04-19 合肥欣奕华智能机器有限公司 Photoelectric detection device
CN207440315U (en) * 2017-11-24 2018-06-01 合肥欣奕华智能机器有限公司 A kind of photoelectric detection system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4011981A1 (en) * 1990-04-12 1991-10-17 Case Beratungsgesellschaft Fue Electro=optical transmission device for electronic data - converts parallel data into serial stream fed along optical transmission path
CN1364727A (en) * 2001-01-12 2002-08-21 上海森尼电梯成套有限公司 Infrared light curtain left door protector
US20070021144A1 (en) * 2005-05-09 2007-01-25 Silverbrook Research Pty Ltd Mobile telecommunications device dual media coding detectors
EP1965608A1 (en) * 2007-02-27 2008-09-03 Silicon Touch Technology, Inc. Control circuit for automatically generating latch signal to control LED device according to input data signal and clock signal
CN201312400Y (en) * 2008-11-20 2009-09-16 长江航道局 Synchronous blinking device of pharos
CN202649763U (en) * 2012-04-24 2013-01-02 广西大学 Decoding device for synchronous serial transmission absolute type encoder
CN203243328U (en) * 2013-05-14 2013-10-16 潍坊安仑电子技术有限公司 Optical time domain reflectometer
CN104200662A (en) * 2014-09-11 2014-12-10 重庆市华驰交通科技有限公司 Vehicle turnaround and round guiding system
CN105259588A (en) * 2015-11-04 2016-01-20 常州工学院 Light curtain detection device without dedicated sync cable, and method therefor
CN205535004U (en) * 2016-03-10 2016-08-31 深圳市意普兴科技有限公司 Infrared light curtain safety arrangement
CN106569286A (en) * 2016-10-27 2017-04-19 合肥欣奕华智能机器有限公司 Photoelectric detection device
CN207440315U (en) * 2017-11-24 2018-06-01 合肥欣奕华智能机器有限公司 A kind of photoelectric detection system

Similar Documents

Publication Publication Date Title
CN207440315U (en) A kind of photoelectric detection system
US20170244584A1 (en) Time domain symbol receiver
CN203386459U (en) Display control system supporting grayscale extension and driving chip
CN104461198B (en) A kind of touch base plate and terminal
CN103310735A (en) Display control method and display control system both supportive of gray level expansion
CN101339738A (en) Single line cascade chip for lamp point display
CN101646986A (en) USB based synchronization and timing system
CN101582732A (en) Clock detection method and device
CN106020568B (en) Touch area extracting method, device and display equipment
CN202133996U (en) True random number generating device
US8816743B1 (en) Clock structure with calibration circuitry
CN101727246B (en) Electronic device with infrared touch function and control method thereof
CN103543440A (en) Digital beam forming device and method of programmable time delay circuit on basis of FPGA
CN205282052U (en) GOA circuit, display panel and display device
CN105991463A (en) Method and system for realizing flow control, message main node, and token server
US9519807B1 (en) Hash generation circuitry and methods for multi-channel, multi-lane encryption and authentication
CN109839672A (en) A kind of photoelectric detection system and signal synchronizing method
CN105182314B (en) Digital Array Radar DBF systems benchmark timing generation module and method
CN104750648B (en) One-way communication control device and method based on dual-wire bus
CN101727247A (en) Electronic device with infrared touch function and control method thereof
CN114168506B (en) Multi-channel DMA control transmission device
US20110299643A1 (en) Timing Recovery Controller and Operation Method Thereof
CN103684362B (en) Multiphase clock frequency eliminator
CN205847288U (en) Simulated photoelectric device, test device for quantum key distribution system
CN104215307A (en) Double-timing-pulse interpolation counter for flow standard device and realization method for same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 230013 Southwest District of Hefei City, Anhui Province

Applicant after: Hefei xinyihua Intelligent Machine Co.,Ltd.

Address before: 230013 Southwest District of Hefei City, Anhui Province

Applicant before: HEFEI SINEVA INTELLIGENT MACHINE Co.,Ltd.

CB02 Change of applicant information