CN204515412U - A kind of SCM Based color sensor testing circuit - Google Patents

A kind of SCM Based color sensor testing circuit Download PDF

Info

Publication number
CN204515412U
CN204515412U CN201520108774.6U CN201520108774U CN204515412U CN 204515412 U CN204515412 U CN 204515412U CN 201520108774 U CN201520108774 U CN 201520108774U CN 204515412 U CN204515412 U CN 204515412U
Authority
CN
China
Prior art keywords
pins
connect
chip microcomputer
module
ground connection
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
Application number
CN201520108774.6U
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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN201520108774.6U priority Critical patent/CN204515412U/en
Application granted granted Critical
Publication of CN204515412U publication Critical patent/CN204515412U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model relates to a kind of SCM Based color sensor testing circuit.The utility model comprises main control module, power module, signal acquisition module, and key-press module and LCD drive display module.Described main control module comprises minimum system and the debugging interface of single-chip microcomputer.Described power module is made up of power supply unit and voltage conversion unit.Described signal acquisition module comprises color sensor TCS3200.Described LCD drives display module to comprise liquid crystal LCD1602, potentiometer adjustable resistance R1.Described key-press module comprises three switch keys.The utility model comprises the modular circuits such as LCD liquid crystal display, Keyboard management, makes user just can carry out white balance correction to color sensor by keyboard operation; Color sensor is used to gather color.User to keyboard operation simultaneously, LCD liquid crystal display display corresponding information, realizes man-machine interaction.

Description

A kind of SCM Based color sensor testing circuit
Technical field
The utility model belongs to color detection field, is specifically related to a kind of SCM Based color sensor testing circuit.
Background technology
Color detection is emerging observation and control technology, is widely used in various industrial detection and automation field.Along with modern industry produces the development to high speed, automation direction, Color Detecting System is by fields such as the identification being applied to color measuring more and more widely, color changes, Print Control, color correction and robot security's monitoring.In commercial production, colour recognition and appraisement system progressively replace traditional visual judgement, play in quality of colour Detection & Controling field the effect become more and more important.
Research and development have the color detection means of automatic detection function, significant to the Quality advance of industrial color product.Conventionally, carry out direct visual comparison by the difference of observation to sample of colour and Standard Colors of human eye, because the impact of the aspect factor such as some external conditions and some artificial subjective factors, accuracy is low, consistance is poor, and work efficiency is very low.At present, although also there is various color measurement instrument to arise at the historic moment, its price comparison is expensive, cannot be widely used in productive life.SCM Based Color Detecting System, can on-line checkingi be carried out, complete a series of work with high reproducibility, there is the features such as speed is fast, precision is high, transplantability is good, contactless, harmless, cost is low, greatly can enhance productivity, realize the production automation.
Summary of the invention
The utility model, for the deficiencies in the prior art, provides a kind of SCM Based color sensor testing circuit.
The utility model comprises main control module, power module, signal acquisition module, and key-press module and LCD drive display module.
Described main control module comprises minimum system and the debugging interface of single-chip microcomputer, and single-chip microcomputer model is wherein STC89C52; No. 18 pins of single-chip microcomputer connect crystal oscillator Y1 one end, connect one end of leaded multilayer ceramic capacitor C7 simultaneously, leaded multilayer ceramic capacitor C7 other end ground connection, connect one end of leaded multilayer ceramic capacitor C5 simultaneously, and the leaded multilayer ceramic capacitor C5 other end and the crystal oscillator Y1 other end connect No. 19 pins of single-chip microcomputer; 40 pins of single-chip microcomputer connect one end of filter capacitor C6, filter capacitor C6 other end ground connection; No. 31 pins of single-chip microcomputer connect+5V power supply; No. 9 pins of single-chip microcomputer, filter capacitor C4 one end, reset switch K1 mono-termination+5V power supply, filter capacitor C4 other end connecting resistance R3, reset switch K1 other end connecting resistance R2, resistance R2 other end connecting resistance R3, resistance R3 other end ground connection.
Described power module is made up of power supply unit and voltage conversion unit.
Described power supply unit output voltage is the storage battery power supply of 12V, and accumulator is docked with DC outlet by power lead, powers to voltage conversion unit.
Described voltage conversion unit comprises 12V and turns+5V module.12V turns+5V module and comprises voltage stabilizing chip, and voltage stabilizing chip No. 1 pin is connected with the positive pole of DC outlet by ship type switch switch, and connects electrochemical capacitor C1 positive pole, electrochemical capacitor C1 minus earth; No. 3 pins of voltage stabilizing chip, No. 5 pin ground connection; No. 4 pins of the first voltage stabilizing chip connect drop-down electrochemical capacitor C2 positive pole; No. 2 pins of voltage stabilizing chip connect diode D1 negative pole, I-shaped inductive L1 one end, diode D1 plus earth, and another termination of I-shaped inductive L1 drop-down electrochemical capacitor C2 positive pole also exports+5V voltage, drop-down electrochemical capacitor C2 minus earth; Described voltage stabilizing chip model is LM2596T-5.0.
Described signal acquisition module comprises color sensor TCS3200.No. 1 pin, No. 2 pins, No. 5 pins of color sensor TCS3200 meet+5V; No. 3 pins, No. 4 pin ground connection; No. 6 pins connect No. 15 pins of single-chip microcomputer; No. 7 pins connect No. 21 pins of single-chip microcomputer; No. 8 pins connect No. 22 pins of single-chip microcomputer.
Described LCD drives display module to comprise liquid crystal LCD1602, potentiometer adjustable resistance R1.Wherein, No. 1 pin ground connection of liquid crystal LCD1602; No. 2 pins connect+5V power supply; No. 3 pins connect the middle pin of adjustable resistance R1, and all the other two pins of adjustable resistance R8 connect+5V VDD-to-VSS respectively; No. 4 pins connect No. 1 pin of single-chip microcomputer; No. 5 pins connect No. 2 pins of single-chip microcomputer; No. 6 pins connect No. 6 pins of single-chip microcomputer; No. 15 pins connect+5V power supply; No. 16 pin ground connection; 7 ~ No. 14 pins connect No. 39 pins of single-chip microcomputer, No. 38 pins, No. 37 pins, No. 36 pins, No. 35 pins, No. 34 pins, No. 33 pins, No. 32 pins respectively.
Described key-press module comprises three switch keys; First K switch 2 one end connects single-chip microcomputer No. 23 pins, other end ground connection; Second switch K3 one end connects single-chip microcomputer No. 24 pins, other end ground connection; 3rd K switch 4 connects single-chip microcomputer No. 25 pins, other end ground connection.
The beneficial effect that the utility model has: the utility model comprises the modular circuits such as LCD liquid crystal display, Keyboard management, makes user just can carry out white balance correction to color sensor by keyboard operation; Color sensor is used to gather color.User to keyboard operation simultaneously, LCD liquid crystal display display corresponding information, realizes man-machine interaction.
Accompanying drawing explanation
Fig. 1 is the utility model system comprising modules block diagram;
Fig. 2 is the utility model application main control module electrical block diagram;
Fig. 3 is the utility model voltage transformation module electrical block diagram;
Fig. 4 is the utility model signal acquisition module electrical block diagram;
Fig. 5 is the utility model key-press module electrical block diagram;
Fig. 6 is the utility model LCD LCD MODULE electrical block diagram;
Fig. 7 is the main flow chart that the utility model color detection circuitry realizes color detection.
Embodiment
Below in conjunction with accompanying drawing, the utility model is described in further detail.
As shown in Figure 1, the utility model is primarily of main control module A, and supply module B, signal acquisition module C, key-press module D, LCD drive display module E composition.
As shown in Figure 2, main control module of the present utility model, comprises the minimum system of single-chip computer AT89C52 chip.Described single-chip minimum system comprises: the first crystal oscillator Y1, the 7th electric capacity C7, the 5th electric capacity C5, the 6th electric capacity C6, the 4th electric capacity C4, the 3rd resistance R3, the second resistance R2.First crystal oscillator Y1 adopts 11.0592M crystal oscillator, and the 4th electric capacity C4, the 6th electric capacity C6 are 0.1uf leaded multilayer ceramic capacitor, and the 5th electric capacity C5, the 7th electric capacity C7 are 20pf leaded multilayer ceramic capacitor, and the second resistance R2 resistance is the 18, three resistance R3 is 4.7K.No. 18 pins of single-chip microcomputer connect crystal oscillator Y1 one end, connect one end of leaded multilayer ceramic capacitor C7 simultaneously, leaded multilayer ceramic capacitor C7 other end ground connection, connect one end of leaded multilayer ceramic capacitor C5 simultaneously, and the leaded multilayer ceramic capacitor C5 other end and the crystal oscillator Y1 other end connect No. 19 pins of single-chip microcomputer; 40 pins of single-chip microcomputer connect one end of filter capacitor C6, filter capacitor C6 other end ground connection; No. 31 pins of single-chip microcomputer connect+5V power supply; No. 9 pins of single-chip microcomputer, filter capacitor C4 one end, reset switch K1 mono-termination+5V power supply, filter capacitor C4 other end connecting resistance R3, reset switch K1 other end connecting resistance R2, resistance R2 other end connecting resistance R3, resistance R3 other end ground connection.
As shown in Figure 3, power module of the present utility model.This module is voltage conversion circuit part, and this part is that 12V turns+5V modular circuit.+ 5V is used for powering to main control module, signal acquisition module, LCD driving display module, key-press module.
Described 12V turns+5V modular circuit and comprises the first voltage stabilizing chip, the first electric capacity C1, the second electric capacity C2, the first diode D1, the first inductance L 1.That the first voltage stabilizing chip adopts is LM2596T-5.0, and the first electric capacity C1, the second electric capacity C2 is respectively 680uF, 220uF, and the first diode is 1N5824, and the first inductance is I-shaped inductive 33uH.First No. 1, voltage stabilizing chip pin is connected with the positive pole of DC outlet by ship type switch switch, and connects electrochemical capacitor C1 positive pole, electrochemical capacitor C1 minus earth; No. 3 pins of the first voltage stabilizing chip, No. 5 pin ground; No. 4 pins of the first voltage stabilizing chip connect drop-down electrochemical capacitor C15 positive pole; No. 2 pins of the first voltage stabilizing chip connect diode D1 negative pole, I-shaped inductive L1 one end, diode D1 plus earth, No. 4 pins of another termination first voltage stabilizing chip of I-shaped inductive L1, drop-down electrochemical capacitor C2 positive pole export+5V voltage, drop-down electrochemical capacitor C2 minus earth.
As shown in Figure 4, signal acquisition module of the present utility model.Signal acquisition module comprises the color sensor of 8 pins.Color sensor adopts TCS3200.No. 1 pin, No. 2 pins, No. 5 pins of color sensor TCS3200 meet+5V; No. 3 pins, No. 4 pin ground connection; No. 6 pins connect No. 15 pins of single-chip microcomputer; No. 7 pins connect No. 21 pins of single-chip microcomputer; No. 8 pins connect No. 22 pins of single-chip microcomputer.
As shown in Figure 5, key-press module of the present utility model, user is by the relevant information to keyboard operation inquiry color.Described key-press module comprises 3 switch keys, and three buttons are corresponding respectively: white balance correction, beginning color detection, stopping color detection.Wherein, first K switch 2 one end connects single-chip microcomputer No. 23 pins, other end ground connection; Second switch K3 one end connects single-chip microcomputer No. 24 pins, other end ground connection; 3rd K switch 4 connects single-chip microcomputer No. 25 pins, other end ground connection.
As shown in Figure 6, LCD of the present utility model drives display module, according to user operation display respective color information.This module comprises the liquid crystal LCD1602 of No. 16 pins, the first resistance R1.Potentiometer adjustable resistance R1 is 10K.Wherein, No. 1 pin ground connection of liquid crystal LCD1602; No. 2 pins connect+5V power supply; No. 3 pins connect the middle pin of adjustable resistance R1, and all the other two pins of adjustable resistance R8 connect+5V VDD-to-VSS respectively; No. 4 pins connect No. 1 pin of single-chip microcomputer; No. 5 pins connect No. 2 pins of single-chip microcomputer; No. 6 pins connect No. 6 pins of single-chip microcomputer; No. 15 pins connect+5V power supply; No. 16 pin ground connection; 7 ~ No. 14 pins connect No. 39 pins of single-chip microcomputer, No. 38 pins, No. 37 pins, No. 36 pins, No. 35 pins, No. 34 pins, No. 33 pins, No. 32 pins respectively.
Below in conjunction with Fig. 7, the utility model specific works mode is described:
The color detection first step will carry out white balance correction, pushes button 1, carries out white balance correction, has corrected the display of the rear LCD page: white balance correction success.Push button 2 again, start color acquisition, LCD interface can show the rgb value of testee, pushes button after 3 and stops color detection.

Claims (1)

1. a SCM Based color sensor testing circuit, comprises main control module, power module, signal acquisition module, and key-press module and LCD drive display module, it is characterized in that:
Described main control module comprises minimum system and the debugging interface of single-chip microcomputer, and single-chip microcomputer model is wherein STC89C52; No. 18 pins of single-chip microcomputer connect crystal oscillator Y1 one end, connect one end of leaded multilayer ceramic capacitor C7 simultaneously, leaded multilayer ceramic capacitor C7 other end ground connection, connect one end of leaded multilayer ceramic capacitor C5 simultaneously, and the leaded multilayer ceramic capacitor C5 other end and the crystal oscillator Y1 other end connect No. 19 pins of single-chip microcomputer; 40 pins of single-chip microcomputer connect one end of filter capacitor C6, filter capacitor C6 other end ground connection; No. 31 pins of single-chip microcomputer connect+5V power supply; No. 9 pins of single-chip microcomputer, filter capacitor C4 one end, reset switch K1 mono-termination+5V power supply, filter capacitor C4 other end connecting resistance R3, reset switch K1 other end connecting resistance R2, resistance R2 other end connecting resistance R3, resistance R3 other end ground connection;
Described power module is made up of power supply unit and voltage conversion unit;
Described power supply unit output voltage is the storage battery power supply of 12V, and accumulator is docked with DC outlet by power lead, powers to voltage conversion unit;
Described voltage conversion unit comprises 12V and turns+5V module; 12V turns+5V module and comprises voltage stabilizing chip, and voltage stabilizing chip No. 1 pin is connected with the positive pole of DC outlet by ship type switch switch, and connects electrochemical capacitor C1 positive pole, electrochemical capacitor C1 minus earth; No. 3 pins of voltage stabilizing chip, No. 5 pin ground connection; No. 4 pins of the first voltage stabilizing chip connect drop-down electrochemical capacitor C2 positive pole; No. 2 pins of voltage stabilizing chip connect diode D1 negative pole, I-shaped inductive L1 one end, diode D1 plus earth, and another termination of I-shaped inductive L1 drop-down electrochemical capacitor C2 positive pole also exports+5V voltage, drop-down electrochemical capacitor C2 minus earth; Described voltage stabilizing chip model is LM2596T-5.0;
Described signal acquisition module comprises color sensor TCS3200; No. 1 pin, No. 2 pins, No. 5 pins of color sensor TCS3200 meet+5V; No. 3 pins, No. 4 pin ground connection; No. 6 pins connect No. 15 pins of single-chip microcomputer; No. 7 pins connect No. 21 pins of single-chip microcomputer; No. 8 pins connect No. 22 pins of single-chip microcomputer;
Described LCD drives display module to comprise liquid crystal LCD1602, potentiometer adjustable resistance R1; Wherein, No. 1 pin ground connection of liquid crystal LCD1602; No. 2 pins connect+5V power supply; No. 3 pins connect the middle pin of adjustable resistance R1, and all the other two pins of adjustable resistance R8 connect+5V VDD-to-VSS respectively; No. 4 pins connect No. 1 pin of single-chip microcomputer; No. 5 pins connect No. 2 pins of single-chip microcomputer; No. 6 pins connect No. 6 pins of single-chip microcomputer; No. 15 pins connect+5V power supply; No. 16 pin ground connection; 7 ~ No. 14 pins connect No. 39 pins of single-chip microcomputer, No. 38 pins, No. 37 pins, No. 36 pins, No. 35 pins, No. 34 pins, No. 33 pins, No. 32 pins respectively;
Described key-press module comprises three switch keys; First K switch 2 one end connects single-chip microcomputer No. 23 pins, other end ground connection; Second switch K3 one end connects single-chip microcomputer No. 24 pins, other end ground connection; 3rd K switch 4 connects single-chip microcomputer No. 25 pins, other end ground connection.
CN201520108774.6U 2015-02-14 2015-02-14 A kind of SCM Based color sensor testing circuit Expired - Fee Related CN204515412U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520108774.6U CN204515412U (en) 2015-02-14 2015-02-14 A kind of SCM Based color sensor testing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520108774.6U CN204515412U (en) 2015-02-14 2015-02-14 A kind of SCM Based color sensor testing circuit

Publications (1)

Publication Number Publication Date
CN204515412U true CN204515412U (en) 2015-07-29

Family

ID=53713364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520108774.6U Expired - Fee Related CN204515412U (en) 2015-02-14 2015-02-14 A kind of SCM Based color sensor testing circuit

Country Status (1)

Country Link
CN (1) CN204515412U (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106169864A (en) * 2016-09-23 2016-11-30 山东省科学院激光研究所 High-performance light-operated relay power management module
CN109087547A (en) * 2018-09-03 2018-12-25 广东环境保护工程职业学院 A kind of SCM Based line fault setting system
CN109696246A (en) * 2018-12-05 2019-04-30 中国美术学院 Digitize color management system
CN109945975A (en) * 2019-04-18 2019-06-28 电子科技大学中山学院 Color identification method realized through modularized color identification device
CN110376141A (en) * 2019-08-09 2019-10-25 东北林业大学 A kind of Intelligent Laser woodwork edge banding machine edge bonding belt Color Recognition System and its method
CN113560220A (en) * 2021-07-29 2021-10-29 重庆理工大学 Automatic sorting system for colored pencils based on color sensor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106169864A (en) * 2016-09-23 2016-11-30 山东省科学院激光研究所 High-performance light-operated relay power management module
CN109087547A (en) * 2018-09-03 2018-12-25 广东环境保护工程职业学院 A kind of SCM Based line fault setting system
CN109696246A (en) * 2018-12-05 2019-04-30 中国美术学院 Digitize color management system
CN109945975A (en) * 2019-04-18 2019-06-28 电子科技大学中山学院 Color identification method realized through modularized color identification device
CN110376141A (en) * 2019-08-09 2019-10-25 东北林业大学 A kind of Intelligent Laser woodwork edge banding machine edge bonding belt Color Recognition System and its method
CN113560220A (en) * 2021-07-29 2021-10-29 重庆理工大学 Automatic sorting system for colored pencils based on color sensor

Similar Documents

Publication Publication Date Title
CN204515412U (en) A kind of SCM Based color sensor testing circuit
CN103033760A (en) Battery charging and discharging tester
CN203164326U (en) Digital display type detection device of resistor strain sensor
CN103488191B (en) A kind of distributed leveling controller circuitry
CN101408594A (en) Device suitable for monitoring direct-current power supply ripple coefficient
CN201311485Y (en) Ripple factor detecting device adapted to DC power supply
CN103964312A (en) Energy efficiency testing device and method for electric hoist
CN206609527U (en) A kind of color identification device
CN203414433U (en) Temperature and humidity detection system for drying process
CN202815193U (en) Battery test device
CN201322753Y (en) Rotating-speed measuring device
CN2779412Y (en) Multi-channel measurement device for AC/DC interference in pipeline
CN202471837U (en) A battery internal resistance measuring circuit
CN204535750U (en) A kind of energy-saving type frequency conversion device on-Line Monitor Device
CN205049681U (en) Multicore cable insulation , short -circuit detection device
CN204807679U (en) Portable battery performance measurement appearance
CN201273933Y (en) Diode electric characteristic test system
CN204228927U (en) The multimode lithium battery group charging and discharging currents detection system in parallel of wireless telecommunications
CN212622804U (en) Box transformer on-line monitoring circuit
CN204945239U (en) Electric quantity loss compensate for malfunctions device under the online substitute mode of a kind of gate energy meter
CN107228969A (en) Multipurpose electric flow table and control method with different measurement accuracy
CN204694833U (en) A kind of LED string intelligence energy consumption testing instrument
CN208795801U (en) A kind of automatic no-load voltage ratio tester
CN203941158U (en) A kind of long-range GPRS soil pH value transmitter
CN204043715U (en) Wireless industrial equipment humiture data acquisition system

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

Granted publication date: 20150729

Termination date: 20170214

CF01 Termination of patent right due to non-payment of annual fee