Interface board system of color sorter
Through the design of FPGA module and indicator light module, the problems of insufficient interfaces and difficulty in troubleshooting in traditional color sorter equipment are solved, the clarity of circuit board connections and rapid fault location are achieved, and production efficiency is improved.
Patent Information
- Application Number
- CN202323358604.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2033-12-05
AI Technical Summary
The number of interfaces between the upper computer and lower computer modules in traditional color sorter equipment is insufficient, resulting in confusing circuit board connections and difficulty in troubleshooting.
The FPGA module is used as the connection bridge between the host computer and the slave computer, and is connected to the FPGA module through the RS485 module. The indicator light module is used to prompt the power and data transmission status through LED display lights, simplifying the circuit board connection and quickly locating faults.
It achieves clarity of circuit board connections and rapid troubleshooting, simplifying the wiring process and improving production efficiency.
Smart Images

Figure CN221734103U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of color sorter control systems, in particular to a color sorter interface board system. Background Art
[0002] Color sorters are devices used to sort different colors in objects or materials. They are widely used in the food processing industry to remove ingredients that do not meet quality standards, such as bad grains, foreign objects, rotten fruits, etc. They are also used in waste treatment, mining and plastic recycling. The core function of a color sorter is to separate objects or materials that do not meet the standards according to pre-set color standards.
[0003] The commands of traditional color sorters are sent from the host computer to the modules of the slave computer. However, the host computer does not have so many interfaces to directly connect with the modules of the slave computer, so an interface board is needed to act as a bridge to connect the host computer and the modules of the slave computer. However, the connections between the existing color sorter circuit boards are messy and unclear, and it is difficult to troubleshoot when a fault occurs. Utility Model Content
[0004] The purpose of the utility model is to provide a color sorter interface board system, which overcomes the defect that the upper computer in the traditional color sorter equipment does not have so many interfaces and cannot meet the needs of direct connection of various modules of the lower computer, resulting in chaotic and unclear connections between circuit boards, and at the same time solves the problem that due to the large number of circuit boards, if the color sorter equipment fails, the fault point cannot be quickly found, thereby making the circuit board connection clear and the fault inspection rapid.
[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the utility model is: a color sorter interface board system, including: a host computer and an FPGA module, wherein the host computer is connected to the FPGA module through an RS485 module, wherein the data input pin (R), enable pin (DE), and data output pin (D) of the RS485 module are respectively connected to the H4 pin (IO / DIFFIO_L7p), the E2 pin (IO / DIFFIO_L8p / FLASH_nCE / nCSO), and the H3 pin (IO / DIFFIO_L7n) of the FPGA module; the host computer is used to receive and analyze the image data sent back by the FPGA module, and analyze the image data through an image recognition algorithm to obtain the location data of the bad material and transmit it to the FPGA module; the FPGA module is also respectively connected to an LED board interface module, a camera board interface module, a DC power supply module, a spray valve drive board interface module, and an indicator light module;
[0006] The LED board interface module sends the command received by the FPGA module to the LED board to make it light up to indicate whether the working status of the spray valve is normal; the indicator light module is used to display whether the power supply is normal and whether the data transmission between the FPGA module, each interface module and the host computer is normal; the indicator light module includes 5 groups of LED display lights D5, D4, D3, D2, and D1, and the 5 groups of LED display lights are respectively connected to the P3 pin (IO / DIFFIO_L23n), U2 pin (IO / DIFFIO_L24p), U1 pin (IO / DIFFIO_L24n), V2 pin (IO / DIFFIO_L25p), and V1 pin (IO / DIFFIO_L25n) of the FPGA module;
[0007] The clock pin (CLK12 / DIFFCLK_7n) on the FPGA module is connected to the data output pin (OUT) on the crystal oscillator module, and the crystal oscillator module provides a stable time reference signal for the entire color sorter interface board system.
[0008] Furthermore, the five groups of LED display lights D5, D4, D3, D2, and D1 are connected in parallel with each other, and each branch where the LED display lights are located is respectively connected in series with a resistor R16, R17, R18, R19, and R20. The LED display lights are respectively associated with the DC power supply module, the spray valve drive board interface module, the RS485 module, and the camera board interface module program, and continuously flash to indicate that the power supply and data exchange transmission are normal.
[0009] Furthermore, the RS485 module includes a capacitor C20 and an RS485 chip SN65HVD33; two ends of the capacitor C20 are respectively connected to pin 13 (VCC) and pin 3 (RE#) on the RS485 chip SN65HVD33.
[0010] Furthermore, the camera board interface module includes two differential signal receiving chips SN65LVDS048ADR and a differential signal driving chip SN65LVDS047D; pin 7 (DIN4), pin 6 (DIN3), pin 3 (DIN2), and pin 2 (DIN1) on the differential signal driving chip SN65LVDS047D are respectively connected to pin G4 (IO / DIFFIO_L1p), pin G3 (IO / DIFFIO_L1n), pin B2 (IO / DIFFIO_L2p), and pin B1 (IO / D IFFIO_L2n) connection; Pin 9 (DOUT4-) and Pin 10 (DOUT4+) on the differential signal driver chip SN65LVDS047D are respectively connected to Pin 3 and Pin 4 of the pin header board P5, Pin 11 (DOUT3+) and Pin 12 (DOUT3-) are respectively connected to Pin 4 and Pin 3 of the pin header board P6, Pin 13 (DOUT2-) and Pin 14 (DOUT2+) are respectively connected to Pin 3 and Pin 4 of the pin header board P7, Pin 15 (DOUT1+) and Pin 16 (DOUT1-) are respectively connected to Pin 10 and Pin 11 of the pin header board P6. Connected to pins 4 and 3 of the pin header board P8; pins 5, 6, 7, and 8 on the pin header board P5 are respectively connected to pins 5 (RIN3-), 6 (RIN3+), 7 (RIN4+), and 8 (RIN4-) on the first differential signal receiving chip SN65LVDS048ADR; pins 5, 6, 7, and 8 on the pin header board P6 are respectively connected to pins 1 (RIN1-), 2 (RIN1+), 3 (RIN2+), 4 (RIN4-) on the first differential signal receiving chip SN65LVDS048ADR. Pin (RIN2-); Pins 5, 6, 7, and 8 on the pin header board P7 are respectively connected to pin 5 (RIN3-), pin 6 (RIN3+), pin 7 (RIN4+), and pin 8 (RIN4-) on the second differential signal receiving chip SN65LVDS048ADR; Pins 5, 6, 7, and 8 on the pin header board P8 are respectively connected to pin 1 (RIN1-), pin 2 (RIN1+), pin 3 (RIN2+), and pin 4 (RIN2-) on the second differential signal receiving chip SN65LVDS048ADR;Pins 15 (ROUT1), 14 (ROUT2), 11 (ROUT3), and 10 (ROUT4) on the second differential signal receiving chip SN65LVDS048ADR, and pins 15 (ROUT1), 14 (ROUT2), 11 (ROUT3), and 10 (ROUT4) on the first differential signal receiving chip SN65LVDS048ADR are connected in sequence to pins G5 (IO / VREFB1NO), E4 (IO / DIFFIO_L3p / nRESET), E Pin 3 (IO / DIFFIO_L3n), pin C2 (IO / DIFFIO_L4p), pin C1 (IO / DIFFIO_L4n), pin D2 (IO / DIFFIO_L5p), pin D1 (IO / DIFFIO_L5n / DATA1 / ASDO), pin H7 (IO); resistors R5, R6, R7, R8, R9, R10, R11, and R12 are respectively connected between each differential signal on the first differential signal receiving chip SN65LVDS048ADR and the second differential signal receiving chip SN65LVDS048ADR. ;
[0011] Furthermore, the spray valve driving board interface module and the LED board interface module each include a resistor, a capacitor and two differential signal driving chips SN65LVDS047D;
[0012] Among them, pins 9 (DOUT4-), 10 (DOUT4+), 11 (DOUT3+), 12 (DOUT3-), 13 (DOUT2-), 14 (DOUT2+), 15 (DOUT1+), and 16 (DOUT1-) of the differential signal driver chip SN65LVDS047D in the spray valve drive board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the needle board P1; pins 9 and 10 on the needle board P1 are connected to the ground in parallel; the differential signal driver chip SN65LVDS047D in the spray valve drive board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the driving chip SN65LVDS047D are respectively connected to pin J7 (IO / DIFFIO_L11p), pin K7 (IO / DIFFIO_L11n), pin J4 (IO / DIFFIO_L12p), and pin H2 (IO / DIFFIO_L12n) on the FPGA module; a capacitor C1 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the differential signal driving chip SN65LVDS047D in the spray valve driving board interface module, and a resistor R1 is connected in parallel to pin 2 (DIN1);
[0013] Pins 9 (DOUT4-), 10 (DOUT4+), 11 (DOUT3+), 12 (DOUT3-), 13 (DOUT2-), 14 (DOUT2+), 15 (DOUT1+), and 16 (DOUT1-) of the second differential signal driver chip SN65LVDS047D in the spray valve drive board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P2; pins 9 and 10 on the pin header board P2 are connected to the ground in parallel; the second differential signal driver chip SN65LVDS047D in the spray valve drive board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the chip SN65LVDS047D are respectively connected to pin H1 (IO / DIFFIO_L13n), pin J3 (IO / DIFFIO_L14n), pin J2 (IO / DIFFIO_L15p), and pin J1 (IO / DIFFIO_L15n) on the FPGA module; a capacitor C2 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the second differential signal driver chip SN65LVDS047D in the spray valve driver board interface module, and a resistor R2 is connected in parallel to pin 2 (DIN1);
[0014] Pin 9 (DOUT4-), pin 10 (DOUT4+), pin 11 (DOUT3+), pin 12 (DOUT3-), pin 13 (DOUT2-), pin 14 (DOUT2+), pin 15 (DOUT1+), and pin 16 (DOUT1-) of the first differential signal driver chip SN65LVDS047D in the LED board interface module are respectively connected to pin 8, pin 7, pin 6, pin 5, pin 4, pin 3, pin 2, and pin 1 on the pin header board P3; pin 9 and pin 10 on the pin header board P3 are connected to the ground in parallel; the first differential signal driver chip SN65LVDS047D in the LED board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the first differential signal driver chip SN65LVDS047D are respectively connected to pin L6 (IO / DIFFIO_L16p), pin M6 (IO / DIFFIO_L16n), pin M2 (IO / DIFFIO_L17p), and pin M1 (IO / DIFFIO_L17n) on the FPGA module; a capacitor C3 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the first differential signal driver chip SN65LVDS047D in the LED board interface module, and a resistor R3 is connected in parallel to pin 2 (DIN1);
[0015] Pins 9 (DOUT4-), 10 (DOUT4+), 11 (DOUT3+), 12 (DOUT3-), 13 (DOUT2-), 14 (DOUT2+), 15 (DOUT1+), and 16 (DOUT1-) of the second differential signal driver chip SN65LVDS047D in the LED board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P4; pins 9 and 10 on the pin header board P4 are connected to the ground in parallel; the second differential signal driver chip SN65LVDS047D in the LED board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the SN65LVDS047D chip are respectively connected to pin M4 (IO / DIFFIO_L18p), pin M3 (IO / DIFFIO_L18n), pin N2 (IO / DIFFIO_L19p), and pin N1 (IO / DIFFIO_L19n) on the FPGA module; a capacitor C4 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the second differential signal driver chip SN65LVDS047D in the LED board interface module, and a resistor R4 is connected in parallel with pin 2 (DIN1).
[0016] Furthermore, the DC power supply module includes two AMS1117-3.3 voltage regulator chips, one AMS1117-2.5 voltage regulator chip and one ADP1715ARMZ-R7 voltage regulator chip; the two AMS1117-3.3 voltage regulator chips output two 3.3V voltages, 3.3C and 3.3D, respectively, to power the LED board interface module and the FPGA module respectively; the AMS1117-2.5 voltage regulator chip outputs a 2.5V voltage; and the ADP1715ARMZ-R7 outputs a 1.2V voltage.
[0017] The beneficial effects that the utility model can achieve are:
[0018] 1. The utility model uses the FPGA module as a connection bridge between the upper computer and the lower computer, so that multiple modules in the lower computer can be centrally connected to the FPGA module, and then connected to the upper computer through a single FPGA module. In this way, it not only overcomes the defect that the upper computer has fewer interfaces and cannot meet the direct connection of more modules, but also makes the connection between the circuit boards of each module clearer, simplifying the wiring process.
[0019] 2. The utility model associates the DC power module, the spray valve drive board interface module, the RS485 module, and the camera board interface module program respectively through the indicator light module, and then flashes continuously to prompt whether the power supply and the data interaction transmission between the modules are normal. If the color sorter equipment fails, the faulty module can be quickly found and located by observing the on and off of the LED display light or the LED board, which is convenient for maintenance personnel to quickly repair and ensure production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a schematic diagram of the system of the utility model Figure 1 ;
[0021] Figure 2 This is a schematic diagram of the system of the utility model Figure 2 ;
[0022] Figure 3 It is the circuit schematic diagram of the FPGA module in the utility model;
[0023] Figure 4 This is the circuit schematic diagram of the indicator light module in the utility model;
[0024] Figure 5 It is the circuit schematic diagram of RS485 module in the utility model;
[0025] Figure 6 This is the circuit principle diagram of the interface module of the middle spray valve drive board of the utility model;
[0026] Figure 7 This is the circuit schematic diagram of the LED board interface module in the utility model;
[0027] Figure 8 This is the circuit schematic diagram of the phase board interface module in the utility model;
[0028] Fig. 9 It is a circuit schematic diagram of a DC power supply module in the utility model. DETAILED DESCRIPTION
[0029] The following is attached to the instruction manual Figure 1-8 The embodiments of the utility model are further described.
[0030] like Figure 1-Figure 3As shown, a color sorter interface board system includes: a host computer and an FPGA module, wherein the host computer is connected to the FPGA module via an RS485 module, wherein the data input pin (R), the enable pin (DE), and the data output pin (D) of the RS485 module are respectively connected to the H4 pin (IO / DIFFIO_L7p), the E2 pin (IO / DIFFIO_L8p / FLASH_nCE / nCSO), and the H3 pin (IO / DIFFIO_L7n) of the FPGA module; the host computer is used to receive and analyze the image data sent back by the FPGA module, and analyze the image data by an image recognition algorithm to obtain the location data of the bad material and transmit it to the FPGA module; the FPGA module is also respectively connected to the LED board interface module, the camera board interface module, the DC power supply module, the spray valve drive board interface module, and the indicator light module;
[0031] The LED board interface module sends the command received by the FPGA module to the LED board to make it light up to indicate whether the working status of the spray valve is normal; the indicator light module is used to display whether the power supply is normal and whether the data transmission between the FPGA module, each interface module and the host computer is normal; the indicator light module includes 5 groups of LED display lights D5, D4, D3, D2, and D1, and the 5 groups of LED display lights are respectively connected to the P3 pin (IO / DIFFIO_L23n), U2 pin (IO / DIFFIO_L24p), U1 pin (IO / DIFFIO_L24n), V2 pin (IO / DIFFIO_L25p), and V1 pin (IO / DIFFIO_L25n) of the FPGA module;
[0032] The clock pin (CLK12 / DIFFCLK_7n) on the FPGA module is connected to the data output pin (OUT) on the crystal oscillator module, and the crystal oscillator module provides a stable time reference signal for the entire color sorter interface board system.
[0033] The FPGA module includes an FPGA chip, and the FPGA chip is EP4CE55F23C8N. Verilog HDL programming is used to process data, and data is received and sent through the IO port. The FPGA module is used to build a connection bridge between the upper computer and the modules of the lower computer, so that multiple modules of the lower computer can be connected to the FPGA module, and then the upper computer controls the modules of the lower computer through the connection communication between the FPGA module and the upper computer.
[0034] Among them, the control instructions of the host computer are sent to the FPGA module through the RS485 module. Under the time reference provided by the crystal oscillator module, the FPGA module sends the control signal to the LED board, camera board and spray valve driver board through the LED board interface module and camera board interface module connected to the FPGA module, so that the LED board can be powered on to light up to indicate whether the working status of the spray valve is normal. The camera board can control the camera to take clear material photos under the illumination of the LED board. The material photos will be sent back to the FPGA module and the host computer in the form of image data by the camera board. The host computer uses the image analysis algorithm to distinguish the quality of the material and sends the location information of the bad material to the FPGA module. The FPGA module sends the control signal to the spray valve driver board through the spray valve driver board interface module. The spray valve driver board controls the nozzle to open and blow away the bad material, thereby realizing the color sorting of the material.
[0035] At the same time, since the five LED display lights D5, D4, D3, D2, and D1 in the indicator light module are respectively associated with the LED board interface module, the camera board interface module, the DC power supply module, the spray valve drive board interface module, and the indicator light module program, when the power supply is normal and each time information is transmitted between modules, the LED display lights can continuously flash to prompt that the power supply and data transmission are in normal state. Conversely, if the LED display light corresponding to a module stops flashing, it means that the module has a fault, which makes it easy for maintenance personnel to quickly find the location of the fault and achieve rapid maintenance.
[0036] Therefore, the above-mentioned color sorter interface board system not only uses the FPGA module as a connection bridge between the upper computer and the lower computer, overcoming the disadvantage that the number of traditional upper computer interfaces is insufficient and multiple modules cannot be directly connected, but also avoids the use of adapters of different models, ensuring that the entire circuit board connection is clear and the wiring process is simplified; and the signal transmission and power supply of each module are monitored and prompted through the LED display light. By observing the flashing of the LED display light, the location of the fault can be quickly found, which is convenient for maintenance personnel to quickly carry out maintenance.
[0037] like Figure 4 As shown, the 5 groups of LED display lights D5, D4, D3, D2, and D1 are connected in parallel with each other, and each branch where the LED display lights are located is respectively connected in series with a resistor R20, R19, R18, R17, and R16. The LED display lights are respectively associated with the DC power supply module, the spray valve drive board interface module, the RS485 module, and the camera board interface module program, and continuously flash to indicate that the power supply and data exchange transmission are normal.
[0038] One end of the indicator light module is connected to the IO port of the PFGA module, and the other end is connected to the 3.3C voltage. Through the programming of the FPGA module, the LED indicator light flashes continuously when the power supply is normal and when the FPGA module interacts with other modules. It stops flashing when the power supply is abnormal or the data interaction is abnormal, so as to quickly locate the fault point. At the same time, a resistor is connected in series on each branch where the LED indicator light is located in order to protect the circuit and avoid excessive current from damaging the LED indicator light.
[0039] like Figure 5 As shown, the RS485 module includes a capacitor C20 and an RS485 chip SN65HVD33D; the two ends of the capacitor C20 are respectively connected to pin 13 (VCC) and pin 3 (RE#) on the RS485 chip SN65HVD3D.
[0040] The RS485 module serves as a signal transmission module between the FPGA module and the host computer. It can convert the signal sent from the host computer to the FPGA module and form a signal that the FPGA module can recognize and process, ensuring the normal control of the entire color sorter interface board system; at the same time, capacitor C20 can eliminate or reduce signal reflection, thereby avoiding signal distortion and interference, and ensuring the stability of signal transmission.
[0041] like Figure 6-Figure 7 As shown, the spray valve driving board interface module and the LED board interface module each include a resistor, a capacitor and two differential signal driving chips SN65LVDS047D;
[0042] Among them, pins 9 (DOUT4-), 10 (DOUT4+), 11 (DOUT3+), 12 (DOUT3-), 13 (DOUT2-), 14 (DOUT2+), 15 (DOUT1+), and 16 (DOUT1-) of the differential signal driver chip SN65LVDS047D in the spray valve drive board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the needle board P1; pins 9 and 10 on the needle board P1 are connected to the ground in parallel; the differential signal driver chip SN65LVDS047D in the spray valve drive board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the driving chip SN65LVDS047D are respectively connected to pin J7 (IO / DIFFIO_L11p), pin K7 (IO / DIFFIO_L11n), pin J4 (IO / DIFFIO_L12p), and pin H2 (IO / DIFFIO_L12n) on the FPGA module; a capacitor C1 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the differential signal driving chip SN65LVDS047D in the spray valve driving board interface module, and a resistor R1 is connected in parallel to pin 2 (DIN1);
[0043] Pins 9 (DOUT4-), 10 (DOUT4+), 11 (DOUT3+), 12 (DOUT3-), 13 (DOUT2-), 14 (DOUT2+), 15 (DOUT1+), and 16 (DOUT1-) of the second differential signal driver chip SN65LVDS047D in the spray valve drive board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P2; pins 9 and 10 on the pin header board P2 are connected to the ground in parallel; the second differential signal driver chip SN65LVDS047D in the spray valve drive board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the chip SN65LVDS047D are respectively connected to pin H1 (IO / DIFFIO_L13n), pin J3 (IO / DIFFIO_L14n), pin J2 (IO / DIFFIO_L15p), and pin J1 (IO / DIFFIO_L15n) on the FPGA module; a capacitor C2 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the second differential signal driver chip SN65LVDS047D in the spray valve driver board interface module, and a resistor R2 is connected in parallel to pin 2 (DIN1);
[0044] Pin 9 (DOUT4-), pin 10 (DOUT4+), pin 11 (DOUT3+), pin 12 (DOUT3-), pin 13 (DOUT2-), pin 14 (DOUT2+), pin 15 (DOUT1+), and pin 16 (DOUT1-) of the first differential signal driver chip SN65LVDS047D in the LED board interface module are respectively connected to pin 8, pin 7, pin 6, pin 5, pin 4, pin 3, pin 2, and pin 1 on the pin header board P3; pin 9 and pin 10 on the pin header board P3 are connected to the ground in parallel; the first differential signal driver chip SN65LVDS047D in the LED board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the first differential signal driver chip SN65LVDS047D are respectively connected to pin L6 (IO / DIFFIO_L16p), pin M6 (IO / DIFFIO_L16n), pin M2 (IO / DIFFIO_L17p), and pin M1 (IO / DIFFIO_L17n) on the FPGA module; a capacitor C3 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the first differential signal driver chip SN65LVDS047D in the LED board interface module, and a resistor R3 is connected in parallel to pin 2 (DIN1);
[0045] Pins 9 (DOUT4-), 10 (DOUT4+), 11 (DOUT3+), 12 (DOUT3-), 13 (DOUT2-), 14 (DOUT2+), 15 (DOUT1+), and 16 (DOUT1-) of the second differential signal driver chip SN65LVDS047D in the LED board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P4; pins 9 and 10 on the pin header board P4 are connected to the ground in parallel; the second differential signal driver chip SN65LVDS047D in the LED board interface module is ... Pin 2 (DIN1), pin 3 (DIN2), pin 6 (DIN3), and pin 7 (DIN4) of the SN65LVDS047D chip are respectively connected to pin M4 (IO / DIFFIO_L18p), pin M3 (IO / DIFFIO_L18n), pin N2 (IO / DIFFIO_L19p), and pin N1 (IO / DIFFIO_L19n) on the FPGA module; a capacitor C4 is connected in parallel between pin 4 (VCC) and pin 5 (GND) on the second differential signal driver chip SN65LVDS047D in the LED board interface module, and a resistor R4 is connected in parallel with pin 2 (DIN1).
[0046] like Figure 8As shown, the camera board interface module includes two differential signal receiving chips SN65LVDS048ADR and a differential signal driving chip SN65LVDS047D; pin 7 (DIN4), pin 6 (DIN3), pin 3 (DIN2), and pin 2 (DIN1) on the differential signal driving chip SN65LVDS047D are respectively connected to pin G4 (IO / DIFFIO_L1p), pin G3 (IO / DIFFIO_L1n), pin B2 (IO / DIFFIO_L2p), and pin B1 (IO / DI FFIO_L2n) connection; Pin 9 (DOUT4-) and Pin 10 (DOUT4+) on the differential signal driver chip SN65LVDS047D are respectively connected to Pin 3 and Pin 4 of the pin header board P5, Pin 11 (DOUT3+) and Pin 12 (DOUT3-) are respectively connected to Pin 4 and Pin 3 of the pin header board P6, Pin 13 (DOUT2-) and Pin 14 (DOUT2+) are respectively connected to Pin 3 and Pin 4 of the pin header board P7, Pin 15 (DOUT1+) and Pin 16 (DOUT1-) are respectively connected to Pin 10 and Pin 11 of the pin header board P6. On pins 4 and 3 of the pin header board P8; pins 5, 6, 7, and 8 on the pin header board P5 are respectively connected to pins 5 (RIN3-), 6 (RIN3+), 7 (RIN4+), and 8 (RIN4-) on the first differential signal receiving chip SN65LVDS048ADR; pins 5, 6, 7, and 8 on the pin header board P6 are respectively connected to pins 1 (RIN1-), 2 (RIN1+), 3 (RIN2+), 4 (RIN4-) on the first differential signal receiving chip SN65LVDS048ADR. Pin (RIN2-); Pins 5, 6, 7, and 8 on the pin header board P7 are respectively connected to Pin 5 (RIN3-), Pin 6 (RIN3+), Pin 7 (RIN4+), and Pin 8 (RIN4-) on the second differential signal receiving chip SN65LVDS048ADR; Pins 5, 6, 7, and 8 on the pin header board P8 are respectively connected to Pin 1 (RIN1-), Pin 2 (RIN1+), Pin 3 (RIN2+), and Pin 4 (RIN2-) on the second differential signal receiving chip SN65LVDS048ADR;Pins 15 (ROUT1), 14 (ROUT2), 11 (ROUT3), and 10 (ROUT4) on the second differential signal receiving chip SN65LVDS048ADR, and pins 15 (ROUT1), 14 (ROUT2), 11 (ROUT3), and 10 (ROUT4) on the first differential signal receiving chip SN65LVDS048ADR are connected in sequence to pins G5 (IO / VREFB1NO), E4 (IO / DIFFIO_L3p / nRESET), E Pin 3 (IO / DIFFIO_L3n), pin C2 (IO / DIFFIO_L4p), pin C1 (IO / DIFFIO_L4n), pin D2 (IO / DIFFIO_L5p), pin D1 (IO / DIFFIO_L5n / DATA1 / ASDO), pin H7 (IO); resistors R5, R6, R7, R8, R9, R10, R11, and R12 are respectively connected between each differential signal on the first differential signal receiving chip SN65LVDS048ADR and the second differential signal receiving chip SN65LVDS048ADR. ;
[0047] like Fig. 9 As shown, the DC power supply module includes two AMS1117-3.3 voltage regulator chips, one AMS1117-2.5 voltage regulator chip and one ADP1715ARMZ-R7 voltage regulator chip; the two AMS1117-3.3 voltage regulator chips output two 3.3V voltages, 3.3C and 3.3D, respectively, to power the LED board interface module and the FPGA module respectively; the AMS1117-2.5 voltage regulator chip outputs a 2.5V voltage; the ADP1715ARMZ-R7 outputs a 1.2V voltage to meet the different power requirements of different modules.
[0048] Working principle: When the system starts running, the command sent by the host computer is converted into a signal that can be processed by the FPGA module through the RS485 module and enters the FPGA module. The FPGA module sends the control signal to the camera board through the differential signal driver chip SN65LVDS047D according to the command of the host computer. The camera board controls the camera to take pictures of the material. After the photo is taken, the camera board sends the image data collected by the camera to the camera board interface module through the differential signal receiving chip SN65LVDS048 through the camera board interface module, and then transmits it to the FPGA module through the camera board interface module. The FPGA module converts the image data through the RS485 module and sends it to the host computer;
[0049] After receiving the image data sent back by the FPGA module, the host computer calculates and processes the image according to the pre-set parameters, identifies the bad materials mixed in the material and their locations, and then transmits the location information to the FPGA module through the RS485 module. The FPGA module then sends the control command to the spray valve driver board through the differential signal driver chip SN65LVDS047. The spray valve driver board controls the nozzle to open, and then blows away the bad materials, thereby screening the materials in time.
[0050] Therefore, the color sorter interface board system can prompt in real time whether the current data interaction is abnormal through the LED display light on the one hand, and can also realize the function of screening bad materials on the premise of ensuring simpler and clearer circuit board connections after concentrating the interfaces of each module through the FPGA module on the other hand.
[0051] The above shows and describes the basic principle, main features and advantages of the utility model. Those skilled in the art should understand that the utility model is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principle of the utility model. Without departing from the spirit and scope of the utility model, the utility model may have various changes and improvements, and these changes and improvements fall within the scope of the utility model to be protected.
Claims
1. A color sorter interface board system, characterized in that: include: A host computer and an FPGA module, wherein the host computer is connected to the FPGA module via an RS485 module, wherein the data input pin R, the enable pin DE, and the data output pin D of the RS485 module are respectively connected to the H4 pin IO / DIFFIO_L7p, the E2 pin IO / DIFFIO_L8p / FLASH_nCE / nCSO, and the H3 pin IO / DIFFIO_L7n of the FPGA module; the host computer is used to receive and analyze the image data sent back by the FPGA module, and analyze the image data through an image recognition algorithm to obtain the location data of the bad material and transmit it to the FPGA module; the FPGA module is also respectively connected to an LED board interface module, a camera board interface module, a DC power supply module, a spray valve drive board interface module, and an indicator light module; The LED board interface module sends the command received by the FPGA module to the LED board to make it light up to indicate whether the working status of the spray valve is normal; the indicator light module is used to indicate whether the power supply and the data transmission between the FPGA module, each interface module and the host computer are normal; the indicator light module includes 5 groups of LED display lights D5, D4, D3, D2, and D1, and the 5 groups of LED display lights are respectively connected to the P3 pin IO / DIFFIO_L23n, U2 pin IO / DIFFIO_L24p, U1 pin IO / DIFFIO_L24n, V2 pin IO / DIFFIO_L25p, and V1 pin IO / DIFFIO_L25n of the FPGA module; The clock pin CLK12 / DIFFCLK_7n on the FPGA module is connected to the data output pin OUT on the crystal oscillator module, and the crystal oscillator module provides a stable time reference signal for the entire color sorter interface board system; The FPGA module includes an FPGA chip, and the FPGA chip is EP4CE55F23C8N.
2. A color sorter interface board system according to claim 1, characterized in that: The 5 groups of LED display lights D1, D2, D3, D4, and D5 are connected in parallel with each other, and each branch where the LED display lights are located is respectively connected in series with a resistor R16, R17, R18, R19, and R20. The LED display lights are respectively associated with the DC power supply module, the spray valve drive board interface module, the RS485 module, and the camera board interface module program.
3. A color sorter interface board system according to claim 1, characterized in that: The RS485 module includes a capacitor C20 and an RS485 chip SN65HVD33D; two ends of the capacitor C20 are respectively connected to pin 13 VCC and pin 3 RE# on the RS485 chip SN65HVD33.
4. A color sorter interface board system according to claim 1, characterized in that: The camera board interface module includes two differential signal receiving chips SN65LVDS048ADR and a differential signal driving chip SN65LVDS047D; the No. 7 pin DIN4, No. 6 pin DIN3, No. 3 pin DIN2, and No. 2 pin DIN1 on the differential signal driving chip SN65LVDS047D are respectively connected to the No. G4 pin IO / DIFFIO_L1p, No. G3 pin IO / DIFFIO_L1n, No. B2 pin IO / DIFFIO_L2p, No. B1 pin IO / DIFFIO_L2n on the FPGA module. IFFIO_L2n connection; Pin 9 DOUT4- and Pin 10 DOUT4+ on the differential signal driver chip SN65LVDS047D are respectively connected to Pin 3 and Pin 4 of the pin header board P5, Pin 11 DOUT3+ and Pin 12 DOUT3- are respectively connected to Pin 4 and Pin 3 of the pin header board P6, Pin 13 DOUT2- and Pin 14 DOUT2+ are respectively connected to Pin 3 and Pin 4 of the pin header board P7, Pin 15 DOUT1+ and Pin 16 DOUT1- are respectively connected to Pin 1 and Pin 1 of the pin header board P8. Connected to pins 4 and 3 of the pin header board P8; pins 5, 6, 7, and 8 on the pin header board P5 are respectively connected to pin 5 RIN3-, pin 6 RIN3+, pin 7 RIN4+, and pin 8 RIN4- on the first differential signal receiving chip SN65LVDS048ADR; pins 5, 6, 7, and 8 on the pin header board P6 are respectively connected to pin 1 RIN1-, pin 2 RIN1+, and pin 3 RIN2+ on the first differential signal receiving chip SN65LVDS048ADR. , pin 4 RIN2-; pins 5, 6, 7, and 8 on the pin header board P7 are respectively connected to pin 5 RIN3-, pin 6 RIN3+, pin 7 RIN4+, and pin 8 RIN4- on the second differential signal receiving chip SN65LVDS048ADR; pins 5, 6, 7, and 8 on the pin header board P8 are respectively connected to pin 1 RIN1-, pin 2 RIN1+, pin 3 RIN2+, and pin 4 RIN2- on the second differential signal receiving chip SN65LVDS048ADR;The No. 15 pin ROUT1, No. 14 pin ROUT2, No. 11 pin ROUT3, No. 10 pin ROUT4 on the No. 2 differential signal receiving chip SN65LVDS048ADR and the No. 15 pin ROUT1, No. 14 pin ROUT2, No. 11 pin ROUT3, No. 10 pin ROUT4 on the No. 1 differential signal receiving chip SN65LVDS048ADR are connected to the No. G5 pin IO / VREFB1NO, No. E4 pin IO / DIFFIO_L3p / nRESET, No. E3 pin I O / DIFFIO_L3n, C2 pin IO / DIFFIO_L4p, C1 pin IO / DIFFIO_L4n, D2 pin IO / DIFFIO_L5p, D1 pin IO / DIFFIO_L5n / DATA1 / ASDO, H7 pin (IO); resistors R5, R6, R7, R8, R9, R10, R11, and R12 are respectively connected between each differential signal on the first differential signal receiving chip SN65LVDS048ADR and the second differential signal receiving chip SN65LVDS048ADR. ; 5. A color sorter interface board system according to claim 1, characterized in that: The spray valve driving board interface module and the LED board interface module each include a resistor, a capacitor and two differential signal driving chips SN65LVDS047D; Among them, pin 9 DOUT4-, pin 10 DOUT4+, pin 11 DOUT3+, pin 12 DOUT3-, pin 13 DOUT2-, pin 14 DOUT2+, pin 15 DOUT1+, and pin 16 DOUT1- of the first differential signal driver chip SN65LVDS047D in the spray valve drive board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P1; pins 9 and 10 on the pin header board P1 are connected to the ground in parallel; the first differential signal driver chip SN65LVDS047D in the spray valve drive board interface module is ... Pin 2 DIN1, pin 3 DIN2, pin 6 DIN3, and pin 7 DIN4 of the signal driver chip SN65LVDS047D are respectively connected to pin IO / DIFFIO_L11p, pin IO / DIFFIO_L11n, pin IO / DIFFIO_L12p, and pin IO / DIFFIO_L12n of J7 on the FPGA module; a capacitor C1 is connected in parallel between pin 4 VCC and pin 5 GND on the differential signal driver chip SN65LVDS047D in the spray valve driver board interface module, and a resistor R1 is connected in parallel to pin 2 DIN1; Pin 9 DOUT4-, pin 10 DOUT4+, pin 11 DOUT3+, pin 12 DOUT3-, pin 13 DOUT2-, pin 14 DOUT2+, pin 15 DOUT1+, and pin 16 DOUT1- of the second differential signal driver chip SN65LVDS047D in the spray valve drive board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P2; pins 9 and 10 on the pin header board P2 are connected to the ground in parallel; the second differential signal driver chip SN65LVDS047D in the spray valve drive board interface module is ... Pin 2 DIN1, pin 3 DIN2, pin 6 DIN3, and pin 7 DIN4 of the No. 2 driver chip SN65LVDS047D are respectively connected to pin IO / DIFFIO_L13n, pin IO / DIFFIO_L14n, pin IO / DIFFIO_L15p, and pin IO / DIFFIO_L15n of H1 on the FPGA module; a capacitor C2 is connected in parallel between pin 4 VCC and pin 5 GND on the No. 2 differential signal driver chip SN65LVDS047D in the spray valve drive board interface module, and a resistor R2 is connected in parallel to pin 2 DIN1; Pin 9 DOUT4-, pin 10 DOUT4+, pin 11 DOUT3+, pin 12 DOUT3-, pin 13 DOUT2-, pin 14 DOUT2+, pin 15 DOUT1+, and pin 16 DOUT1- of the No. 1 differential signal driver chip SN65LVDS047D in the LED board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P3; pins 9 and 10 on the pin header board P3 are connected to the ground in parallel; the No. 1 differential signal in the LED board interface module Pin 2 DIN1, pin 3 DIN2, pin 6 DIN3, and pin 7 DIN4 of the driver chip SN65LVDS047D are respectively connected to pin L6 IO / DIFFIO_L16p, pin M6 IO / DIFFIO_L16n, pin M2 IO / DIFFIO_L17p, and pin M1 IO / DIFFIO_L17n on the FPGA module; a capacitor C3 is connected in parallel between pin 4 VCC and pin 5 GND on the first differential signal driver chip SN65LVDS047D in the LED board interface module, and a resistor R3 is connected in parallel to pin 2 DIN1; Pin 9 DOUT4-, pin 10 DOUT4+, pin 11 DOUT3+, pin 12 DOUT3-, pin 13 DOUT2-, pin 14 DOUT2+, pin 15 DOUT1+, and pin 16 DOUT1- of the second differential signal driver chip SN65LVDS047D in the LED board interface module are respectively connected to pins 8, 7, 6, 5, 4, 3, 2, and 1 on the pin header board P4; pins 9 and 10 on the pin header board P4 are connected to the ground in parallel; the second differential signal driver chip SN65LVDS047D in the LED board interface module is ... Pin 2 DIN1, pin 3 DIN2, pin 6 DIN3, and pin 7 DIN4 of the driver chip SN65LVDS047D are respectively connected to pin M4 IO / DIFFIO_L18p, pin M3 IO / DIFFIO_L18n, pin N2 IO / DIFFIO_L19p, and pin N1 IO / DIFFIO_L19n on the FPGA module; a capacitor C4 is connected in parallel between pin 4 VCC and pin 5 GND on the second differential signal driver chip SN65LVDS047D in the LED board interface module, and a resistor R4 is connected in parallel to pin 2 DIN1.
6. A color sorter interface board system according to claim 1, characterized in that: The DC power supply module includes two AMS1117-3.3 voltage regulator chips, one AMS1117-2.5 voltage regulator chip and one ADP1715ARMZ-R7 voltage regulator chip; the two AMS1117-3.3 voltage regulator chips output two 3.3V voltages, 3.3C and 3.3D, respectively, to power the LED board interface module and the FPGA module respectively; the AMS1117-2.5 voltage regulator chip outputs a 2.5V voltage; the ADP1715ARMZ-R7 outputs a 1.2V voltage.
