Industrial multifunctional visual inspection system control circuit
By designing a multifunctional visual inspection system control circuit, using the PIC24FJ64 chip and modular design, the system achieves unified control of objects to be inspected on multiple conveyor belts, solving the problems of single function and high cost in existing technologies, and improving inspection efficiency and quality.
Patent Information
- Application Number
- CN202522406482.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-13
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2035-11-13
AI Technical Summary
Existing visual inspection control circuits have limited functionality, with each module being separate and costly, making it difficult to meet the needs of multiple production lines and multiple camera control. In particular, how can we achieve functional centralization and reduce costs while ensuring inspection quality and efficiency?
Design a control circuit for an industrial multifunctional vision inspection system. Use the PIC24FJ64 chip as the main control microcontroller and connect various circuit modules through I/O interfaces to form a functionally linked overall control architecture. The system includes modules for sensor detection, encoder measurement, motor drive, camera and light source control, and material rejection and unloading control. Signal isolation and modular design are adopted to reduce noise interference and achieve accurate signal transmission.
It achieves comprehensive control of the objects to be tested on multiple conveyor belts, monitors the operation status of the conveyor belts, triggers the camera to take pictures based on the sensors, and the industrial control computer provides the detection results to determine whether to reject or discharge the material, thereby reducing equipment costs and improving detection efficiency and quality.
Smart Images

Figure CN223664498U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to visual inspection field, concretely relates to a multifunctional visual inspection system control circuit for industry. BACKGROUND
[0002] The mature automated visual inspection equipment will involve the communication control of various peripheral sensors, cameras and light sources, and the operation of the conveyor motor, the rejection of defective products and the discharge of qualified products and other operations also need mutual cooperation and unified analysis control between peripherals, and the quality of visual inspection and the efficient operation of the equipment directly affect the production speed and quality control of products, the current visual inspection control circuit has single function, the functional modules are relatively dispersed, and the cost is relatively high, especially for the visual inspection equipment of multiple production lines and multiple camera control, it is particularly important to design and create a visual inspection circuit equipment control module with concentrated functions and efficient operation, under the premise of ensuring detection quality and efficiency, the functions are concentrated, the cost is reduced, and the cost is reduced. UTILITARY MODEL
[0003] In view of the shortage of prior art, the utility model provides a multifunctional visual inspection system control circuit for industry, which is used for realizing motor operation control on multiple conveyors in production environment, sensor and encoder information acquisition, camera and light source triggering, control of material rejection and discharge.
[0004] A multifunctional visual inspection system control circuit for industry, comprising a main control single-chip microcomputer, a sensor detection circuit, an encoder measurement circuit, a motor driving circuit, a camera and light source control circuit, a material rejection control circuit, a discharge control circuit, an industrial computer communication circuit and a peripheral device circuit, the main control single-chip microcomputer is the core control unit of each circuit module, each circuit module realizes signal interaction with the main control single-chip microcomputer through the corresponding I / O interface, forming a whole control architecture of function linkage; wherein the sensor detection circuit and the encoder measurement circuit constitute an information input layer, which is used for collecting position signals of the measured object and conveyor running data and transmitting to the main control single-chip microcomputer; the motor driving circuit, the camera and light source control circuit, the material rejection control circuit and the discharge control circuit constitute an execution control layer, which receives the instructions of the main control single-chip microcomputer and realizes motor operation adjustment, camera shooting and light source triggering, defective product rejection and qualified product discharge switching function respectively; the industrial computer communication circuit realizes data interaction between the main control single-chip microcomputer and the industrial computer, receives the detection results of the measured object fed back by the industrial computer to assist the main control single-chip microcomputer in decision-making; the peripheral device circuit provides communication support, circuit reset and stable power supply for the system, and guarantees the stable operation of the whole circuit.
[0005] Further, the PIC24FJ64 chip is used as the main control single-chip microcomputer, all circuit modules of the control circuit of the industrial multifunctional visual detection system are connected with the single-chip microcomputer through corresponding I / O ports, and each part of the circuit has a corresponding working indicator lamp reflecting the functional state.
[0006] Further, the sensor detection circuit and the encoder measurement circuit mainly serve as inputs of position information of the measured object and running data of the conveying belt. The photoelectric sensor input signals S0 and S1 are isolated through the optocouplers U23 and U24, and the output signals sensor0 and sensor1 are obtained through parallel shunt resistors and current limiting resistors. The encoder signals encoder0+, encoder-, encoder1+ and encoder1- are isolated and integrated through high-speed photoelectric logic input optocouplers, and the output signals encoder0 and encoder1 are obtained. The output signals of the sensor detection circuit and the encoder measurement circuit are finally guided to the main control single-chip microcomputer for analysis and processing.
[0007] Further, the camera and light source control circuit and the material rejection control circuit generate high-low level flip and integrated multi-channel control signals out0-out10 through Schmidt trigger inverters when the single-chip microcomputer sends the camera and light source control signals triger0, triger1 and the material rejection control signals kick0, kick1. The control signals are outputted as the camera control signals cream0-cream4, light0, light1, kick0 and kick1 through 11 signal processing circuits composed of optocouplers, self-restoring fuses and protection resistors.
[0008] Further, the industrial personal computer communication circuit receives the camera detection results to provide a basis for judging whether the measured object is qualified. The industrial personal computer sends signals R0 and R1 after completing the detection, and the signals result0 and result1 are generated through circuit current protection resistors under the signal isolation effect of the optocouplers U25 and U26 and are inputted into the single-chip microcomputer.
[0009] Further, the motor drive circuit has two parts of AC drive and DC drive. The motor running speed is controlled through the PWM pulse width of the pulse output circuit. The single-chip microcomputer outputs four pulse signals PWM0-PWM3. The control signals given by the digital isolator and the relay are used for signal isolation and voltage conversion to form signals PWM_0-PWM_3. The single-ended signals are converted into differential signals PWM0+, PWM0-; PWM1+, PWM1-; PWM2+, PWM2-; PWM3+, PWM3- through the differential line driver. The single-ended signals and the differential signals are used for motor speed related control.
[0010] Further, the discharge control circuit has two control sources of counting and button, the counter records the qualified product quantity and sends a signal OK, the signal passes through optical coupling isolation, circuit protection resistance and capacitor filtering, and then forms a signal OK_counter entering the single-chip microcomputer; the button triggers to send a SB signal, which also passes through optical coupling isolation, circuit protection resistance and capacitor filtering, and then forms a signal switch_button.
[0011] Further, the peripheral device circuit includes an RS-422 communication circuit, a reset circuit and a power supply circuit, the communication circuit adopts a MAX3483E transceiver for communication between the single-chip microcomputer and the upper computer.
[0012] The industrial multifunctional visual detection system control circuit has the advantages that the industrial multifunctional visual detection system control circuit realizes all visual detection control, discharge and material removal operation and motor control of the to-be-detected object on the conveying belt in an industrial environment, effectively plans each module of the visual detection system, monitors the running state of the conveying belt, and judges material removal or discharge according to a detection result given by the industrial computer according to sensor triggering camera shooting, and the discharge port is switched by counting control or a manual button.
[0013] The industrial multifunctional visual detection system control circuit has the advantages that the industrial multifunctional visual detection system control circuit has further signal isolation processing on signal transmission, includes a transistor output optical coupler and a logic optical coupler, and particularly adopts a Schmidt inverter trigger, a digital isolator and a differential line driver to strengthen signal strength, reduce noise interference of key signals and ensure accurate signal transmission.
[0014] The industrial multifunctional visual detection system control circuit has the advantages that the industrial multifunctional visual detection system control circuit adopts modular design, each module circuit is independent, functions of all circuits are connected by the single-chip microcomputer, and a light-emitting diode is added in each functional module to reflect module functions and working states. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical scheme in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or prior art description, and obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0016] Figure 1 It is an overall structural diagram of the industrial multifunctional visual detection system control circuit.
[0017] Figure 2 It is a power supply and clock circuit.
[0018] Figure 3 It is all signal I / O connections of the single-chip microcomputer chip in the control circuit.
[0019] Figure 4 Camera, light source trigger signal output circuit;
[0020] Figure 5 Sensor detection signal input, camera detection result input;
[0021] Figure 6 Material rejection control related circuit;
[0022] Figure 7 Motor drive circuit;
[0023] Figure 8 Encoder detection signal input circuit;
[0024] Figure 9 Discharge control circuit. DETAILED DESCRIPTION
[0025] The utility model will be described below in detail, and the technical solutions in the embodiments of the utility model are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the utility model, not all embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor belong to the scope of protection of the utility model.
[0026] Example 1 photographing detection
[0027] When two conveyors are provided and the same object needs to be detected from different angles on each conveyor, Figure 5 The photoelectric sensor detection circuit shown in the figure detects the arrival of the object at the vision detection position on the first conveyor, and the sensor sends a signal S0. Similarly, the sensor on the second conveyor sends a signal S1. The two signals are first connected to the light-emitting diode circuit with a protective resistor, which functions as the sensor sending a trigger signal to make the two light-emitting diodes emit light, more directly reflecting the sensor trigger. Then, after passing through a current-limiting protective resistor, the signal enters the transistor output pin 2 of the optocoupler, and then is sent from the pin 4 of the optocoupler after signal isolation. After passing through a protective resistor and a filter capacitor, the signals SENSER0 and SENSER1 are formed and enter the main control single-chip microcomputer.
[0028] Figure 4The camera and light source trigger circuit in the middle, the single-chip microcomputer after receiving the sensor signal through processing to send camera and light source trigger signal TRIGER0 and TRIGER1. Camera and light source control circuit using Schmidt inverter trigger and output optocoupler, single-chip microcomputer master control of two-way output TRIGER0 and TRIGER1 corresponding to the front and back two conveyor belt camera and light source trigger control, trigger signal from the single-chip microcomputer into the inverter trigger, after the high-low level phase processing TRIGER0 output the same five-way signal OUT0-4 control the first conveyor belt four cameras and a light source, while TRIGER1 output the same two-way signal OUT5-6 control the second conveyor belt a camera and a light source, all output signals through the optocoupler pin 1 input, pin 6 output and flow through the self-resetting fuse and diode indicator light after the protection role to form the guidance camera and light source control signal CAMER0-5 and LIGHT0-1.
[0029] Figure 5 The camera detection result input signal in the middle by industrial computer or host computer according to the camera shot after the photo through visual software and algorithm detection, signal R0 and R1, indicating the front and back two conveyor belt detection results, with sensor detection circuit similar, via light emitting diode indicating circuit, transistor output optocoupler, circuit protection resistor and filter capacitor, signal isolation processing after forming signal RESULT0 and RESULT1, into the single-chip microcomputer.
[0030] Example 2 measured object position measurement and control
[0031] Figure 8 The encoder detection signal input circuit in the middle, the encoder input circuit using high-speed photoelectric type logic output optocoupler, the encoder input interface connected with the incremental encoder signal output terminal installed on the conveyor belt, encoder real-time monitoring of conveyor belt running information, and according to the front and back two conveyor belt difference signal encoder0+, encoder- and encoder1+, encoder1- emitted by the same encoder output signal through light emitting diode indicating circuit into the high-speed photoelectric logic input optocoupler pin 1 and pin 4 signal isolation and integration processing, then from pin 5 to form signal encoder0 and encoder1 into single-chip microcomputer, master chip according to the measurement signal calculation of the measured object position.
[0032] Figure 6In the middle rejection control circuit, after the operation of the above-mentioned module circuit, the microcontroller obtains the camera detection results and the current operation status of the conveyor belt. After further processing, it determines whether rejection is required and the speed of the conveyor belt. When it is determined that rejection is required based on the detection results, the main control microcontroller calculates the position of the product to be tested based on the speed of the conveyor belt. When it reaches the rejection port, rejection signals KICK0 and KICK1 are issued, which respectively indicate the rejection control of the front and rear conveyor belts. Similarly, after passing through the Schmitt trigger, current protection resistor, self-resetting fuse and diode trigger indicator, signals KICKER0 and KICKER1 are formed and enter the rejection module to execute the rejection operation.
[0033] Example 3: Discharge Control
[0034] The unloading operation mainly takes place at the end of the second conveyor belt. After being photographed and inspected by the camera, items that pass the test will not trigger a rejection operation but will instead proceed to the unloading port with the conveyor belt. For classification and centralized packaging, there is more than one unloading port; the appropriate port must be selected based on the actual situation. For example... Figure 9 The discharge control circuit shown can automatically switch the discharge port. A counter records the number of qualified products entering the discharge port at the end of the conveyor belt. Each time a qualified product passes through, the counter sends a counting signal "OK". This signal passes through an LED indicator circuit and a current-limiting protection resistor before entering pin 2 of the transistor output optocoupler. After signal isolation by the optocoupler, it flows out from pin 4, and after being filtered by a protection resistor and capacitor, forms the signal "OK_COUNTER", which then enters the main control microcontroller. Further processing of the counting signal triggers the discharge port switching when the count reaches a set value. At this time, the main control microcontroller sends a switching signal "SWITCH". This switching signal enters a Schmitt trigger, and after waveform shaping and level inversion, forms the signal "OUT8". This signal flows through a protection resistor, transistor optocoupler, resettable fuse, and diode indicator circuit before outputting the signal "SWITCHER". This signal directly drives the corresponding discharge port switching peripheral device to achieve the purpose of discharge control.
[0035] In addition to automatic switching, manual switching of the discharge port can also be achieved using button control. The manual switching process is as follows: when it is necessary to skip the automatic counting and switch the discharge port, you can press the switching button to generate an output signal SB. Similar to the counter circuit, after passing through the diode indicator circuit, protection resistor, transistor optocoupler and filter capacitor, it forms the signal SWITCH_BUTTON, which flows to the main control microcontroller. After receiving the button switching signal, the microcontroller responds by sending the same switching signal SWITCH, which is then processed into the signal SWITCHER to drive the discharge port switching.
[0036] The above embodiment is the preferred embodiment of the present application, but the embodiment of the present application is not limited by the above embodiment, and for those skilled in the art, the present application can be improved and modified in several ways without departing from the principle of the present application, and these improvements and modifications also fall within the protection scope of the present application.
Claims
1. A control circuit for an industrial multifunctional vision inspection system, comprising a main control microcontroller, a sensor detection circuit, an encoder measurement circuit, a motor drive circuit, a camera and light source control circuit, a rejection control circuit, a discharge control circuit, an industrial computer communication circuit, and peripheral device circuits, characterized in that: The main control microcontroller is the core control unit of each circuit module. Each circuit module interacts with the main control microcontroller through its corresponding I / O interface, forming a functionally linked overall control architecture. The sensor detection circuit and encoder measurement circuit constitute the information input layer, used to collect the position signal of the object under test and the conveyor belt operation data and transmit them to the main control microcontroller. The motor drive circuit, camera and light source control circuit, rejection control circuit, and discharge control circuit constitute the execution control layer, receiving instructions from the main control microcontroller and respectively implementing functions such as motor operation adjustment, camera taking pictures and light source triggering, defective product rejection, and qualified product discharge switching. The industrial control computer communication circuit realizes data interaction between the main control microcontroller and the industrial control computer, and receives the detection results of the object under test fed back by the industrial control computer to assist the main control microcontroller in decision-making. The peripheral device circuit provides communication support, circuit reset, and stable power supply for the system, ensuring the stable operation of the overall circuit.
2. The control circuit for an industrial multifunctional vision inspection system as described in claim 1, characterized in that: Using the PIC24FJ64 chip as the main control microcontroller, all circuit modules of the industrial multi-functional vision inspection system control circuit are connected to the microcontroller through corresponding I / O ports, and each part of the circuit has a corresponding working indicator light to reflect the functional status.
3. The control circuit for an industrial multifunctional vision inspection system as described in claim 1, characterized in that: The sensor detection circuit and encoder measurement circuit are mainly used for inputting the position information of the object under test and the conveyor belt operation data. The photoelectric sensor input signals S0 and S1 are isolated by optocouplers U23 and U24 respectively, and after passing through parallel shunt resistors and current limiting resistors, the output signals are sensor0 and sensor1. The encoder signals encoder0+, encoder- and encoder1+, encoder1- are isolated and integrated by high-speed optoelectronic logic input optocouplers, and the output signals are encoder0 and encoder1. The output signals of the sensor detection circuit and encoder measurement circuit are finally guided to the main control microcontroller for analysis and processing.
4. The control circuit for an industrial multifunctional vision inspection system as described in claim 1, characterized in that: The camera and light source control circuit and the rejection control circuit, when the microcontroller sends camera and light source control signals triger0, triger1 and rejection control signals kick0, kick1, respectively, pass through Schmitt trigger inverters to generate high and low level flips and integrate to generate multiple control signals out0-out10. The control signals then pass through 11 signal processing circuits composed of optocouplers, self-resetting fuses and protection resistors to output camera control signals cream0-cream4, light0, light1, kick0, kick1.
5. The control circuit for an industrial multifunctional vision inspection system as described in claim 1, characterized in that: The industrial control computer's communication circuit receives the camera's detection results, providing a basis for judging whether the object under test is qualified. After the industrial control computer completes the detection, it sends signals R0 and R1. Under the signal isolation of optocouplers U25 and U26, the signals result0 and result1 are generated through the circuit current protection resistor and connected to the microcontroller.
6. The control circuit for an industrial multifunctional vision inspection system as described in claim 1, characterized in that: The motor drive circuit handles both AC and DC drive functions. The motor speed is controlled by adjusting the PWM pulse width of the pulse output circuit. The microcontroller outputs four pulse signals PWM0-PWM3. Under the combined action of the control signals from the digital isolator and the relay, signal isolation and voltage conversion are performed to form signals PWM_0-PWM_3. The signals formed by signal isolation and voltage conversion are then converted into differential signals PWM0+, PWM0-; PWM1+, PWM1-; PWM2+, PWM2-; PWM3+, PWM3- by the differential line driver. The motor speed is then controlled by the combination of single-ended and differential signals.
7. The control circuit for an industrial multifunctional vision inspection system as described in claim 1, characterized in that: The discharge control circuit has two control sources: a counter and a button. The counter records the number of qualified products and sends an OK signal. After being filtered by optocouplers, circuit protection resistors, and capacitors, the signal OK_counter is generated and enters the microcontroller. The button trigger sends an SB signal, which is also filtered by optocouplers, circuit protection resistors, and capacitors to generate the switch_button signal.
8. The control circuit for an industrial multifunctional vision inspection system as described in claim 1, characterized in that: The peripheral circuitry includes an RS-422 communication circuit, a reset circuit, and a power supply circuit. The communication circuit uses a MAX3483E transceiver to enable communication between the microcontroller and the host computer.