CN112946772A - Photoelectric detection system based on power supply coding, control method and coding method - Google Patents

Photoelectric detection system based on power supply coding, control method and coding method Download PDF

Info

Publication number
CN112946772A
CN112946772A CN202110318531.5A CN202110318531A CN112946772A CN 112946772 A CN112946772 A CN 112946772A CN 202110318531 A CN202110318531 A CN 202110318531A CN 112946772 A CN112946772 A CN 112946772A
Authority
CN
China
Prior art keywords
photoelectric
unit
receiving
emission
detection
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
CN202110318531.5A
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.)
Wuxi Dechip Microelectronics Co ltd
Original Assignee
Wuxi Dechip Microelectronics 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 Wuxi Dechip Microelectronics Co ltd filed Critical Wuxi Dechip Microelectronics Co ltd
Priority to CN202110318531.5A priority Critical patent/CN112946772A/en
Publication of CN112946772A publication Critical patent/CN112946772A/en
Priority to PCT/CN2021/117638 priority patent/WO2022198933A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • G01V8/20Detecting, e.g. by using light barriers using multiple transmitters or receivers

Landscapes

  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to a photoelectric detection system based on power supply coding, a control method and a coding method. The photoelectric detection device comprises a host and at least two groups of photoelectric transmitting and receiving pairs, wherein for any photoelectric transmitting and receiving pair, a photoelectric transmitting unit in the photoelectric transmitting and receiving pair is in adaptive connection with a photoelectric detection connecting line group, and a photoelectric receiving unit in the photoelectric transmitting and receiving pair is in adaptive connection with another photoelectric detection connecting line group; for any photoelectric detection connecting line group, a power supply signal bus in the photoelectric detection connecting line group can be used for supplying power to a photoelectric emission unit or a photoelectric emission unit and a photoelectric receiving unit which are connected to the photoelectric detection connecting line group; the photoelectric emission units or the photoelectric emission units and the photoelectric receiving units which are connected to the photoelectric detection connecting line group are connected in series step by step according to a required sequence; the invention can simplify the detection system, improve the anti-interference capability and reduce the time sequence error accumulation caused by the system cascade multi-point, and can realize flexible installation and reduce the cost.

Description

Photoelectric detection system based on power supply coding, control method and coding method
Technical Field
The invention relates to a photoelectric detection system, a control method and an encoding method, in particular to a photoelectric detection system, a control method and an encoding method based on power supply encoding.
Background
In civil and industrial automation fields such as a gate, an elevator, a stamping device, an automatic production line and the like, a detection device usually adopts a correlation type photoelectric sensor to detect and judge the passing of people and objects. In these detection devices, the photoemission-reception pair as the detection unit is generally constituted by a certain number of photosensors. Along with the popularization of the automation application field, the number of photoelectric transmitting and receiving pairs is required to be more and more, the cascade distance of the photoelectric transmitting and receiving pairs is required to be more and more far, and the installation mode is required to be more and more flexible.
In the opposite emitting photoelectric emitting and receiving pairs used by the existing detection equipment, each group of photoelectric emitting and receiving pairs comprises an emitting unit and a receiving unit, and the receiving unit outputs a detection signal according to whether an optical signal sent by the light emitting unit is received or not; the detection signal may be an ON/OFF (ON/OFF) signal indicating whether or not light is received. The detection signals output by each group of photoelectric emission and reception pairs are acquired by the system control board through a data bus. In these detection devices, each set of photoemission and reception pairs is a fully functional standard photoelectric switch, and is connected to the system control board through a bus.
With the popularization of the automation application field, the requirements on the number of photoelectric transmitting and receiving pairs in a photoelectric detection system are increased, the requirements on the cascade distance of the photoelectric transmitting and receiving pairs are increased, the wiring in the detection equipment becomes more complicated, and the installation difficulty is increased. In addition, due to different application fields, the requirement on the anti-interference capability of the detection equipment is strong, which leads to the increase of the design cost of software and hardware for resisting interference.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a photoelectric detection system based on power supply coding, a control method and a coding method, which can simplify the detection system, improve the anti-interference capability, reduce the time sequence error accumulation caused by the system cascade multipoint, realize flexible installation and reduce the cost.
According to the technical scheme provided by the invention, the photoelectric detection system based on the power supply coding comprises a host and at least two groups of photoelectric transmitting and receiving pairs, wherein each photoelectric transmitting and receiving pair comprises a photoelectric transmitting unit and a photoelectric receiving unit matched with the photoelectric transmitting unit; the host is in adaptive connection with the photoelectric emission receiving pairs through two photoelectric detection connecting line groups, wherein for any photoelectric emission receiving pair, a photoelectric emission unit in the photoelectric emission receiving pair is in adaptive connection with one photoelectric detection connecting line group, and a photoelectric receiving unit in the photoelectric emission receiving pair is in adaptive connection with the other photoelectric detection connecting line group;
for any photoelectric detection connecting line group, a power supply signal bus in the photoelectric detection connecting line group can be used for supplying power to a photoelectric emission unit or a photoelectric emission unit and a photoelectric receiving unit which are connected to the photoelectric detection connecting line group; the photoelectric emission units or the photoelectric emission units and the photoelectric receiving units which are connected to the photoelectric detection connecting line group are connected in series step by step according to a required sequence;
the host machine enables the photoelectric emission units and/or the photoelectric receiving units which are connected in series step by step on one photoelectric detection connecting line group to be activated step by step, and enables the photoelectric receiving units and/or the photoelectric emission units which are connected on the other photoelectric detection connecting line group to be correspondingly activated, so that the photoelectric emission units and the photoelectric receiving units in the same photoelectric emission receiving pair can be in an activated working state at the same time; the host modulates the detection information to a power signal bus in a photoelectric detection connection line set so as to transmit the detection information to photoelectric transmitting units and photoelectric receiving units in all photoelectric transmitting and receiving pairs through the power signal bus; the photoelectric transmitting unit and the photoelectric receiving unit in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host.
The photoelectric detection connection line set also comprises a signal control line, a data bus and a ground wire, the host is connected with a photoelectric emission unit or a photoelectric receiving unit through the signal control line, the photoelectric emission units which are connected in series step by step or the photoelectric emission units and the photoelectric receiving units are also connected through the signal control line, and the ground wire is connected with a corresponding ground terminal of the photoelectric emission unit and/or the photoelectric receiving unit;
for any photoelectric detection connection line group, a photoelectric emission unit and/or a photoelectric receiving unit connected to the photoelectric detection connection line group are/is hung on a data bus, and the photoelectric emission unit or the photoelectric receiving unit in an activated state feeds back a processing result to a host through the data bus.
The detection information loaded on the power supply signal bus by the host comprises a detection instruction or detection data, and a detection source data packet transmitted through the power supply signal bus can be obtained after the detection information is modulated on the power supply signal bus, wherein the detection source data packet comprises a reset code value, a reference code value, a 1 code value and a 0 code value.
The photoelectric emission unit comprises an emission unit power signal decoding circuit which can be connected with a power signal bus, an emission micro-control unit which is connected with the emission unit signal decoding circuit, an emission control circuit which is connected with the emission micro-control unit and a light emitter which is connected with the emission control circuit;
the emission micro-control unit can be connected with the host, the emission micro-control unit in the adjacent photoelectric emission unit or the adjacent photoelectric receiving unit in series through a signal control line; the emission micro-control unit is also connected with a data bus so as to feed back the processing result of the photoelectric emission unit to the host.
The photoelectric receiving unit comprises a receiving unit power signal decoding circuit which can be connected with a power signal bus, a receiving micro-control unit which is connected with the receiving unit power signal decoding circuit, a receiving control circuit which is connected with the receiving micro-control unit and an optical receiver which is connected with the receiving control circuit, wherein the optical receiver is connected with the receiving micro-control unit through a receiving processing circuit;
the receiving micro control unit can be connected with the host, the receiving micro control unit in the adjacent photoelectric receiving unit or the adjacent photoelectric transmitting unit in series through a signal control line, and the receiving micro control unit is also connected with a data bus so as to feed back the processing result of the photoelectric receiving unit to the host.
A control method of a photoelectric detection system based on power supply coding comprises a host and at least two groups of photoelectric transmitting and receiving pairs, wherein each photoelectric transmitting and receiving pair comprises a photoelectric transmitting unit and a photoelectric receiving unit matched with the photoelectric transmitting unit; the host is in adaptive connection with the photoelectric emission receiving pairs through two photoelectric detection connecting line groups, wherein for any photoelectric emission receiving pair, a photoelectric emission unit in the photoelectric emission receiving pair is in adaptive connection with one photoelectric detection connecting line group, and a photoelectric receiving unit in the photoelectric emission receiving pair is in adaptive connection with the other photoelectric detection connecting line group;
for any photoelectric detection connecting line group, a power supply signal bus in the photoelectric detection connecting line group can be used for supplying power to a photoelectric emission unit or a photoelectric emission unit and a photoelectric receiving unit which are connected to the photoelectric detection connecting line group; the photoelectric emission units or the photoelectric emission units and the photoelectric receiving units which are connected to the photoelectric detection connecting line group are connected in series step by step according to a required sequence;
the host machine enables the photoelectric emission units and/or the photoelectric receiving units which are connected in series step by step on one photoelectric detection connecting line group to be activated step by step, and enables the photoelectric receiving units and/or the photoelectric emission units which are connected on the other photoelectric detection connecting line group to be correspondingly activated, so that the photoelectric emission units and the photoelectric receiving units in the same photoelectric emission receiving pair can be in an activated working state at the same time; the host modulates the detection information to a power signal bus in a photoelectric detection connection line set so as to transmit the detection information to photoelectric transmitting units and photoelectric receiving units in all photoelectric transmitting and receiving pairs through the power signal bus; the photoelectric transmitting unit and the photoelectric receiving unit in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host.
The photoelectric detection connection line set also comprises a signal control line, a data bus and a ground wire, the host is connected with a photoelectric emission unit or a photoelectric receiving unit through the signal control line, the photoelectric emission units which are connected in series step by step or the photoelectric emission units and the photoelectric receiving units are also connected through the signal control line, and the ground wire is connected with a corresponding ground terminal of the photoelectric emission unit and/or the photoelectric receiving unit;
for any photoelectric detection connection line group, a photoelectric emission unit and/or a photoelectric receiving unit connected to the photoelectric detection connection line group are/is hung on a data bus, and the photoelectric emission unit or the photoelectric receiving unit in an activated state feeds back a processing result to a host through the data bus.
The host comprises a power signal coding module, a host microprocessor unit which is in adaptive connection with the power signal coding module and a host detection circuit which is in adaptive connection with the host microprocessor unit;
the host microprocessor unit transmits the detection information to the power supply signal coding module so as to obtain a detection source data packet after required coding is carried out by the power supply signal coding module, and the power supply signal coding module loads the detection source data packet onto a power supply signal bus;
the host detection circuit is connected with the data buses in all the photoelectric detection connecting line groups, and the host microprocessor unit is connected with the corresponding photoelectric reflection unit and/or the photoelectric receiving unit through signal control lines.
A coding method of a photoelectric detection system based on power supply coding comprises a host and at least two groups of photoelectric transmitting and receiving pairs, wherein each photoelectric transmitting and receiving pair comprises a photoelectric transmitting unit and a photoelectric receiving unit matched with the photoelectric transmitting unit; the host is in adaptive connection with the photoelectric emission receiving pairs through two photoelectric detection connecting line groups, wherein for any photoelectric emission receiving pair, a photoelectric emission unit in the photoelectric emission receiving pair is in adaptive connection with one photoelectric detection connecting line group, and a photoelectric receiving unit in the photoelectric emission receiving pair is in adaptive connection with the other photoelectric detection connecting line group;
for any photoelectric detection connecting line group, a power supply signal bus in the photoelectric detection connecting line group can be used for supplying power to a photoelectric emission unit or a photoelectric emission unit and a photoelectric receiving unit which are connected to the photoelectric detection connecting line group; the photoelectric emission units or the photoelectric emission units and the photoelectric receiving units which are connected to the photoelectric detection connecting line group are connected in series step by step according to a required sequence;
the host machine enables the photoelectric emission units and/or the photoelectric receiving units which are connected in series step by step on one photoelectric detection connecting line group to be activated step by step, and enables the photoelectric receiving units and/or the photoelectric emission units which are connected on the other photoelectric detection connecting line group to be correspondingly activated, so that the photoelectric emission units and the photoelectric receiving units in the same photoelectric emission receiving pair can be in an activated working state at the same time; the host loads a detection source data packet obtained by encoding detection information onto a power supply signal bus so as to load the detection source data packet onto all photoelectric transmitting units and photoelectric receiving units in all photoelectric transmitting and receiving pairs through the power supply signal bus; the detection power source data packet comprises a reset code, a reference code, a 1 code value and a 0 code value;
the photoelectric transmitting unit and the photoelectric receiving unit in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host.
When the detection information is coded, the current level is kept for Treset time relative to the high level VH, and then the reset code is obtained through the current level; when the current level is kept for TC time relative to the low level VL and kept for 2 × TC time relative to the high level VH, obtaining a reference code through the current level; the current level is maintained at relatively low VL for T1L time and relatively high VH for T1H time, then the current level is obtained as a 1 code value, and the current level is maintained at relatively low VL for T0L time and relatively high VH for T0H, then a 0 code value is obtained by the current level.
The invention has the advantages that: when a plurality of photoelectric transmitting and receiving pairs exist, the host machine enables one photoelectric transmitting and receiving pair to be in an activated working state, the problem of mutual interference among the plurality of photoelectric transmitting and receiving pairs does not exist, and complex circuit anti-interference design is not needed; in addition, all the photoelectric transmitting units and the photoelectric receiving units are not required to be installed on one side only, and can be installed in a cross mode, so that the flexibility of system installation is greatly improved. The photoelectric transmitting unit and the photoelectric receiving unit do not need to carry out address coding, so that the expandability of the system and the replacement convenience of defective products are greatly improved. The two photoelectric detection connecting wire groups are connected with the photoelectric emission unit and the photoelectric receiving unit, so that the connecting wires are simple, the wiring cost is low, and the wiring flexibility is improved. Because the photoelectric transmitting unit and the photoelectric receiving unit in the same photoelectric transmitting and receiving pair use the same host, the synchronous transmission and receiving are very convenient, and the scanning speed of the system is convenient to improve. In one working cycle, the photoelectric transmitting unit and the photoelectric receiving unit in the photoelectric transmitting and receiving pair only carry out transmitting and receiving processing once, and the power consumption of the system is greatly reduced.
Drawings
FIG. 1 is a block diagram of the present invention.
Fig. 2 is a schematic diagram of the present invention.
Fig. 3 is a block diagram of a photoemissive cell of the present invention.
Fig. 4 is a block diagram of the photoelectric receiving unit of the present invention.
FIG. 5 is a timing diagram illustrating the detection of the present invention.
FIG. 6 is a schematic diagram of detecting information encoding according to the present invention.
Fig. 7 is a schematic diagram of detecting a power source data packet according to the present invention.
Description of reference numerals: 100-host computer, 110-photoelectric detection first connection wire group, 120-photoelectric detection second connection wire group, 130-power signal coding module, 140-host computer detection circuit, 150-host computer microprocessor unit, 200-photoelectric emission unit, 201-emission unit signal decoding circuit, 202-emission micro control unit, 203-emission control circuit, 204-light emitter, 300-photoelectric receiving unit, 301-receiving unit power signal decoding circuit, 302-receiving micro control unit, 303-receiving control circuit, 304-light receiver and 305-receiving processing circuit.
Detailed Description
The invention is further illustrated by the following specific figures and examples.
As shown in fig. 1: in order to simplify the detection system, improve the anti-interference ability and reduce the time sequence error accumulation caused by the system cascade multipoint, and at the same time, realize flexible installation and reduce the cost, the invention comprises a host 100 and at least two groups of photoelectric transmitting and receiving pairs, wherein the photoelectric transmitting and receiving pairs comprise a photoelectric transmitting unit 200 and a photoelectric receiving unit 300 matched with the photoelectric transmitting unit 200; the host 100 is connected with the photoelectric emission and reception pairs in an adaptive manner through two photoelectric detection connection line sets, wherein for any photoelectric emission and reception pair, the photoelectric emission unit 200 in the photoelectric emission and reception pair is connected with one photoelectric detection connection line set in an adaptive manner, and the photoelectric reception unit 300 in the photoelectric emission and reception pair is connected with the other photoelectric detection connection line set in an adaptive manner;
for any photoelectric detection connection line group, the photoelectric emission unit 200 or the photoelectric emission unit 200 and the photoelectric receiving unit 300 connected to the photoelectric detection connection line group can be powered by using a power signal bus in the photoelectric detection connection line group; the photoelectric emission unit 200 or the photoelectric emission unit 200 and the photoelectric receiving unit 300 connected to the photoelectric detection connection line group are connected in series step by step according to a required sequence;
the host 100 activates the photo-electric emission units 200 and/or the photo-electric reception units connected in series stage by stage on one photo-electric detection connection line group, and activates the photo-electric reception units 300 and/or the photo-electric emission units 200 connected on another photo-electric detection connection line group correspondingly, so that the photo-electric emission units 200 and the photo-electric reception units 300 in the same photo-electric emission and reception pair are in an activated working state at the same time; the host 100 modulates the detection information onto the power signal bus in the photoelectric detection connection line group to transmit the detection information to the photoelectric transmitting units 200 and the photoelectric receiving units 300 in all the photoelectric transmitting and receiving pairs through the power signal bus; the photo-electric transmitting unit 200 and the photo-electric receiving unit 300 in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host 100.
Specifically, the photoelectric transmitting and receiving pair may be a light curtain, a grating, and a photoelectric switch system, and of course, the photoelectric transmitting and receiving pair may also be other commonly used cooperating photoelectric transmitting and receiving forms, which may be specifically selected as needed, and are not listed here. The host 100 is matched with the photoelectric transmitting and receiving pair through two photoelectric detection connecting line sets, so that the working state of the photoelectric transmitting and receiving pair can be controlled. As will be appreciated by those skilled in the art, a photoemissive unit 200 and a photoreceiving unit 300 are generally included in the photoemissive pair, wherein an optical electrical signal can be emitted by the photoemissive unit 200, and the photoemissive signal emitted by the photoemissive unit 200 can be received by the photoreceiving unit 300 adapted to the photoemissive unit 200. In order to cooperate with the photo-electric transmitting and receiving pair, there are two photo-electric detection connection sets, namely, the photo-electric detection first connection set 110 and the photo-electric detection second connection set 120, and the photo-electric detection first connection set 110 and the photo-electric detection second connection set 120 may adopt the same form.
In the embodiment of the present invention, for a photo-electric transmitting/receiving pair, the photo-electric transmitting unit 200 needs to be connected to a photo-electric detecting connection set, and the photo-electric receiving unit 300 needs to be connected to another photo-electric detecting connection set. When there are a plurality of photoemissive-receiving pairs, the photoemissive unit 200 and the photoemissive unit 300 in each photoemissive-receiving pair can select the connected photoelectric detection connection line group as required, that is, only the photoemissive unit 200, only the photoelectric receiving unit 300, or both the photoemissive unit 200 and the photoelectric receiving unit 300 can be connected to the same photoelectric detection connection line group, of course, the state between the photoemissive unit 200 and the optical terminal receiving unit 300 connected to the two photoelectric detection connection line groups is aligned to constitute the required photoelectric emission-receiving pair. As shown in fig. 1, a plurality of photo-emission units 200 and a plurality of photo-reception units 300 are simultaneously connected to the first photo-detection connection group 110, a plurality of photo-emission units 200 and a plurality of photo-reception units 300 are also simultaneously connected to the second photo-detection connection group 120, and a photo-emission unit 200 of the first photo-detection connection group 110 and a corresponding photo-reception unit 300 of the second photo-detection connection group 120 can cooperate to form a photo-emission-reception pair; similarly, a photo-electric receiving unit 300 of the photo-electric detection first connection set 110 and a corresponding photo-electric transmitting unit 200 of the photo-electric detection second connection set 120 can cooperate to form a photo-electric transmitting-receiving pair.
In the embodiment of the present invention, the photodetection connection line group includes a power signal bus, and the photodetection connection line group can be connected to the photodetection connection line group through the power signal bus to simultaneously supply power to the photodetection unit 200 or the photodetection unit 200 and the photodetection unit 300. Further, the photoemissive cell 200 and/or the photoreceiving cell 300 connected to the photodetection connection line group are serially connected in order. In specific implementation, when the photoelectric emitting units 200 or the photoelectric receiving units 300 are connected in series step by step according to a sequence, the photoelectric emitting units 200 or the photoelectric receiving units 300 directly connected with the host 200 can be activated at first to be in a working state, and then the successive activation work is performed according to the sequence of the serial connection step by step, during the specific activation work, the connection sequence between the photoelectric emitting units 200 and the photoelectric receiving units 300 is related, for a photoelectric detection connection line group, only one photoelectric emitting unit 200 or one photoelectric receiving unit 300 can be in the activation state during the work, namely, for the host 100, the connection work can be matched with one photoelectric emitting and receiving pair every time.
In operation, the host 100 can modulate the detection information onto the power signal bus, i.e. can load the detection information onto the power signal bus in the two photodetection connection line groups at the same time, so that the detection information can be transmitted to all the photodetection units 200 and the photodetection units 300 at the same time. Since the host 100 can only activate the photo-electric transmitting unit 200 and the photo-electric receiving unit 300 in one photo-electric transmitting-receiving pair at a time, only the photo-electric transmitting unit 200 and the photo-electric receiving unit 300 in the activated state can receive the detection information and analyze the received detection information, and after the analysis, the photo-electric transmitting unit 200 and the photo-electric receiving unit 300 execute corresponding actions according to the analyzed detection information and feed back the result processed according to the analyzed detection information to the host 100, so that the host 100 realizes the photo-electric detection of the photo-electric transmitting-receiving pair. When the detection information is modulated on the power signal bus in specific implementation, the modulated detection power source data packet can be transmitted on the power signal bus, and the photoelectric transmitting unit 200 and the photoelectric receiving unit 300 generally have the forms of voltage regulators and the like when working specifically, so that the transmission of the detection power source data packet on the power signal bus does not affect the power supply to the photoelectric transmitting unit 200 and the photoelectric receiving unit 300, and the stability and reliability of the photoelectric transmitting unit 200 and the photoelectric receiving unit 300 in working can be ensured. The processing result by the photoemission unit 200 generally includes transmitting an optical electrical signal, and the processing result by the photoreceiving unit 300 generally includes receiving an optical electrical signal.
In summary, when there are multiple pairs of optoelectronic transmitting and receiving devices, the host 100 makes one pair of optoelectronic transmitting and receiving devices in an active working state, and there is no mutual interference between the multiple pairs of optoelectronic transmitting and receiving devices, and there is no need to perform a complicated circuit anti-interference design; in addition, all the photoelectric transmitting units 200 and the photoelectric receiving units 300 are not required to be installed on one side, can be installed in a cross mode, and the flexibility of system installation is greatly improved. The photoelectric transmitting unit 200 and the photoelectric receiving unit 300 do not need to carry out address coding, and the expandability of the system and the replacement convenience of defective products are greatly improved. By connecting the two photoelectric detection connection wire sets with the photoelectric emission unit 200 and the photoelectric reception unit 300, the connection is simple, the wiring cost is low, and the wiring flexibility is improved. Since the photoemissive unit 200 and the photoemissive unit 300 in the same photoemissive-receiving pair use the same host 100, it is very convenient to synchronize the transmission and reception, and it is convenient to increase the scanning rate of the system. In one working cycle, the photoelectric transmitting unit 200 and the photoelectric receiving unit 300 in the photoelectric transmitting and receiving pair only perform transmitting and receiving processing once, and the system power consumption is greatly reduced.
Furthermore, the photodetection connection wire set further includes a signal control wire, a data bus and a ground wire, the host 100 is connected with a photoelectric emission unit 200 or a photoelectric receiving unit 300 through the signal control wire, the photoelectric emission units 200 connected in series step by step or the photoelectric emission units 200 and the photoelectric receiving unit 300 are also connected through the signal control wire, and the ground wire is connected with the corresponding ground terminals of the photoelectric emission units 200 and/or the photoelectric receiving units 300;
for any photodetection connection line group, the photodetection unit 200 and/or the photodetection unit 300 connected to the photodetection connection line group are both hung on the data bus, and the activated photodetection unit 200 or the activated photodetection unit 300 feeds back the processing result to the host 100 through the data bus.
In the embodiment of the present invention, the photodetection connection wire set further includes a signal control wire, a data bus, and a ground wire, the host 100 is connected to a photoelectric emission unit 200 or a photoelectric reception unit 300 through the signal control wire, the photoelectric emission units 200 connected in series step by step or the photoelectric emission units 200 and the photoelectric reception units 300 are also connected through the signal control wire, and the ground wire is connected to a corresponding ground terminal of the photoelectric emission units 200 and/or the photoelectric reception units 300;
for any photodetection connection line group, the photodetection unit 200 and/or the photodetection unit 300 connected to the photodetection connection line group are both hung on the data bus, and the activated photodetection unit 200 or the activated photodetection unit 300 feeds back the processing result to the host 100 through the data bus.
As shown in fig. 2, the photo-detection connection set includes a power signal bus VS _ CMD, a signal control line QS _ D0, a data bus DB, and a ground line GND; as can be seen from the connection form shown in fig. 2, the wiring of the present invention is very concise. As long as the photoelectric transmitting unit 200 and the photoelectric receiving unit 300 perform corresponding operations according to instructions and/or data sent by the host 100. The time sequence, logic, state processing and the like are completed by the host 100, and the cost of the whole system can be greatly reduced compared with a system using a plurality of full-function photoelectric switches.
Specifically, taking three photo-emission units 200 (referred to as IR1, IR2, IR3, respectively) and three photo-reception units 300 (referred to as PD1, PD2, PD3, respectively) as an example, specific connections will be explained. It should be noted that the present embodiment is not limited thereto, and the number of the photo-electric emission units 200 and the photo-electric reception units 300 may not be limited thereto. The photo-emission unit IR1 and the photo-reception unit PD1 form a photo-emission-reception pair, the photo-emission unit IR2 and the photo-reception unit PD2 form a photo-emission-reception pair, and the photo-emission unit IR3 and the photo-reception unit PD3 form a photo-emission-reception pair.
The photoelectric emission unit IR1, the photoelectric reception unit PD2 and the photoelectric emission unit IR3 are connected to the same photoelectric detection connection line group, and the photoelectric reception unit PD1, the photoelectric emission unit IR2 and the photoelectric reception unit PD3 are connected to the same photoelectric detection connection line group.
The photo-emission unit IR1, the photo-reception unit PD2 and the photo-emission unit IR3 are all connected to the power signal bus VS _ CMD in the same photo-detection connection group, the photo-emission unit IR1, the photo-reception unit PD2 and the photo-emission unit IR3 are serially connected in a stepwise manner by using a signal control line QS _ D0, the photo-emission unit IR1, the photo-reception unit PD2 and the photo-emission unit IR3 are simultaneously connected to the data bus DB, and the ground terminals of the photo-emission unit IR1, the photo-reception unit PD2 and the photo-emission unit IR3 are connected to the ground line GND.
The photo receiving unit PD1, the photo emitting unit IR2 and the photo receiving unit PD3 are all connected to the power signal bus VS _ CMD in the same photo detection connection group, the photo receiving unit PD1, the photo emitting unit IR2 and the photo receiving unit PD3 are connected in series by a signal control line QS _ D0, the photo receiving unit PD1, the photo emitting unit IR2 and the photo receiving unit PD3 are connected to the data bus DB at the same time, and the ground terminals of the photo receiving unit PD 35 1, the photo emitting unit IR2 and the photo receiving unit PD3 are connected to the ground line GND.
For the cascade serial connection method, the host 100 activates the photo-electric emitting unit IR1 and the photo-electric receiving unit PD1, then activates the photo-electric receiving unit PD2 and the photo-electric emitting unit IR2, and finally activates the photo-electric emitting unit IR3 and the photo-electric receiving unit PD 3.
Further, the detection information loaded on the power signal bus by the host 100 includes a detection instruction or detection data, and after the detection information is modulated on the power signal bus, a detection source data packet transmitted through the power signal bus can be obtained, where the detection source data packet includes a reset code value, a reference code value, a 1 code value, and a 0 code value.
In the embodiment of the present invention, the detection instruction may generally include reset, transmission, reception enable or disable enable, and the detection data may be parameter configuration performed on the optical electrical transmission unit 200 and the optical electrical reception unit 300, and may be specifically selected and determined according to actual needs, which is specifically known by those skilled in the art, and will not be described herein again.
During specific implementation, when modulating detection information to the power signal bus, can obtain detection source data packet, detection source data packet generally includes reset code value, reference code value, 1 sign indicating number value and 0 sign indicating number value, wherein, during the modulation:
if the current level is kept for Treset time relative to the high level VH, a reset code is obtained through the current level; when the current level is kept for TC time relative to the low level VL and kept for 2 × TC time relative to the high level VH, obtaining a reference code through the current level; the current level is maintained at relatively low VL for T1L time and relatively high VH for T1H time, then the current level is obtained as a 1 code value, and the current level is maintained at relatively low VL for T0L time and relatively high VH for T0H, then a 0 code value is obtained by the current level.
Fig. 7 is an example of a coded data packet according to an embodiment of the present application. As shown in fig. 7, the detection source data packet includes a reset code value, a reference code value, a 1 code value, and a 0 code value, and the detection source data packet is: reset code signal + reference code signal +1 code signal/0 code signal. In the detection source data packets, the reset code is used for distinguishing the minimum time interval between the detection source data packets, so that different detection source data packets can be effectively identified. In the detection power source data packet, the reference code is used as a time reference for decoding the following 1 code or 0 code, and due to the existence of the time reference, the whole system can adaptively encode signals with different rates, and the decoding circuit can realize adaptive decoding according to the new reference number. Therefore, the flexible selection of data transmission rates of different systems can be realized; in the detection power source data packet, the 1 code is used as a transfer signal 1; in the detection power source data packet, the 0 code is used as a transfer signal 0. The 1 code and the 0 code are specifically in a form of data transmission by adopting a binary system.
In summary, the host 100 transmits instructions and/or data to all the photo-electric transmitting units 200 and the photo-electric receiving units 300 through the power signal bus, and implements control and parameter configuration for all the photo-electric transmitting and receiving pairs in combination with the control signal line.
As shown in fig. 3, the optoelectronic transmitting unit 200 includes a transmitting unit power signal decoding circuit 201 capable of being connected to a power signal bus, a transmitting micro-control unit 202 connected to the transmitting unit power signal decoding circuit 201, a transmitting control circuit 203 connected to the transmitting micro-control unit 202, and an optical transmitter 204 connected to the transmitting control circuit 203;
the transmitting micro-control unit 202 can be connected in series with the host 100, the transmitting micro-control unit 200 in the adjacent photoelectric transmitting unit 200 or the adjacent photoelectric receiving unit 300 through a signal control line; the transmitting micro control unit 202 is also connected to a data bus to feed back the processing result of the photo-transmitting unit 200 to the host 100.
In the embodiment of the present invention, the transmitting unit power signal decoding circuit 201 detects a signal on the power signal bus in real time, demodulates the encoded data mounted on the power signal bus, and sends the demodulated data to the transmitting micro control unit 202 for data processing. The transmitting unit power signal decoding circuit 201 may specifically adopt a conventional form, and may be implemented by decoding the detected power source data packet, which is well known to those skilled in the art and is not described herein again.
And an emission micro-control unit 202, which takes the output of the previous stage as input according to a signal control line based on the detection power source data packet of the host 100 received by the emission unit power source signal decoding circuit 201, and can output a control signal to the serially connected photoelectric emission unit 200 or photoelectric receiving unit 300 of the next stage, that is, the emission micro-control unit 202 in the photoelectric emission unit 200 can be connected with the photoelectric emission unit 200 or photoelectric receiving unit 300 of the previous stage and can be connected with the photoelectric emission unit 200 or photoelectric receiving unit 300 of the next stage through the signal control line. The transmitting mcu 200 may take any conventional form, and may be selected as desired.
The transmitting unit power signal decoding circuit 201 decodes the detected power source data packet, and transmits the decoded information to the transmitting microcontroller 202, and the transmitting microcontroller 202 can control the transmitting control circuit 203 to generate a transmitting control signal according to the decoded information, or perform related parameter configuration. After generating the transmission control signal or the parameter configuration, the transmitting mcu 202 transmits the corresponding processing result to the host 100 through the data bus. After receiving the emission control signal, the emission control circuit 203 loads an emission driving signal to the light emitter 204 to emit a corresponding light signal through the light emitter 204, the light emitter 204 may adopt a form of a light emitting diode, and the emission control circuit 203 and the light emitter 204 may adopt a conventional light emission matching form, which is well known to those skilled in the art and is not described herein again.
For a photoemissive unit 200, the photoemissive unit 200 is activated when a control signal line connected to an input terminal of the photoemissive unit 200 is at an active level, that is, when the photoemissive unit 200 receives a control signal via the control signal line to be active, and the emission control circuit 203 controls the light emitter 204 to emit a light signal upon receiving emission data and/or instructions from the emission unit power source decoding circuit 201. Once transmission is completed, the output signal of the transmitting micro control unit 203 becomes active level, that is, the control signal line connected to the output terminal of the photo-electric transmitting unit 200 is at active level, and the control signal line connected to the input terminal of the photo-electric transmitting unit 200 is at idle level, so that the photo-electric transmitting unit 200 is currently changed from active state to inactive state. Thus, as the signal control line is periodically controlled, the series photo-emission units 200 are sequentially activated.
As shown in fig. 4, the optoelectronic receiving unit 300 includes a receiving unit power signal decoding circuit 301 capable of being connected to a power signal bus, a receiving micro-control unit 302 connected to the receiving unit power signal decoding circuit 301, a receiving control circuit 303 connected to the receiving micro-control unit 302, and an optical receiver 304 connected to the receiving control circuit 303, wherein the optical receiver 304 is connected to the receiving micro-control unit 302 through a receiving processing circuit 305;
the receiving micro-control unit 302 can be connected in series with the host 100, the receiving micro-control unit 302 in the adjacent photoelectric receiving unit 300 or the adjacent photoelectric transmitting unit 200 through a signal control line, and the receiving micro-control unit 302 is further connected with a data bus so as to feed back the processing result of the photoelectric receiving unit 300 to the host 100.
In the embodiment of the present invention, the receiving unit power signal decoding circuit 301 can be connected to the power signal bus, can detect the signal of the power signal bus in real time, and demodulate the detected power source data packet mounted on the power signal bus and send the demodulated data packet to the receiving micro control unit 202 for data processing; the receiving unit power signal decoding circuit 301 may specifically adopt a conventional form, and the decoding process of the receiving unit power signal decoding circuit 301 on the detected power source data packet may refer to the encoding manner of the detected power source data packet, which is specifically known to those skilled in the art and is not described herein again.
The receiving mcu 302 specifically refers to the above description of the transmitting mcu 202 based on the detection information of the host 100 received by the receiving unit power signal decoding circuit 301, and the detailed description thereof is omitted here. The receiving micro control unit 302 decodes the received power signal to obtain the detection information according to the receiving unit power signal decoding circuit 301, and can generate a receiving control signal or perform related parameter configuration.
The receiving control circuit 303 can load a receiving driving signal to the optical receiver 304 according to the receiving control signal generated by the receiving micro control unit 302, and the optical receiver 304 can receive an optical signal according to the receiving driving signal. The optical receiver 304 may be a photodiode, and the like, which may be selected according to the requirement and will not be described herein. The receiving processing circuit 305 is configured to amplify, shape, and filter the received optical signal, and transmit the optical signal to the receiving micro control unit 302, and the receiving micro control unit 302 can send a feedback result of optical reception to the host 100 according to the optical signal transmitted by the receiving processing circuit 305; of course, when the detected information is the relevant parameter configuration, after configuring the parameter, the receiving mcu 302 feeds back the feedback result of the parameter configuration to the host 100 through the data bus.
With a photo-reception unit 300, the photo-reception unit 300 is activated in a case where a control signal line connected to an input terminal of the photo-reception unit 300 is at an active level, and upon receiving detection information of the host 100 from the reception unit power supply decoding circuit 301, the reception control circuit 303 controls the optical receiver 303 to receive an optical signal. Once reception is completed, the receiving micro control unit 302 turns the output signal of the control signal line to an active level; that is, the control signal line connected to the output terminal of the photo-reception unit 300 is at an active level, and the control signal line connected to the input terminal of the photo-reception unit 300 is at an idle level, so that the photo-reception unit 300 is currently changed from an active state to an inactive state and thus, the series-connected photo-reception units 300 are sequentially activated as the signal control lines are periodically received.
In an embodiment of the present invention, the active level and the idle level may be opposite, for example, the active level may be a high level, and the idle level may be a low level. In addition, the embodiment of the present invention may not be limited thereto, and for example, the active level may be a low level and the idle level may be a high level.
In the embodiment of the invention, the power supply code is based on two voltages on the power supply signal bus, and is loaded on the power supply signal bus through the coded voltage signal according to the code pattern definition. Among the two voltages on the power supply signal bus, the relatively higher voltage is VH, and the relatively lower voltage is VL. The difference between VH and VL is Δ V. When the contract Idle level is VH, then the non-Idle level (active level) is VL. On the contrary, if the default idle level is VL, the non-idle level is VH. The value of VH is 18-24V, the value of VL is VH/2, and therefore, the value of Δ V can be VH/2.
The time Treset consists of idle levels lasting 10 × TC times; the reference code is composed of a non-idle level lasting for TC time and an idle level lasting 2 × TC; the 0 code is composed of a non-idle level lasting for a time of TC/4(T0L) and an idle level lasting for a time of TC/2 (T0H); the 1 code is composed of a non-idle level lasting for a time of TC/2(T1L) and an idle level lasting for a time of TC/4 (T1H); the general values of TC are: 4 us-10 ms.
From the above description, a control method of a power supply coding-based photodetection system can be obtained, specifically, the method includes a host 100 and at least two sets of photoemissive and receiving pairs, where the photoemissive and receiving pairs include a photoemissive unit 200 and a photoemissive unit 300 adapted to the photoemissive unit 200; the host 100 is connected with the photoelectric emission and reception pairs in an adaptive manner through two photoelectric detection connection line sets, wherein for any photoelectric emission and reception pair, the photoelectric emission unit 200 in the photoelectric emission and reception pair is connected with one photoelectric detection connection line set in an adaptive manner, and the photoelectric reception unit 300 in the photoelectric emission and reception pair is connected with the other photoelectric detection connection line set in an adaptive manner;
for any photoelectric detection connection line group, the photoelectric emission unit 200 or the photoelectric emission unit 200 and the photoelectric receiving unit 300 connected to the photoelectric detection connection line group can be powered by using a power signal bus in the photoelectric detection connection line group; the photoelectric emission unit 200 or the photoelectric emission unit 200 and the photoelectric receiving unit 300 connected to the photoelectric detection connection line group are connected in series step by step according to a required sequence;
the host 100 activates the photo-electric emission units 200 and/or the photo-electric reception units connected in series stage by stage on one photo-electric detection connection line group, and activates the photo-electric reception units 300 and/or the photo-electric emission units 200 connected on another photo-electric detection connection line group correspondingly, so that the photo-electric emission units 200 and the photo-electric reception units 300 in the same photo-electric emission and reception pair are in an activated working state at the same time; the host 100 modulates the detection information onto the power signal bus in the photoelectric detection connection line group to transmit the detection information to the photoelectric transmitting units 200 and the photoelectric receiving units 300 in all the photoelectric transmitting and receiving pairs through the power signal bus; the photo-electric transmitting unit 200 and the photo-electric receiving unit 300 in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host 100.
Specifically, reference may be made to the above description for specific coordination between the photo-emitting unit 200, the photo-receiving unit 300 and the host 100, and between the photo-detecting connection line sets.
As shown in fig. 2, the host 100 includes a power signal encoding module 130, a host microprocessor unit 150 adapted to be connected to the power signal encoding module 130, and a host detection circuit 140 adapted to be connected to the host microprocessor unit 150;
the host microprocessor unit 150 transmits the detection information to the power signal encoding module 130 to obtain a detection source data packet after performing required encoding through the power signal encoding module 130, and the power signal encoding module 130 loads the detection source data packet onto the power signal bus;
the host detection circuit 140 is connected to the data bus in all the photoelectric detection connection groups, and the host microprocessor unit 150 is connected to the corresponding photoelectric reflection unit 200 and/or the photoelectric receiving unit 300 through signal control lines.
In the embodiment of the present invention, the power signal encoding module 130, the host detection circuit 140, and the host microprocessor unit 150 may all adopt the existing commonly used circuit form, the power signal encoding module 130 can encode to modulate the detection information onto the power signal bus, and the process of specifically encoding to obtain the detected power source data packet may refer to the above description, which is not repeated herein. The host detection circuit 140 can detect the data bit on the data bus, so as to obtain the feedback result of the corresponding photo-electric emitting unit 200 and the corresponding photo-electric receiving unit 300.
The following describes a detection method of the optoelectronic system of this embodiment with reference to a specific embodiment.
FIG. 5 is a timing diagram illustrating the detection performed by the photodetection system according to the embodiment of the present invention, wherein the emission operation refers to the operations of the host 100 and the photoemissive unit 200 (including photoemissive unit IR1, photoemissive unit IR2, and photoemissive unit IR 3). The receiving operation refers to the operations of the host 100 and the photo-receiving unit 300 (including the photo-receiving unit PD1, the photo-receiving unit PD2, and the photo-receiving unit PD 3). With reference to fig. 5, the following description will be made of the steps of the control method for detecting by using the optoelectronic system according to the embodiment of the present invention:
step 1: after the start-up initialization, the host 100 simultaneously supplies an idle level (high level) to the photo-emission unit IR1 and the photo-reception unit PD1 directly connected to the host 100 through a signal control line QS _ D0, i.e., QS _ D0= 1;
step 2: the host 100 loads a command into the power supply through the power signal encoding module 130, and then transmits the command to all the photo-transmitting units 200 and the photo-receiving units 300 through the power signal bus VS _ CMD. At the same time that the power supply encoding is started by the power supply signal encoding module 130, the state of the signal control line QS _ D0 is switched from an idle state (high level) to an enable state (low level), i.e., QS _ D0= 0. Thereby, the photo-electric transmitting unit IR1 and the photo-electric receiving unit PD1 are activated, waiting for receiving a command sent by the host 100 through the power signal bus VS _ CMD.
Step 3: the photo-electric transmitting unit IR1 and the photo-electric receiving unit PD1 are activated, the photo-electric transmitting unit IR1 and the photo-electric receiving unit PD1 respectively decode the detection information transmitted through the power signal bus VS _ CMD to resolve the command CMD1 of the host 100, and then the photo-electric transmitting unit IR1 drives the light emitter 204 to emit a light signal through the emission control circuit 203 according to the command requirements in the command CMD 1.
The photo-reception unit PD1 receives the optical signal by the reception control circuit 303, and performs signal processing on the optical signal by the reception processing circuit 305. After the processing is completed, the processing result DAT1 is fed back to the host 100 through the data bus DB, and therefore, the host 100 obtains the state S1 of the first group of pairs of photoemission and reception units. For convenience of illustration, S1=0 may be defined to indicate that the first set of photoemission-receive pairs are not blocked by light. S1=1, indicating that the first set of photoemission-receive pairs are blocked from light.
Step 4: when the activated first set of photo-emissive-receiving pairs completes the action mechanism, the host 100 switches the signal control line QS _ D0=0 to an idle state (high level), i.e., QS _ D0= 1. Meanwhile, the photo emission unit IR1 and the photo reception unit PD1 respectively pull the signal control line QS _ D1 low, i.e., QS _ D1=0, so that the photo emission unit IR2 and the photo reception unit PD2 of the next stage are activated.
Step 5: according to the timing set by the host 100, the host 100 then encodes a second command via the power signal encoding circuit 130, and transmits the command CMD2 to all of the photo-transmitting units 200 and the photo-receiving units 300 via the power signal bus line VS _ CMD. At this time, only the photo-electric transmitting unit IR2 and the photo-electric receiving unit PD2 are activated, and therefore, after the photo-electric transmitting unit IR2 and the photo-electric receiving unit PD2 can interpret the command CMD2 of the host 100, the photo-electric transmitting unit IR2 drives the light emitter 204 to transmit a light signal through the transmission control circuit 203 according to the command requirement in the command CMD 2. The photo-reception unit PD2 receives the optical signal via the reception control circuit 303 and the optical receiver 304, and performs signal processing on the optical signal via the reception processing circuit 305. After the processing is completed, the processing result DAT2 is fed back to the host 100 through the data bus DB. Thus, the host 100 obtains a state S2 for the second set of photoemission receive pairs.
Step 6: after the photo-emitting unit IR2 and the photo-receiving unit PD2 complete the action mechanism, the photo-emitting unit IR2 and the photo-receiving unit PD2 respectively switch their corresponding signal control lines QS _ D1 to an idle state (high level), i.e., QS _ D1= 1. Meanwhile, the photo-emission unit IR2 and the photo-reception unit PD2 pull their corresponding signal control lines QS _ D2 low, i.e., QS _ D2=0, respectively, so that the photo-emission unit IR3 and the photo-reception unit PD3 of the next stage are activated.
Step 7: according to the timing set by the host 100, the host 100 then encodes the third command through the power signal encoding circuit 130, and transmits the command CMD3 to all of the photo-transmitting units 200 and the photo-receiving units 300 through the power signal bus VS _ CMD. At this time, only the photo-electric transmitting unit IR3 and the photo-electric receiving unit PD3 are activated, and therefore, after the photo-electric transmitting unit IR3 and the photo-electric receiving unit PD3 respectively resolve the command CMD3 of the system host 100, the photo-electric transmitting unit IR3 drives the light emitter 204 to transmit a light signal through the transmission control circuit 203 according to the command requirement in the command CMD 3. The photo-reception unit PD3 receives the optical signal via the reception control circuit 303 and the optical receiver 304, and performs signal processing on the optical signal via the reception processing circuit 305. After the processing is completed, the processing result DAT3 is fed back to the host 100 through the data bus DB. Thus, the host 100 obtains the state S3 of the third set of transmit receive units.
Step 8: after the optical transmitter unit 200 and the optical receiver unit 300 complete the operation mechanism, the host 100 acquires the signal states of all the optical transmitter-receiver pairs in the system. Then all the photoemissive units 200 and the photoreceiving units 300 are reset by an instruction, and a new round of cycle detection is restarted.
In summary, the encoding method of the photoelectric detection system based on power supply encoding can be obtained, which includes a host 100 and at least two sets of photoelectric transmitting and receiving pairs, where the photoelectric transmitting and receiving pairs include a photoelectric transmitting unit 200 and a photoelectric receiving unit 300 adapted to the photoelectric transmitting unit 200; the host 100 is connected with the photoelectric emission and reception pairs in an adaptive manner through two photoelectric detection connection line sets, wherein for any photoelectric emission and reception pair, the photoelectric emission unit 200 in the photoelectric emission and reception pair is connected with one photoelectric detection connection line set in an adaptive manner, and the photoelectric reception unit 300 in the photoelectric emission and reception pair is connected with the other photoelectric detection connection line set in an adaptive manner;
for any photoelectric detection connection line group, the photoelectric emission unit 200 or the photoelectric emission unit 200 and the photoelectric receiving unit 300 connected to the photoelectric detection connection line group can be powered by using a power signal bus in the photoelectric detection connection line group; the photoelectric emission unit 200 or the photoelectric emission unit 200 and the photoelectric receiving unit 300 connected to the photoelectric detection connection line group are connected in series step by step according to a required sequence;
the host 100 activates the photo-electric emission units 200 and/or the photo-electric reception units connected in series stage by stage on one photo-electric detection connection line group, and activates the photo-electric reception units 300 and/or the photo-electric emission units 200 connected on another photo-electric detection connection line group correspondingly, so that the photo-electric emission units 200 and the photo-electric reception units 300 in the same photo-electric emission and reception pair are in an activated working state at the same time; the host 100 loads the detection source data packet obtained by encoding the detection information onto the power signal bus, so as to load the detection source data packet onto the photo-electric transmitting units 200 and the photo-electric receiving units 300 in all the photo-electric transmitting and receiving pairs through the power signal bus; the detection power source data packet comprises a reset code, a reference code, a 1 code value and a 0 code value;
the photo-electric transmitting unit 200 and the photo-electric receiving unit 300 in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host 100.
In the embodiment of the invention, when the detection information is coded, the current level is kept for Treset time relative to the high level VH, and then the reset code is obtained through the current level; when the current level is kept for TC time relative to the low level VL and kept for 2 × TC time relative to the high level VH, obtaining a reference code through the current level; the current level is maintained at relatively low VL for T1L time and relatively high VH for T1H time, then the current level is obtained as a 1 code value, and the current level is maintained at relatively low VL for T0L time and relatively high VH for T0H, then a 0 code value is obtained by the current level.
The host 100 can encode the command or data to be transmitted through the power signal encoding module 130, and modulate the command or data to the power signal bus to obtain the detected power source data packet on the power signal bus. For a specific encoding method, reference may be made to the above description, and details are not repeated here.
The present application has been described in conjunction with specific embodiments, but it should be understood by those skilled in the art that these descriptions are intended to be illustrative, and not limiting. Various modifications and adaptations of the present application may occur to those skilled in the art based on the teachings herein and are within the scope of the present application.

Claims (10)

1. A photoelectric detection system based on power supply coding is characterized by comprising a host (100) and at least two groups of photoelectric transmitting and receiving pairs, wherein each photoelectric transmitting and receiving pair comprises a photoelectric transmitting unit (200) and a photoelectric receiving unit (300) matched with the photoelectric transmitting unit (200); the host (100) is in adaptive connection with the photoelectric emission and reception pairs through two photoelectric detection connecting line sets, wherein for any photoelectric emission and reception pair, the photoelectric emission unit (200) in the photoelectric emission and reception pair is in adaptive connection with one photoelectric detection connecting line set, and the photoelectric reception unit (300) in the photoelectric emission and reception pair is in adaptive connection with the other photoelectric detection connecting line set;
for any photoelectric detection connecting line group, a power signal bus in the photoelectric detection connecting line group can be used for supplying power to a photoelectric emission unit (200) or a photoelectric emission unit (200) and a photoelectric receiving unit (300) which are connected to the photoelectric detection connecting line group; the photoelectric emission unit (200) or the photoelectric emission unit (200) and the photoelectric receiving unit (300) which are connected to the photoelectric detection connecting line set are connected in series step by step according to a required sequence;
the host (100) enables the photoelectric emitting units (200) and/or the photoelectric receiving units which are connected in series step by step on one photoelectric detection connecting line group to be activated step by step, and enables the photoelectric receiving units (300) and/or the photoelectric emitting units (200) which are connected on the other photoelectric detection connecting line group to be correspondingly activated, so that the photoelectric emitting units (200) and the photoelectric receiving units (300) in the same photoelectric emitting and receiving pair can be in an activated working state at the same time; the host (100) modulates the detection information onto a power signal bus in a photoelectric detection connection line set so as to transmit the detection information to the photoelectric transmitting units (200) and the photoelectric receiving units (300) in all photoelectric transmitting and receiving pairs through the power signal bus; the photoelectric transmitting unit (200) and the photoelectric receiving unit (300) in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host (100).
2. The power supply coding-based photodetection system according to claim 1, characterized in that: the photoelectric detection connection wire group also comprises a signal control wire, a data bus and a ground wire, the host (100) is connected with a photoelectric emission unit (200) or a photoelectric receiving unit (300) through the signal control wire, the photoelectric emission units (200) which are connected in series step by step or the photoelectric emission units (200) and the photoelectric receiving unit (300) are also connected through the signal control wire, and the ground wire is connected with the corresponding ground terminals of the photoelectric emission units (200) and/or the photoelectric receiving units (300);
for any photoelectric detection connection line set, the photoelectric emission unit (200) and/or the photoelectric receiving unit (300) connected to the photoelectric detection connection line set are hung on a data bus, and the photoelectric emission unit (200) or the photoelectric receiving unit (300) in an activated state feeds back a processing result to the host (100) through the data bus.
3. The power supply coding-based photodetecting system according to claim 1 or 2, characterized in that: the detection information loaded on the power supply signal bus by the host (100) comprises a detection instruction or detection data, and a detection source data packet transmitted through the power supply signal bus can be obtained after the detection information is modulated on the power supply signal bus, wherein the detection source data packet comprises a reset code value, a reference code value, a 1 code value and a 0 code value.
4. The power supply coding-based photodetection system according to claim 2, characterized in that: the photoelectric emission unit (200) comprises an emission unit power signal decoding circuit (201) which can be connected with a power signal bus, an emission micro-control unit (202) which is connected with the emission unit signal decoding circuit (201), an emission control circuit (203) which is connected with the emission micro-control unit (202), and a light emitter (204) which is connected with the emission control circuit (203);
the emission micro-control unit (202) can be connected with the host (100), the emission micro-control unit (200) in the adjacent photoelectric emission unit (200) or the adjacent photoelectric receiving unit (300) in series through a signal control line; the transmitting micro control unit (202) is also connected with a data bus so as to feed back the processing result of the photoelectric transmitting unit (200) to the host (100).
5. The power supply coding-based photodetection system according to claim 2, characterized in that: the photoelectric receiving unit (300) comprises a receiving unit power signal decoding circuit (301) which can be connected with a power signal bus, a receiving micro-control unit (302) which is connected with the receiving unit power signal decoding circuit (301), a receiving control circuit (303) which is connected with the receiving micro-control unit (302), and an optical receiver (304) which is connected with the receiving control circuit (303), wherein the optical receiver (304) is connected with the receiving micro-control unit (302) through a receiving processing circuit (305);
the receiving micro-control unit (302) can be connected with the host (100), the receiving micro-control unit (302) in the adjacent photoelectric receiving unit (300) or the adjacent photoelectric transmitting unit (200) in series through a signal control line, and the receiving micro-control unit (302) is also connected with a data bus so as to feed back the processing result of the photoelectric receiving unit (300) to the host (100).
6. A control method of a photoelectric detection system based on power supply coding is characterized in that: the device comprises a host (100) and at least two groups of photoelectric transmitting and receiving pairs, wherein the photoelectric transmitting and receiving pairs comprise a photoelectric transmitting unit (200) and a photoelectric receiving unit (300) matched with the photoelectric transmitting unit (200); the host (100) is in adaptive connection with the photoelectric emission and reception pairs through two photoelectric detection connecting line sets, wherein for any photoelectric emission and reception pair, the photoelectric emission unit (200) in the photoelectric emission and reception pair is in adaptive connection with one photoelectric detection connecting line set, and the photoelectric reception unit (300) in the photoelectric emission and reception pair is in adaptive connection with the other photoelectric detection connecting line set;
for any photoelectric detection connecting line group, a power signal bus in the photoelectric detection connecting line group can be used for supplying power to a photoelectric emission unit (200) or a photoelectric emission unit (200) and a photoelectric receiving unit (300) which are connected to the photoelectric detection connecting line group; the photoelectric emission unit (200) or the photoelectric emission unit (200) and the photoelectric receiving unit (300) which are connected to the photoelectric detection connecting line set are connected in series step by step according to a required sequence;
the host (100) enables the photoelectric emitting units (200) and/or the photoelectric receiving units which are connected in series step by step on one photoelectric detection connecting line group to be activated step by step, and enables the photoelectric receiving units (300) and/or the photoelectric emitting units (200) which are connected on the other photoelectric detection connecting line group to be correspondingly activated, so that the photoelectric emitting units (200) and the photoelectric receiving units (300) in the same photoelectric emitting and receiving pair can be in an activated working state at the same time; the host (100) modulates the detection information onto a power signal bus in a photoelectric detection connection line set so as to transmit the detection information to the photoelectric transmitting units (200) and the photoelectric receiving units (300) in all photoelectric transmitting and receiving pairs through the power signal bus; the photoelectric transmitting unit (200) and the photoelectric receiving unit (300) in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host (100).
7. The control method of the photoelectric detection system based on the power supply coding as claimed in claim 6, wherein: the photoelectric detection connection wire group also comprises a signal control wire, a data bus and a ground wire, the host (100) is connected with a photoelectric emission unit (200) or a photoelectric receiving unit (300) through the signal control wire, the photoelectric emission units (200) which are connected in series step by step or the photoelectric emission units (200) and the photoelectric receiving unit (300) are also connected through the signal control wire, and the ground wire is connected with the corresponding ground terminals of the photoelectric emission units (200) and/or the photoelectric receiving units (300);
for any photoelectric detection connection line set, the photoelectric emission unit (200) and/or the photoelectric receiving unit (300) connected to the photoelectric detection connection line set are hung on a data bus, and the photoelectric emission unit (200) or the photoelectric receiving unit (300) in an activated state feeds back a processing result to the host (100) through the data bus.
8. The control method of the photoelectric detection system based on the power supply coding as claimed in claim 7, wherein: the host (100) comprises a power supply signal coding module (130), a host microprocessor unit (150) which is in adaptive connection with the power supply signal coding module (130), and a host detection circuit (140) which is in adaptive connection with the host microprocessor unit (150);
the host microprocessor unit (150) transmits the detection information to the power signal coding module (130) so as to obtain a detection power source data packet after required coding is carried out by the power signal coding module (130), and the power signal coding module (130) loads the detection power source data packet onto a power signal bus;
the host detection circuit (140) is connected with the data buses in all the photoelectric detection connecting line groups, and the host microprocessor unit (150) is connected with the corresponding photoelectric reflection unit (200) and/or the photoelectric receiving unit (300) through signal control lines.
9. A coding method of a photoelectric detection system based on power supply coding is characterized in that: the device comprises a host (100) and at least two groups of photoelectric transmitting and receiving pairs, wherein the photoelectric transmitting and receiving pairs comprise a photoelectric transmitting unit (200) and a photoelectric receiving unit (300) matched with the photoelectric transmitting unit (200); the host (100) is in adaptive connection with the photoelectric emission and reception pairs through two photoelectric detection connecting line sets, wherein for any photoelectric emission and reception pair, the photoelectric emission unit (200) in the photoelectric emission and reception pair is in adaptive connection with one photoelectric detection connecting line set, and the photoelectric reception unit (300) in the photoelectric emission and reception pair is in adaptive connection with the other photoelectric detection connecting line set;
for any photoelectric detection connecting line group, a power signal bus in the photoelectric detection connecting line group can be used for supplying power to a photoelectric emission unit (200) or a photoelectric emission unit (200) and a photoelectric receiving unit (300) which are connected to the photoelectric detection connecting line group; the photoelectric emission unit (200) or the photoelectric emission unit (200) and the photoelectric receiving unit (300) which are connected to the photoelectric detection connecting line set are connected in series step by step according to a required sequence;
the host (100) enables the photoelectric emitting units (200) and/or the photoelectric receiving units which are connected in series step by step on one photoelectric detection connecting line group to be activated step by step, and enables the photoelectric receiving units (300) and/or the photoelectric emitting units (200) which are connected on the other photoelectric detection connecting line group to be correspondingly activated, so that the photoelectric emitting units (200) and the photoelectric receiving units (300) in the same photoelectric emitting and receiving pair can be in an activated working state at the same time; the host (100) loads a detection source data packet obtained by encoding the detection information onto a power supply signal bus so as to load the detection source data packet onto all photoelectric transmitting units (200) and photoelectric receiving units (300) in the photoelectric transmitting and receiving pairs through the power supply signal bus; the detection power source data packet comprises a reset code, a reference code, a 1 code value and a 0 code value;
the photoelectric transmitting unit (200) and the photoelectric receiving unit (300) in the activated state perform corresponding processing according to the received detection information, and feed back the processed result to the host (100).
10. The encoding method of the photoelectric detection system based on power supply encoding as claimed in claim 9, wherein: when the detection information is coded, the current level is kept for Treset time relative to the high level VH, and then the reset code is obtained through the current level; when the current level is kept for TC time relative to the low level VL and kept for 2 × TC time relative to the high level VH, obtaining a reference code through the current level; the current level is maintained at relatively low VL for T1L time and relatively high VH for T1H time, then the current level is obtained as a 1 code value, and the current level is maintained at relatively low VL for T0L time and relatively high VH for T0H, then a 0 code value is obtained by the current level.
CN202110318531.5A 2021-03-25 2021-03-25 Photoelectric detection system based on power supply coding, control method and coding method Pending CN112946772A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110318531.5A CN112946772A (en) 2021-03-25 2021-03-25 Photoelectric detection system based on power supply coding, control method and coding method
PCT/CN2021/117638 WO2022198933A1 (en) 2021-03-25 2021-09-10 Photoelectric detection system based on power source coding, and control method and coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110318531.5A CN112946772A (en) 2021-03-25 2021-03-25 Photoelectric detection system based on power supply coding, control method and coding method

Publications (1)

Publication Number Publication Date
CN112946772A true CN112946772A (en) 2021-06-11

Family

ID=76226747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110318531.5A Pending CN112946772A (en) 2021-03-25 2021-03-25 Photoelectric detection system based on power supply coding, control method and coding method

Country Status (2)

Country Link
CN (1) CN112946772A (en)
WO (1) WO2022198933A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022198933A1 (en) * 2021-03-25 2022-09-29 无锡德芯微电子有限公司 Photoelectric detection system based on power source coding, and control method and coding method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6495832B1 (en) * 2000-03-15 2002-12-17 Touch Controls, Inc. Photoelectric sensing array apparatus and method of using same
CN104795010B (en) * 2015-04-16 2018-01-30 济宁科力光电产业有限责任公司 Wireless security light curtain detection method and its light curtain
CN106569286B (en) * 2016-10-27 2019-04-16 合肥欣奕华智能机器有限公司 A kind of photoelectric detection system
CN110095821A (en) * 2018-01-30 2019-08-06 欧姆龙(上海)有限公司 Photodetector system and its control method
CN111208579A (en) * 2020-03-02 2020-05-29 霍夫纳格智能科技(上海)有限公司 Laser grating device and laser detection method
CN112946772A (en) * 2021-03-25 2021-06-11 无锡德芯微电子有限公司 Photoelectric detection system based on power supply coding, control method and coding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022198933A1 (en) * 2021-03-25 2022-09-29 无锡德芯微电子有限公司 Photoelectric detection system based on power source coding, and control method and coding method

Also Published As

Publication number Publication date
WO2022198933A1 (en) 2022-09-29

Similar Documents

Publication Publication Date Title
JP3477709B2 (en) Sensor system
CN102088320A (en) Ultrasonic system and communication method thereof
US20120134680A1 (en) Inter-transceiver module communication for firmware upgrade
CN1703853A (en) Optical transceiver module with multipurpose internal serial bus
CN214704042U (en) Photoelectric detection system based on power supply coding
CN100530262C (en) Domestic electric appliance remote controller utilizing laser transmission technique to control remote-control signal
CN112946772A (en) Photoelectric detection system based on power supply coding, control method and coding method
CN104749988A (en) Photoelectric switch for object detection
CN104216028A (en) Transceiver element for an optical unit of a photoelectric barrier and photoelectric light curtain
CN103490814A (en) Serial communication device of USB interface LED visible light and system thereof
CN102394734B (en) RS 485 communication system with nonpolarized connection and control method thereof
JP2783190B2 (en) Infrared communication system
JP2001222786A (en) Sensor system
CN108880685B (en) Optical module
US9843383B2 (en) Multifunctional laser diode driving circuit, a module comprising the same, and a method using the same
CN103051387A (en) Optical signal transmitting apparatus
CN203705864U (en) Photoelectric switch for object detection
CN113671590B (en) Infrared sensor and infrared sensing system
US20040076193A1 (en) Apparatus and method for data communication
US20030081279A1 (en) Optical interface
JPH0823310A (en) Optical signal transmitter
CN102916739A (en) Real-time loop-back control system for optical module
CN207936979U (en) A kind of high reliability photoelectric sensor
CN211183930U (en) Infrared remote control switch based on singlechip
CN211905730U (en) Correlation light curtain and detection system

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