CN205204113U - Belt off tracking detection circuitry based on CPLD - Google Patents
Belt off tracking detection circuitry based on CPLD Download PDFInfo
- Publication number
- CN205204113U CN205204113U CN201521048663.7U CN201521048663U CN205204113U CN 205204113 U CN205204113 U CN 205204113U CN 201521048663 U CN201521048663 U CN 201521048663U CN 205204113 U CN205204113 U CN 205204113U
- Authority
- CN
- China
- Prior art keywords
- transistor
- sensor
- cpld
- detecting unit
- photo
- 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.)
- Expired - Fee Related
Links
Landscapes
- Testing Of Individual Semiconductor Devices (AREA)
Abstract
The utility model discloses a belt off tracking detection circuitry based on CPLD, include: photoelectric sensor module, CPLD controller, the photoelectric sensor module includes sensor bottom plate and LED light source board, a N detecting element sets up on the sensor bottom plate according to rectangular array mode align to grid, detecting element includes that photoelectric triode and control transistor Q, control transistor Q are NPN type transistor, photoelectric triode's collecting electrode is detecting element's signal output part OUT, and control transistor Q's base is detecting element's signal input part IN. The utility model has the advantages of circuit structure is simple, and the signal processing degree of difficulty is little, and development cost is low. In addition the utility model has the advantages of measurement accuracy is high.
Description
Technical field
The utility model relates to the horizontal deviation detecting device of a kind of belt, and specifically a kind of horizontal sideslip of belt utilizing CPLD and electro-optical pickoff module to realize detecting detects the electronic circuit of data acquisition, belongs to observation and control technology field.
Background technology
All need to detect belt horizontal offset in a lot of industrial circle, this must need a kind of sensor circuit that can realize belt horizontal offset and detect.
Such as, the application of industry belt conveyer scale widely at metallurgy, mine, electric power, harbour etc., but belt conveyer scale is often along with the growth of period of service, and its precision can decline to some extent, and this caused due to causes such as belt tension, sideslip and in situ temperature.
Therefore, design and a set ofly accurately can detect that the belt deviation checking system of belt deviation amount (particularly horizontal offset) very has using value in real time.
In prior art, contactless sideslip detection is general adopts sensor circuit to be ccd sensor, but often there is signal transacting complexity, hardware complexity, exploitation Chen Ben great, and to drawbacks such as harsh environment sensitivities.
In addition for belt deviation checking system, the core controller extensively adopted in prior art is the devices such as singlechip chip, but singlechip controller IO port resource is limited, is difficult to the port needs of the more sensor assembly of adaptation signal output port, which also limits the raising of accuracy of detection.
Utility model content
For prior art above shortcomings, the purpose of this utility model is: how to provide a kind of circuit structure simple, cost of development is low, and the belt deviation testing circuit that accuracy of detection is higher.To achieve these goals, the utility model have employed following technical scheme.
Based on a belt deviation testing circuit of CPLD, it is characterized in that, comprising: photoelectric testing sensor module and CPLD controller;
Described photoelectric testing sensor module comprises sensor base plate and LED light source plate;
Be provided with LED and driving circuit thereof in described LED light source plate, described driving circuit is electrically connected with LED;
Described sensor base plate is made by insulating material; N number of detecting unit is arranged on sensor base plate according to rectangular array mode is evenly distributed; Described detecting unit comprises photo-transistor and controls transistor Q, and described control transistor Q is NPN transistor; The collecting electrode of described control transistor Q is connected with positive source VCC by biasing resistor; The emitter controlling transistor Q is connected with the collecting electrode of described photo-transistor; The emitter of photo-transistor is connected to the ground; The signal output part OUT of the current collection of photo-transistor very detecting unit, the base stage controlling transistor Q is the signal input part IN of detecting unit;
The signal input part IN being arranged in all detecting units of same a line links together formation sensor row input line; The signal output part OUT being arranged in all detecting units of same row links together formation sensor column output line;
Described LED light source plate is arranged on directly over sensor base plate; The photosensitive surface of described photo-transistor is just to the emitting surface of LED light source plate;
Every root sensor column output line is all corresponding with an input/output port of CPLD to be connected; Every root sensor row input line is all corresponding with an input/output port of CPLD to be connected.
Further, described N be less than 256 natural number.
Compared to existing technology, the utility model tool has the following advantages:
In the utility model, in sensor module designs: tested belt is arranged between sensor base plate and LED light source plate, the detecting unit output high level of part is not covered by tested belt, and the detecting unit output low level of part is covered by tested belt, again because each detecting unit is arranged in sensor base plate with array way, therefore the horizontal direction position of current tested belt is namely drawn after the output signal of CPLD controller by each detecting unit of detection by logic operation, sensor circuit is only made up of light source and multiple detecting unit and achieves the horizontal sideslip of contactless belt and detect, therefore there is circuit structure simple, signal transacting difficulty is little, the advantage that cost of development is low.
From above principle of measurement, detecting unit quantity in array of detection units is more, array is more intensive, the precision then detected is higher, but the excessive sensor circuit output port that also can cause of detecting unit quantity is too much, circuit connecting wiring is complicated, control two aspects from photoelectric testing sensor inside modules structure and core done customized design to overcome this defect the utility model: in photoelectric testing sensor inside modules structure design, N number of detecting unit is arranged on sensor base plate according to rectangular array mode is evenly distributed, formation sensor row input line and the signal input part IN being arranged in all detecting units of same a line links together, the signal output part OUT being arranged in all detecting units of same row links together formation sensor column output line, obviously this structure is very similar to the inner structure of matrix keyboard, principle of work is also similar with matrix keyboard in fact, after we adopt gating of lining by line scan to be arranged in all detecting units of a line, the mode whether receiving optical signal detecting this row detecting unit carries out belt deviation detection, this just makes it possible to adopt a fairly large number of detecting unit, such as all detecting units are arranged in 16 row, 16 row, only produce 16 sensor row input lines and 16 sensor column output lines altogether, but the quantity of detecting unit has reached 256, compare the circuit structure (32 detecting units will take the input/output port with 32 core controllers) that each detecting unit in usual manner takies a core controller input/output port, the utility model has the advantage that greatly can improve accuracy of detection, in the selection that this external core controls, the utility model selects CPLD controller, CPLD inside has enriches Digital Logic resource, running velocity is fast relative to treaters such as micro controller systems, and port resource is abundanter, this has made contribution for improving accuracy of detection further.
Accompanying drawing explanation
Fig. 1 is principle of measurement figure of the present utility model;
Fig. 2 is the utility model electrical block diagram;
Fig. 3 is the utility model array of detection units electrical block diagram.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the utility model is described in further detail.
As shown in Figure 1, the utility model comprises photoelectric testing sensor module and core controller;
(1) core controller adopts CPLD controller, and common CPLD chip has at least 36 input/output ports usually.
(2) photoelectric testing sensor module is primarily of sensor base plate and LED light source plate composition.
1, sensor base plate
Sensor base plate is made by insulating material, as shown in figures 1 and 3, N number of detecting unit is evenly distributed to be arranged on sensor base plate, N number of detecting unit carries out arrangement formation sensor array of detection units in rectangular array mode, the array of above-mentioned N number of detecting unit composition can be square, also can be oblong, wherein N be natural number, usually selects the natural number being less than 256.
As shown in Figure 3, described detecting unit comprises photo-transistor and controls transistor Q, and controlling transistor Q is NPN transistor; The collecting electrode controlling transistor Q is connected with positive source VCC by biasing resistor; The emitter controlling transistor Q is connected with the collecting electrode of described photo-transistor; The emitter of photo-transistor is connected to the ground; The signal output part OUT of the current collection of photo-transistor very detecting unit, the base stage controlling transistor Q is the signal input part IN of detecting unit.
The signal input part IN being arranged in all detecting units of same a line links together formation sensor row input line; The signal output part OUT being arranged in all detecting units of same row links together formation sensor column output line; Such as have 256 detecting units, the mode that so these 256 detecting units can arrange according to 16 row 16 arranges formation quadrate array, therefore 16 sensor row input lines and 16 sensor column output lines can be formed altogether, as shown in Figure 2, article 16, sensor row input line and 16 sensor column output lines are connected with 32 input/output ports of CPLD respectively, realize the connection between photoelectric testing sensor module and CPLD controller, such piece of CPLD controller just can realize the data acquisition to 256 detecting units.
2, LED light source plate
LED and driving circuit thereof is provided with in LED light source plate, LED can be a high-powered LED lamp, also can adopt LED array, driving circuit adopt routine techniques realize, such as common LED array drive circuit with MBI5026CF chip for core devices designs.
MBI5026CF chip is a similar 74595 seals in and go out (1 road serial input passage, 1 road serial output channel, 16 road parallel output passages) LED drive chip, its principal feature is: (1) has 16 road constant current output passages; (2) outgoing current can be adjusted by the resistance that its R_EXT pin connects (outgoing current 5-90mA); (3) it also has an output enable end OE, and Enable Pin turns off then inner output driver and turns off, and outgoing current cannot export.The output enable end OE of MBI5026CF chip can be connected with the IO of the intelligent chip such as micro controller system or CPLD, control the shutoff of outgoing current by intelligent chip thus realize the brightness regulation of LED, this is widely used technology in prior art, no longer launches to describe herein.
LED light source plate is arranged on directly over sensor base plate and (can realizes arranging by framing members such as mounting brackets); And for the ease of realizing optical signal detecting, the photosensitive surface of photo-transistor is just to the emitting surface of LED light source plate.
Using method of the present utility model and working process as follows:
Sensor assembly of the present utility model is a kind of contactless, based on the belt horizontal-shift quantity detection sensor of photoelectric measurement principle, common application is for detecting belt deviation (such as belt conveyer scale belt), concrete using method is arranged on by sensor base plate below tested belt (directly not contact with tested belt), LED light source plate is arranged on directly over sensor base plate, directly do not contact with tested belt equally, the above-mentioned setting of sensor base plate and LED light source plate can be realized by mechanical components such as mounting brackets.
In the prior art, the driving circuit be arranged in LED light source plate all has drive current adjustment end and output enable end (the R_EXT pin of such as MBI5026CF chip and OE pin) usually, above-mentioned two ports are connected with the IO of CPLD, CPLD just can control lighting of LED, extinguishes and brightness.And the lighting of LED, to extinguish and gamma correction is the essential condition parameter of test.
As shown in Figure 1, during concrete test, the length of the array of N number of detecting unit composition or the wide width (can according to the sensor circuit of the different array sizes of the size Selection of the tested belt of corresponding field tests) being greater than tested belt, like this, the tested belt be arranged between sensor base plate and LED light source plate must shelter from the light of corresponding part, detecting unit on this operative sensor base plate cannot receive light, and remaining part detecting unit then can receive light.
After sensor circuit powers on, the photo-transistor conducting in the detecting unit of light can be received, low level appears in the collecting electrode of photo-transistor; And the photo-transistor not conducting that can not receive in the detecting unit of light, there is high level in the collecting electrode of photo-transistor.
In other words, the detecting unit output high level of part is not covered by tested belt, and the detecting unit output low level of part is covered by tested belt, again because each detecting unit is arranged in sensor base plate with array way, therefore after the output signal of CPLD by each detecting unit of detection, namely draw the horizontal direction position of current tested belt by logic operation.And by the horizontal direction position of tested belt more in the same time, CPLD can judge whether tested belt there occurs horizontal-shift, if there occurs horizontal-shift CPLD can send alerting signal, certainly concrete side-play amount also can be compared by twice, front and back position coordinate and draw.In addition above-mentioned judged result can be outputted to upper computer for tester by CPLD.The mode that certain CPLD can also be called by macroefficiency module calls 51 cores at CPLD chip internal, utilizes 51 cores to carry out the computings such as position coordinate compares, and can simplify the design of CPLD internal digital logic like this.
From above principle of measurement, the detecting unit quantity in array of detection units is more, and array is more intensive, the precision then detected is higher, but the excessive sensor circuit output port that also can cause of detecting unit quantity is too much, and circuit connecting wiring is complicated, and the drawbacks such as CPLD data processing amount increase.
In order to overcome the shortcoming of the IO inadequate resource of CPLD, the utility model has done customized design to photoelectric testing sensor inside modules structure, concrete structure as previously mentioned, obviously this structure is very similar to the inner structure of matrix keyboard, principle of work is also similar with matrix keyboard in fact, after we adopt gating of lining by line scan to be arranged in all detecting units of a line, the mode whether receiving optical signal detecting this row detecting unit carries out belt deviation detection.
The process of gating of specifically lining by line scan is: CPLD sends the sweep signal of 16 to 16 sensor row input lines, this sweep signal can be 1000000000000000, 0100000000000000, 0010000000000000 until 0000000000000001, above datacycle sends, so just, can (high level makes to control transistor Q conducting at synchronization gating a line detecting unit, and then make photo-transistor have the possibility of conducting), this row is not covered part detecting unit by tested belt exports high level by connected sensor column output line, and covered the detecting unit of part by connected sensor column output line output low level by tested belt, CPLD controller just can collect the output (now no matter can the detecting unit of other row receive the possibility that light does not all possess conducting) of this row detecting unit
To sum up, just the data acquisition to whole array detection unit can be realized, such as all detecting units are arranged in 16 row, 16 row, only produce 16 sensor row input lines and 16 sensor column output lines altogether, but the quantity of detecting unit has reached 256, compare the circuit structure (32 detecting units will take the input/output port with 32 core controllers) that each detecting unit in usual manner takies a core controller input/output port, the utility model has the advantage that greatly can improve accuracy of detection.
What finally illustrate is, above embodiment is only in order to illustrate the technical solution of the utility model and unrestricted, although be described in detail the utility model with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify to the technical solution of the utility model or equivalent replacement, and not departing from aim and the scope of technical solutions of the utility model, it all should be encompassed in the middle of right of the present utility model.
Claims (2)
1. based on a belt deviation testing circuit of CPLD, it is characterized in that, comprising: photoelectric testing sensor module and CPLD controller;
Described photoelectric testing sensor module comprises sensor base plate and LED light source plate;
Be provided with LED and driving circuit thereof in described LED light source plate, described driving circuit is electrically connected with LED;
Described sensor base plate is made by insulating material; N number of detecting unit is arranged on sensor base plate according to rectangular array mode is evenly distributed; Described detecting unit comprises photo-transistor and controls transistor Q, and described control transistor Q is NPN transistor; The collecting electrode of described control transistor Q is connected with positive source VCC by biasing resistor; The emitter controlling transistor Q is connected with the collecting electrode of described photo-transistor; The emitter of photo-transistor is connected to the ground; The signal output part OUT of the current collection of photo-transistor very detecting unit, the base stage controlling transistor Q is the signal input part IN of detecting unit;
The signal input part IN being arranged in all detecting units of same a line links together formation sensor row input line; The signal output part OUT being arranged in all detecting units of same row links together formation sensor column output line;
Described LED light source plate is arranged on directly over sensor base plate; The photosensitive surface of described photo-transistor is just to the emitting surface of LED light source plate;
Every root sensor column output line is all corresponding with an input/output port of CPLD controller to be connected; Every root sensor row input line is all corresponding with an input/output port of CPLD controller to be connected.
2. a kind of belt deviation testing circuit based on CPLD according to claim 1, is characterized in that, described N be less than 256 natural number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201521048663.7U CN205204113U (en) | 2015-12-08 | 2015-12-08 | Belt off tracking detection circuitry based on CPLD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201521048663.7U CN205204113U (en) | 2015-12-08 | 2015-12-08 | Belt off tracking detection circuitry based on CPLD |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205204113U true CN205204113U (en) | 2016-05-04 |
Family
ID=55841844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201521048663.7U Expired - Fee Related CN205204113U (en) | 2015-12-08 | 2015-12-08 | Belt off tracking detection circuitry based on CPLD |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205204113U (en) |
-
2015
- 2015-12-08 CN CN201521048663.7U patent/CN205204113U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205209436U (en) | A sensor circuit for horizontal offset of detecting object | |
CN103033738A (en) | Automatic test system for circuit board | |
CN201852880U (en) | Voltage detection and alarm module | |
CN207263883U (en) | Chip open-short circuit apparatus and system | |
CN104807594A (en) | Automatic measuring system based on matrix switch | |
CN205941771U (en) | Connector short circuit accredited testing organization | |
CN109342921A (en) | A kind of ageing testing method and system of high speed exchange chip | |
CN104316295A (en) | Photoelectric test method and device of LED device | |
CN103713253A (en) | System and method for online detection of illumination, chrominance and junction temperature decay characteristics of LED | |
CN211348585U (en) | UV-LED lamp source control circuit with short circuit and open circuit detection | |
CN203178431U (en) | Full-automatic testing system for circuit boards | |
CN203688743U (en) | OLED device optical and electrical property testing system | |
CN205204113U (en) | Belt off tracking detection circuitry based on CPLD | |
CN211826336U (en) | Automatic PCB detection platform system | |
CN203037816U (en) | Circuit system for testing LED life in quantities | |
CN101303384B (en) | Test device and test method of rapid response electronic device response speed | |
CN205209437U (en) | Horizontal off tracking detection device of belt based on singlechip | |
CN205210613U (en) | Object level skew detecting system based on dual controller | |
CN105848338B (en) | A kind of done with high accuracy method of common light sensor | |
CN104251944A (en) | LED (light emitting diode) drive module detection system | |
CN205120938U (en) | LED pilot lamp light decay detector | |
CN109870993A (en) | A kind of automotive electronics electronic control unit testing system | |
CN204085689U (en) | A kind of proving installation of pilot lamp brightness uniformity | |
CN207636109U (en) | A kind of optoelectronic transceiver pipe self-checking circuit | |
CN207611073U (en) | A kind of optoelectronic switch break-make level sensitive circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160504 Termination date: 20161208 |