CN209356612U - A test device for a four-port sensor signal splitter with LEDs - Google Patents
A test device for a four-port sensor signal splitter with LEDs Download PDFInfo
- Publication number
- CN209356612U CN209356612U CN201821892639.5U CN201821892639U CN209356612U CN 209356612 U CN209356612 U CN 209356612U CN 201821892639 U CN201821892639 U CN 201821892639U CN 209356612 U CN209356612 U CN 209356612U
- Authority
- CN
- China
- Prior art keywords
- pin
- chip
- connect
- interface
- test
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 128
- 238000006243 chemical reaction Methods 0.000 claims abstract description 22
- 230000008878 coupling Effects 0.000 claims abstract 29
- 238000010168 coupling process Methods 0.000 claims abstract 29
- 238000005859 coupling reaction Methods 0.000 claims abstract 29
- 239000003990 capacitor Substances 0.000 claims description 45
- 238000004146 energy storage Methods 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 2
- 230000005611 electricity Effects 0.000 claims 5
- 238000005868 electrolysis reaction Methods 0.000 claims 2
- 239000004973 liquid crystal related substance Substances 0.000 description 17
- 238000010586 diagram Methods 0.000 description 15
- 238000005259 measurement Methods 0.000 description 11
- 230000002457 bidirectional effect Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000011056 performance test Methods 0.000 description 2
- 238000003466 welding Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Landscapes
- Electronic Switches (AREA)
Abstract
Description
技术领域technical field
本实用新型涉及信号线束生产和维修领域,尤其是涉及一种带LED的四端口传感器信号分线器的测试装置。The utility model relates to the field of signal wiring harness production and maintenance, in particular to a testing device for a four-port sensor signal splitter with LEDs.
背景技术Background technique
现有技术用万用表、蜂鸣器或指示灯用手工逐点搭接,观察是否有电、声或光信号来判断带LED的四端口传感器信号分线器的每条连接线的通断和LED指示故障的性能测试。The prior art uses a multimeter, a buzzer or an indicator light to manually overlap point by point, and observe whether there is an electric, sound or light signal to judge the on-off of each connecting line and the LED of the four-port sensor signal splitter with LED. A performance test that indicates a failure.
然而这样进行传感器信号分线器的性能测试不仅速度慢、效率低、测试人员易疲劳,而且易造成错检或漏检,另外,采用国外进口的信号线束检测仪价格昂贵,不便于普及。However, the performance test of the sensor signal splitter in this way is not only slow and inefficient, and the testers are prone to fatigue, but also easy to cause false detection or missed detection. In addition, the imported signal harness tester is expensive and not easy to popularize.
实用新型内容Utility model content
本实用新型的目的就是为了克服上述现有技术存在的缺陷而提供一种带LED 的四端口传感器信号分线器的测试装置。The purpose of this utility model is to provide a test device for a four-port sensor signal splitter with LEDs in order to overcome the above-mentioned defects in the prior art.
本实用新型的目的可以通过以下技术方案来实现:The purpose of this utility model can be achieved through the following technical solutions:
一种带LED的四端口传感器信号分线器的测试装置,该装置包括电源电路以及分别与电源电路连接的微控制器CPU、光耦继电器控制电路、测试点电压获取电路、CAN接口电路和触摸式液晶显示屏,所述的微控制器CPU通过数字输出端口、模数转换接口与光耦继电器控制电路、测试点电压获取电路连接,通过CAN 接口与CAN接口电路连接以及通过通用串行接口与触摸式液晶显示屏连接,所述的光耦继电器控制电路的第一控制信号输出端口、第二控制信号输出端口分别与所述的测试点电压获取电路的第一模拟开关芯片和第二模拟开关芯片的OUT/IN双向输入/输出端连接,所述的测试点电压获取电路的5个测试插座连接分别与被测带LED的四端口传感器信号分线器的总线接插头、第一端口接插头~第四端口接插头连接。A test device for a four-port sensor signal splitter with LEDs, the device includes a power circuit and a microcontroller CPU connected to the power circuit, an optocoupler relay control circuit, a test point voltage acquisition circuit, a CAN interface circuit and a touch Type liquid crystal display screen, described microcontroller CPU is connected with optocoupler relay control circuit, test point voltage acquisition circuit through digital output port, analog-to-digital conversion interface, is connected with CAN interface circuit through CAN interface and is connected with CAN interface circuit through general serial interface and The touch-type LCD screen is connected, the first control signal output port and the second control signal output port of the optocoupler relay control circuit are respectively connected with the first analog switch chip and the second analog switch chip of the test point voltage acquisition circuit The OUT/IN bidirectional input/output terminals of the chip are connected, and the 5 test sockets of the test point voltage acquisition circuit are respectively connected to the bus plug and the first port plug of the four-port sensor signal splitter with LEDs under test. ~ The fourth port is connected with a plug.
优选地,所述的电源电路包括电源输入插座、电源芯片、电源输入端滤波电容、电源输出端滤波电容、续流二极管、储能电感、+12V电源接口、+5V电源接口和 PGND接地端,所述的电源芯片的IN电源输入端与+12V电源接口和电源输入插座的V+信号端连接,电源接地端与所述PGND接地端和所述电源输入插座的V- 信号端连接,SHDN关断控制端与所述PGND接地端连接,FB反馈端与所述+5V 电源接口连接,SW输出端通过所述储能电感与所述+5V电源接口连接,所述的电源输入端滤波电容并联在所述电源输入插座的输出端,所述的电源输出端滤波电容的正极与所述+5V电源接口连接,负极与所述PGND接地端连接,所述的续流二极管的正极与所述PGND接地端连接,负极连接在所述电源芯片的SW输出端与所述储能电感之间,所述的+12V电源接口与所述光耦继电器控制电路连接,所述的+5V电源接口分别与所述微控制器CPU、所述光耦继电器控制电路、所述测试点电压获取电路、所述CAN接口电路和所述触摸式液晶显示屏连接,所述的PGND 接地端分别与所述微控制器CPU、所述光耦继电器控制电路、所述测试点电压获取电路、所述CAN接口电路和所述触摸式液晶显示屏的接地端连接并接地。Preferably, the power supply circuit includes a power input socket, a power chip, a power input filter capacitor, a power output filter capacitor, a freewheeling diode, an energy storage inductor, a +12V power interface, a +5V power interface, and a PGND ground terminal, The IN power input terminal of the power chip is connected to the +12V power interface and the V+ signal terminal of the power input socket, the power ground terminal is connected to the PGND ground terminal and the V- signal terminal of the power input socket, and the SHDN is turned off The control terminal is connected to the PGND ground terminal, the FB feedback terminal is connected to the +5V power supply interface, the SW output terminal is connected to the +5V power supply interface through the energy storage inductor, and the filter capacitor at the power supply input terminal is connected in parallel The output terminal of the power input socket, the positive pole of the filter capacitor at the power output terminal is connected to the +5V power supply interface, the negative pole is connected to the PGND ground terminal, and the positive pole of the freewheeling diode is grounded to the PGND terminal, the negative electrode is connected between the SW output terminal of the power chip and the energy storage inductor, the +12V power interface is connected to the optocoupler relay control circuit, and the +5V power interface is connected to the The microcontroller CPU, the optocoupler relay control circuit, the test point voltage acquisition circuit, the CAN interface circuit are connected to the touch-screen liquid crystal display, and the PGND ground terminals are respectively connected to the microcontroller The CPU, the optocoupler relay control circuit, the test point voltage acquisition circuit, the CAN interface circuit and the ground terminal of the touch-type liquid crystal display are connected and grounded.
优选地,所述的光耦继电器控制电路包括第一光耦继电器芯片、第二光耦继电器芯片、第三光耦继电器芯片、第四光耦继电器芯片、第一限流电阻、第二限流电阻、第三限流电阻、第四限流电阻、第一上拉电阻、第二上拉电阻、第一下拉电阻、第二下拉电阻、第一控制信号输出端口、第二控制信号输出端口,所述的第一光耦继电器芯片~第四光耦继电器芯片的2脚分别与所述微控制器CPU的4个数字输出端口连接,所述的第一光耦继电器芯片的4脚和所述的第二光耦继电器芯片的3 脚连接后再与所述第一控制信号输出端口连接,所述的第三光耦继电器芯片的4 脚和所述的第四光耦继电器芯片的3脚连接后再与所述第二控制信号输出端口连接,所述的第一限流电阻的1#引脚和2#引脚分别与所述+5V电源接口和所述第一光耦继电器芯片的1脚连接,所述的第二限流电阻的1#引脚和2#引脚分别与所述 +5V电源接口和所述第二光耦继电器芯片的1脚连接,所述的第三限流电阻的1# 引脚和2#引脚分别与所述+5V电源接口和所述第三光耦继电器芯片的1脚连接,所述的第四限流电阻的1#引脚和2#引脚分别与所述+5V电源接口和所述第四光耦继电器芯片的1脚连接,所述的第一上拉电阻的1#引脚和2#引脚分别与所述+12V 电源接口和所述第一光耦继电器芯片的3脚连接,所述的第二上拉电阻的1#引脚和2#引脚分别与所述+12V电源接口和所述第三光耦继电器芯片的3脚连接,所述的第一下拉电阻的1#引脚和2#引脚分别与所述第二光耦继电器芯片的4脚和所述 PGND接地端连接,所述的第二下拉电阻的1#引脚和2#引脚分别与所述第四光耦继电器芯片的4脚和所述PGND接地端连接。Preferably, the optocoupler relay control circuit includes a first optocoupler relay chip, a second optocoupler relay chip, a third optocoupler relay chip, a fourth optocoupler relay chip, a first current limiting resistor, a second current limiting Resistor, third current limiting resistor, fourth current limiting resistor, first pull-up resistor, second pull-up resistor, first pull-down resistor, second pull-down resistor, first control signal output port, second control signal output port , the 2 pins of the first optocoupler relay chip to the fourth optocoupler relay chip are respectively connected to the 4 digital output ports of the microcontroller CPU, the 4 pins of the first optocoupler relay chip are connected to the The 3 pins of the second optocoupler relay chip are connected and then connected with the first control signal output port, the 4 pins of the third optocoupler relay chip and the 3 pins of the fourth optocoupler relay chip After being connected, it is connected to the second control signal output port, and the 1# pin and 2# pin of the first current limiting resistor are connected to the +5V power supply interface and the first optocoupler relay chip respectively. 1 pin connection, the 1# pin and 2# pin of the second current limiting resistor are respectively connected to the +5V power supply interface and the 1 pin of the second optocoupler relay chip, and the third limiting resistor The 1# pin and 2# pin of the flow resistance are respectively connected with the 1 pin of the +5V power supply interface and the third optocoupler relay chip, and the 1# pin and 2# of the fourth current limiting resistor The pins are respectively connected to the +5V power supply interface and pin 1 of the fourth optocoupler relay chip, and the 1# pin and 2# pin of the first pull-up resistor are respectively connected to the +12V power supply interface Connect with pin 3 of the first optocoupler relay chip, the 1# pin and 2# pin of the second pull-up resistor are respectively connected to the +12V power supply interface and the third optocoupler relay chip 3-pin connection, the 1# pin and 2# pin of the first pull-down resistor are respectively connected to the 4-pin of the second optocoupler relay chip and the PGND ground terminal, and the second pull-down resistor The 1# pin and the 2# pin are respectively connected to the 4th pin of the fourth optocoupler relay chip and the PGND ground terminal.
优选地,所述的测试点电压获取电路包括第一模拟开关芯片、第二模拟开关芯片、第一滤波电容、第二滤波电容、总线测试插座、第一测试插座、第二测试插座、第三测试插座、第四测试插座,所述的第一模拟开关芯片的VDD电源端和VSS 接地端分别与所述+5V电源接口和所述PGND接地端连接,A地址端~C地址端、 INHIBIT控制端分别与所述微控制器CPU的4个数字输出端口连接,D地址端与所述PGND接地端连接,OUT/IN双向输入/输出端与所述光耦继电器控制电路的第一控制信号输出端口和所述微控制器CPU的1个模数转换接口连接,所述的第二模拟开关芯片的VDD电源端和VSS接地端分别与所述的+5V电源接口和所述 PGND接地端连接,A地址端~D地址端、INHIBIT控制端分别与所述微控制器 CPU的5个数字输出端口连接,OUT/IN双向输入/输出端与所述光耦继电器控制电路的第二控制信号输出端口和所述微控制器CPU的1个模数转换接口连接,所述的第一滤波电容的1#引脚和2#引脚分别与所述第一模拟开关芯片的VDD电源端和VSS接地端连接,所述的第二滤波电容的1#引脚和2#引脚分别与所述第二模拟开关芯片的VDD电源端和VSS接地端连接,所述的总线测试插座的1#引脚~ 6#引脚分别与所述第一模拟开关芯片的I/O0信号端~I/O5信号端连接,所述的第一测试插座的1#引脚~3#引脚分别与所述第二模拟开关芯片的I/O0信号端~I/O2 信号端连接,所述的第二测试插座的1#引脚~3#引脚分别与所述第二模拟开关芯片的I/O3信号端~I/O5信号端连接,所述的第三测试插座的1#引脚~3#引脚分别与所述第二模拟开关芯片的I/O6信号端~I/O8信号端连接,所述的第四测试插座的1#引脚~3#引脚分别与所述第二模拟开关芯片的I/O9信号端~I/O11信号端连接,所述的总线测试插座与被测带LED的四端口传感器信号分线器的总线接插头连接,所述的第一测试插座与被测带LED的四端口传感器信号分线器的第一端口接插头连接,所述的第二测试插座与被测带LED的四端口传感器信号分线器的第二端口接插头连接,所述的第三测试插座与被测带LED的四端口传感器信号分线器的第三端口接插头连接,所述的第四测试插座与被测带LED的四端口传感器信号分线器的第四端口接插头连接。Preferably, the test point voltage acquisition circuit includes a first analog switch chip, a second analog switch chip, a first filter capacitor, a second filter capacitor, a bus test socket, a first test socket, a second test socket, a third Test socket, the fourth test socket, the VDD power supply terminal and the VSS ground terminal of the first analog switch chip are respectively connected to the +5V power supply interface and the PGND ground terminal, A address terminal ~ C address terminal, INHIBIT control The terminals are respectively connected to the 4 digital output ports of the microcontroller CPU, the D address terminal is connected to the PGND ground terminal, and the OUT/IN bidirectional input/output terminal is connected to the first control signal output of the optocoupler relay control circuit The port is connected to an analog-to-digital conversion interface of the microcontroller CPU, and the VDD power supply terminal and the VSS ground terminal of the second analog switch chip are connected to the +5V power supply interface and the PGND ground terminal respectively, A address terminal to D address terminal and INHIBIT control terminal are respectively connected to 5 digital output ports of the microcontroller CPU, and the OUT/IN bidirectional input/output terminal is connected to the second control signal output port of the optocoupler relay control circuit It is connected to an analog-to-digital conversion interface of the microcontroller CPU, and the 1# pin and the 2# pin of the first filter capacitor are respectively connected to the VDD power supply terminal and the VSS ground terminal of the first analog switch chip Connect, the 1# pin and the 2# pin of the second filter capacitor are respectively connected with the VDD power terminal and the VSS ground terminal of the second analog switch chip, and the 1# pin of the bus test socket~ The 6# pins are respectively connected with the I/O0 signal end~I/O5 signal end of the first analog switch chip, and the 1# pins~3# pins of the first test socket are connected with the second test socket respectively. The I/O0 signal end to the I/O2 signal end of the analog switch chip are connected, and the 1# pin to the 3# pin of the second test socket are respectively connected to the I/O3 signal end to the second analog switch chip. The I/O5 signal terminal is connected, and the 1# pin~3# pins of the third test socket are respectively connected with the I/O6 signal terminal~I/O8 signal terminal of the second analog switch chip, and the described The 1# pin~3# pins of the fourth test socket are respectively connected with the I/O9 signal end~I/O11 signal end of the second analog switch chip, and the bus test socket is connected with the tested four The bus of the port sensor signal splitter is connected to the plug, the first test socket is connected to the first port of the four-port sensor signal splitter with LED under test, and the second test socket is connected to the tested The second port of the four-port sensor signal splitter with LED is connected to the plug, and the third test socket is connected to the third port of the four-port sensor signal splitter with LED under test. The four test sockets are connected to the fourth port plug of the four-port sensor signal splitter with LEDs under test.
优选地,所述的CAN接口电路包括CAN收发器、第三滤波电容、阻抗匹配电阻、CANH连接接头和CANL连接接头,所述的CAN收发器通过所述微控制器CPU的CAN接口与所述微控制器CPU通信,并且通过所述CANH连接接头和所述CANL连接接头(JP2)与外部监控设备通信,所述的CAN收发器的VCC 电源端与所述+5V电源接口连接,GND接地端与所述PGND接地端连接,所述的阻抗匹配电阻接在所述CANH连接接头和所述CANL连接接头之间,所述的第三滤波电容的1#引脚和2#引脚分别与所述CAN收发器的VCC信号端和GND信号端相连。Preferably, the CAN interface circuit includes a CAN transceiver, a third filter capacitor, an impedance matching resistor, a CANH connection joint and a CANL connection joint, and the CAN transceiver communicates with the CAN interface through the CAN interface of the microcontroller CPU. The microcontroller CPU communicates, and communicates with the external monitoring equipment through the CANH connection joint and the CANL connection joint (JP2), the VCC power supply terminal of the CAN transceiver is connected to the +5V power supply interface, and the GND ground terminal It is connected to the PGND ground terminal, the impedance matching resistor is connected between the CANH connector and the CANL connector, and the 1# pin and the 2# pin of the third filter capacitor are respectively connected to the The VCC signal terminal of the CAN transceiver is connected to the GND signal terminal.
优选地,所述的触摸式液晶显示屏的VCC信号端和GND信号端分别与所述 +5V电源接口和所述PGND接地端连接,所述的触摸式液晶显示屏的TxD信号端和RxD信号端分别与所述微控制器CPU的通用串行接口连接。Preferably, the VCC signal terminal and the GND signal terminal of the touch-type liquid crystal display are respectively connected to the +5V power supply interface and the PGND ground terminal, and the TxD signal terminal and the RxD signal terminal of the touch-type liquid crystal display The ends are respectively connected with the universal serial interface of the microcontroller CPU.
优选地,所述的电源芯片型号为MIC4680-5.0BM,所述的电源输入端滤波电容为电解电容,其电容值和耐压值分别为100μF、耐压50V,所述的电源输出端滤波电容为电解电容,其电容值和耐压值分别为47μF、16V,所述的续流二极管的型号为1N5819,所述的储能电感的电感值为68μH。Preferably, the model of the power supply chip is MIC4680-5.0BM, the filter capacitor at the input end of the power supply is an electrolytic capacitor, its capacitance value and withstand voltage value are respectively 100 μF, and the withstand voltage is 50V, and the filter capacitor at the output end of the power supply is It is an electrolytic capacitor, its capacitance value and withstand voltage value are 47μF and 16V respectively, the model of the freewheeling diode is 1N5819, and the inductance value of the energy storage inductor is 68μH.
优选地,所述的第一光耦继电器芯片~第四光耦继电器芯片的芯片型号均为AQY210EH,所述的第一限流电阻~第四限流电阻的阻值均为5kΩ,所述的第一上拉电阻和第二上拉电阻的阻值均为10kΩ,所述的第一下拉电阻和第二下拉电阻的阻值均为7.5kΩ。Preferably, the chip models of the first optocoupler relay chip to the fourth optocoupler relay chip are all AQY210EH, the resistance values of the first current limiting resistor to the fourth current limiting resistor are all 5kΩ, and the The resistance values of the first pull-up resistor and the second pull-up resistor are both 10kΩ, and the resistance values of the first pull-down resistor and the second pull-down resistor are both 7.5kΩ.
优选地,所述的第一模拟开关芯片、第二模拟开关芯片的芯片型号均为CD4067BMS,所述的CAN收发器的型号为TLE6250GV33,所述的阻抗匹配电阻的阻值为120Ω,所述的第三滤波电容的电容值和耐压值分别为0.1μF和16V,所述的触摸式液晶显示屏的型号为SDW6448-056-TN23W。Preferably, the chip models of the first analog switch chip and the second analog switch chip are both CD4067BMS, the model of the CAN transceiver is TLE6250GV33, the resistance of the impedance matching resistor is 120Ω, and the The capacitance value and withstand voltage value of the third filter capacitor are 0.1 μF and 16V respectively, and the model of the touch-type liquid crystal display screen is SDW6448-056-TN23W.
优选地,所述的微控制器CPU的芯片型号为Infineon XC2234L。Preferably, the chip model of the microcontroller CPU is Infineon XC2234L.
与现有技术相比,本实用新型具有以下优点:Compared with the prior art, the utility model has the following advantages:
(1)测试成本低,测试效率高:本实用新型采用嵌入式仪表技术进行开发,微处理器通过光耦继电器控制电路和测试点电压获取电路自动扫描带LED的四端口传感器信号分线器的总线接插头和各个端口接插头,快速、准确地进行四端口传感器信号分线器的线路通断、LED指示故障的测试。(1) Low test cost and high test efficiency: the utility model adopts embedded instrument technology for development, and the microprocessor automatically scans the four-port sensor signal splitter with LED through the optocoupler relay control circuit and the test point voltage acquisition circuit The bus connector and each port connector are used to quickly and accurately test the continuity of the four-port sensor signal splitter and the LED indication fault.
(2)使用方便:本实用新型通过触摸式液晶显示屏实现人机交互,操作使用方便,并可以通过CAN接口电路进行远程测试。(2) Easy to use: the utility model realizes human-computer interaction through a touch-type liquid crystal display screen, is easy to operate and use, and can carry out remote testing through a CAN interface circuit.
附图说明Description of drawings
为了进一步阐明本实用新型的各实施例的以上和其他优点和特征,将参考附图来呈现本实用新型的各实施例的更具体的描述。可以理解,这些附图只描绘本实用新型的典型实施例,因此将不被认为是对其范围的限制。并且,附图中示出的各个部分的相对位置和大小是示例性的,而不应当被理解成各个部分之间唯一确定的位置或尺寸关系。In order to further clarify the above and other advantages and features of various embodiments of the present utility model, a more specific description of various embodiments of the present utility model will be presented with reference to the accompanying drawings. It is understood that the drawings depict only typical embodiments of the invention and therefore are not to be considered limiting of its scope. Also, the relative positions and sizes of the various parts shown in the drawings are exemplary, and should not be understood as a uniquely determined position or size relationship between the various parts.
图1为本实用新型的电路原理图。Fig. 1 is the circuit schematic diagram of the utility model.
图2为本实用新型的电源电路的电路图。Fig. 2 is a circuit diagram of the power supply circuit of the present invention.
图3为本实用新型的光耦继电器控制电路的电路图,其中图3(a)为光耦继电器控制电路第一部分的电路图,图3(b)为光耦继电器控制电路第二部分的电路图。Fig. 3 is the circuit diagram of the optocoupler relay control circuit of the present utility model, wherein Fig. 3 (a) is the circuit diagram of the first part of the optocoupler relay control circuit, and Fig. 3 (b) is the circuit diagram of the second part of the optocoupler relay control circuit.
图4为本实用新型的测试点电压获取电路的电路图,其中图4(a)为光测试点电压获取电路第一部分的电路图,图4(b)为测试点电压获取电路第二部分的电路图。Fig. 4 is the circuit diagram of the test point voltage acquisition circuit of the present invention, wherein Fig. 4 (a) is the circuit diagram of the first part of the optical test point voltage acquisition circuit, and Fig. 4 (b) is the circuit diagram of the second part of the test point voltage acquisition circuit.
图5为本实用新型的CAN接口电路的电路图。Fig. 5 is a circuit diagram of the CAN interface circuit of the present invention.
图6为被测带LED的四端口传感器信号分线器的测试安装图。Figure 6 is a test installation diagram of the tested four-port sensor signal splitter with LEDs.
具体实施方式Detailed ways
下面将结合本实用新型实施例中的附图,对本实用新型实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本实用新型的一部分实施例,而不是全部实施例。基于本实用新型中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本实用新型保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. . Based on the embodiments of the present utility model, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present utility model.
实施例Example
本实用新型的电路原理图如图1所示,一种带LED的四端口传感器信号分线器的测试装置,该装置包括电源电路1、微控制器CPU、光耦继电器控制电路2、测试点电压获取电路3、CAN接口电路4、触摸式液晶显示屏5。The circuit schematic diagram of the utility model is shown in Figure 1, a test device for a four-port sensor signal splitter with LED, the device includes a power circuit 1, a microcontroller CPU, an optocoupler relay control circuit 2, a test point A voltage acquisition circuit 3, a CAN interface circuit 4, and a touch-type liquid crystal display 5.
电源电路1的电路图如图2所示,电源电路1包括电源输入插座J1、电源芯片U1、电源输入端滤波电容C1、电源输出端滤波电容C2、续流二极管D1、储能电感L1、+12V电源接口P0、+5V电源接口P1和PGND接地端P2,电源芯片U1 型号为MIC4680-5.0BM,其IN电源输入端与+12V电源接口P0和电源输入插座 J1的V+信号端连接,GND电源接地端与PGND接地端P2和电源输入插座J1的 V-信号端连接,作为整个电路的电源地,电源芯片U1的关断控制端SHDN与PGND 接地端P2连接,反馈端FB与+5V电源接口P1连接,电源输入端滤波电容C1并联在电源输入插座J1的输出端,电源输出端滤波电容C2的正极与+5V电源接口 P1连接,负极与PGND接地端P2连接,储能电感L1的1脚和2脚分别与电源芯片U1的SW输出端和+5V电源接口P1相连。续流二极管D1的1脚和2脚分别与电源芯片U1的SW输出端和PGND接地端P2相连,+12V电源接口P0与光耦继电器控制电路2连接,+5V电源接口P1分别与微控制器CPU、光耦继电器控制电路2、测试点电压获取电路3、CAN接口电路4和触摸式液晶显示屏5连接,PGND 接地端P2分别与微控制器CPU、光耦继电器控制电路2、测试点电压获取电路3、 CAN接口电路4和触摸式液晶显示屏5的接地端连接并接地,电源输入端滤波电容C1为电解电容,其电容值和耐压值分别为100μF、耐压50V,电源输出端滤波电容C2为电解电容,其电容值和耐压值分别为47μF、16V,续流二极管D1的型号为1N5819,储能电感L1的电感值为68μH。The circuit diagram of the power circuit 1 is shown in Figure 2. The power circuit 1 includes a power input socket J1, a power chip U1, a power input filter capacitor C1, a power output filter capacitor C2, a freewheeling diode D1, an energy storage inductor L1, and +12V Power interface P0, +5V power interface P1 and PGND ground terminal P2, the power chip U1 model is MIC4680-5.0BM, its IN power input terminal is connected to the +12V power interface P0 and the V+ signal terminal of the power input socket J1, and the GND power supply is grounded terminal is connected to the PGND ground terminal P2 and the V- signal terminal of the power input socket J1, as the power ground of the whole circuit, the shutdown control terminal SHDN of the power chip U1 is connected to the PGND ground terminal P2, and the feedback terminal FB is connected to the +5V power supply interface P1 Connection, the filter capacitor C1 at the power input terminal is connected in parallel to the output terminal of the power input socket J1, the positive pole of the filter capacitor C2 at the power output terminal is connected to the +5V power supply interface P1, the negative pole is connected to the PGND ground terminal P2, and the 1 pin of the energy storage inductor L1 and Pin 2 is connected to the SW output terminal of the power chip U1 and the +5V power interface P1 respectively. Pin 1 and pin 2 of the freewheeling diode D1 are respectively connected to the SW output terminal of the power chip U1 and the PGND ground terminal P2, the +12V power supply interface P0 is connected to the optocoupler relay control circuit 2, and the +5V power supply interface P1 is respectively connected to the microcontroller CPU, optocoupler relay control circuit 2, test point voltage acquisition circuit 3, CAN interface circuit 4 and touch-type liquid crystal display 5 are connected, PGND ground terminal P2 is respectively connected with the microcontroller CPU, optocoupler relay control circuit 2, test point voltage The ground terminals of the acquisition circuit 3, the CAN interface circuit 4 and the touch-screen liquid crystal display 5 are connected and grounded, the filter capacitor C1 at the power input terminal is an electrolytic capacitor, and its capacitance value and withstand voltage value are 100 μF and withstand voltage 50V respectively, and the power output terminal The filter capacitor C2 is an electrolytic capacitor, its capacitance and withstand voltage are 47μF and 16V respectively, the type of the freewheeling diode D1 is 1N5819, and the inductance of the energy storage inductor L1 is 68μH.
微控制器CPU的芯片型号为Infineon XC2234L,微控制器CPU为带有数字输出端口、模数转换接口、CAN接口、通用串行接口的芯片,所使用的微控制器CPU 的数字输出端口共计13个,包括P1-A数字输出端口~P1-C数字输出端口、P2-A 数字输出端口~P2-D数字输出端口、P1-F数字输出端口、P1-G数字输出端口、P2-F 数字输出端口、P2-G数字输出端口P1-EN数字输出端口、P2-EN数字输出端口, P1-A数字输出端口~P1-C数字输出端口分别为微控制器CPU的P2.2管脚~P2.4 管脚,P2-A数字输出端口~P2-D数字输出端口分别为微控制器CPU的P2.7管脚、 P2.8管脚、P2.10管脚、P2.11管脚,P1-F数字输出端口、P1-G数字输出端口、P2-F 数字输出端口、P2-G数字输出端口分别为微控制器CPU的P10.0管脚、P10.1管脚、P10.2管脚、P10.3管脚,P1-EN数字输出端口和P2-EN数字输出端口分别为微控制器CPU的P2.6管脚、P2.12管脚,所使用的微控制器CPU的模数转换接口共计2个,包括ADC0-CH0模数转换信号端、模数转换ADC0-CH1信号端,模数转换ADC0-CH0信号端、ADC0-CH1模数转换信号端分别为微控制器CPU的P5.0 管脚、P5.1管脚,微控制器CPU的CAN接口包括CAN-RX接收端、CAN-TX发送端,CAN-RX接收端、CAN-TX发送端分别为微控制器CPU的P2.0管脚、P2.1 管脚,微控制器的通用串行接口包括U0C1-TxD发送端、U0C1-RxD接收端, U0C1-TxD发送端、U0C1-RxD接收端分别为微控制器CPU的P10.15管脚、P10.14 管脚,微控制器CPU的VCC信号端和GND信号端分别与电源电路的+5V电源接口P1和PGND接地端P2相连。The chip model of the microcontroller CPU is Infineon XC2234L. The microcontroller CPU is a chip with a digital output port, an analog-to-digital conversion interface, a CAN interface, and a general serial interface. The digital output ports of the microcontroller CPU used are 13 in total. One, including P1-A digital output port ~ P1-C digital output port, P2-A digital output port ~ P2-D digital output port, P1-F digital output port, P1-G digital output port, P2-F digital output port Port, P2-G digital output port P1-EN digital output port, P2-EN digital output port, P1-A digital output port ~ P1-C digital output port are P2.2 pins ~ P2 of the microcontroller CPU. 4 pins, P2-A digital output port ~ P2-D digital output port are P2.7 pin, P2.8 pin, P2.10 pin, P2.11 pin of microcontroller CPU, P1- F digital output port, P1-G digital output port, P2-F digital output port, P2-G digital output port are P10.0 pin, P10.1 pin, P10.2 pin, P10.3 pin, P1-EN digital output port and P2-EN digital output port are the P2.6 pin and P2.12 pin of the microcontroller CPU respectively, and the analog-to-digital conversion interface of the microcontroller CPU used A total of 2, including ADC0-CH0 analog-to-digital conversion signal terminal, analog-to-digital conversion ADC0-CH1 signal terminal, analog-to-digital conversion ADC0-CH0 signal terminal, ADC0-CH1 analog-to-digital conversion signal terminal are P5.0 of the microcontroller CPU Pin, P5.1 pin, the CAN interface of the microcontroller CPU includes CAN-RX receiving end, CAN-TX sending end, CAN-RX receiving end, CAN-TX sending end are P2.0 of the microcontroller CPU Pin, P2.1 pin, the universal serial interface of the microcontroller includes U0C1-TxD sender, U0C1-RxD receiver, U0C1-TxD sender, U0C1-RxD receiver are P10 of the microcontroller CPU. 15 pins, P10.14 pins, the VCC signal terminal and the GND signal terminal of the microcontroller CPU are respectively connected to the +5V power interface P1 of the power supply circuit and the PGND ground terminal P2.
光耦继电器控制电路2的电路图如图3所示,光耦继电器控制电路2包括第一光耦继电器芯片U2、第二光耦继电器芯片U3、第三光耦继电器芯片U4、第四光耦继电器芯片U5、第一限流电阻R1、第二限流电阻R2、第三限流电阻R3、第四限流电阻R4、第一上拉电阻R5、第二上拉电阻R7、第一下拉电阻R6、第二下拉电阻R8、第一控制信号输出端口JK1、第二控制信号输出端口JK2,第一光耦继电器芯片U2~第四光耦继电器芯片U5的芯片型号均为AQY210EH,第一光耦继电器芯片U2~第四光耦继电器芯片U5的2脚分别与微控制器CPU的P1-F数字输出端口、P1-G数字输出端口、P2-F数字输出端口、P2-G数字输出端口连接,第一光耦继电器芯片U2的4脚和第二光耦继电器芯片U3的3脚连接后再与第一控制信号输出端口JK1连接,第三光耦继电器芯片U4的4脚和第四光耦继电器芯片 U5的3脚连接后再与第二控制信号输出端口JK2连接,第一限流电阻R1的1#引脚和2#引脚分别与+5V电源接口P1和第一光耦继电器芯片U2的1脚连接,第二限流电阻R2的1#引脚和2#引脚分别与+5V电源接口P1和第二光耦继电器芯片 U3的1脚连接,第三限流电阻R3的1#引脚和2#引脚分别与+5V电源接口P1和第三光耦继电器芯片U4的1脚连接,第四限流电阻R4的1#引脚和2#引脚分别与 +5V电源接口P1和第四光耦继电器芯片U5的1脚连接,第一上拉电阻R5的1# 引脚和2#引脚分别与+12V电源接口P0和第一光耦继电器芯片U2的3脚连接,第二上拉电阻R7的1#引脚和2#引脚分别与+12V电源接口P0和第三光耦继电器芯片U4的3脚连接,第一下拉电阻R6的1#引脚和2#引脚分别第二光耦继电器芯片U3的4脚和PGND接地端P2连接,第二下拉电阻R8的1#引脚和2#引脚分别第四光耦继电器芯片U5的4脚和PGND接地端P2连接,第一限流电阻R1~第四限流电阻R4的阻值均为5kΩ,第一上拉电阻R5和第二上拉电阻R7的阻值均为 10kΩ,第一下拉电阻R6和第二下拉电阻R8的阻值均为7.5kΩ。The circuit diagram of the optocoupler relay control circuit 2 is shown in Figure 3. The optocoupler relay control circuit 2 includes a first optocoupler relay chip U2, a second optocoupler relay chip U3, a third optocoupler relay chip U4, and a fourth optocoupler relay chip. Chip U5, first current limiting resistor R1, second current limiting resistor R2, third current limiting resistor R3, fourth current limiting resistor R4, first pull-up resistor R5, second pull-up resistor R7, first pull-down resistor R6, the second pull-down resistor R8, the first control signal output port JK1, the second control signal output port JK2, the chip models of the first optocoupler relay chip U2 to the fourth optocoupler relay chip U5 are all AQY210EH, the first optocoupler The pins 2 of the relay chip U2 to the fourth optocoupler relay chip U5 are respectively connected to the P1-F digital output port, P1-G digital output port, P2-F digital output port, and P2-G digital output port of the microcontroller CPU, Pin 4 of the first optocoupler relay chip U2 is connected to pin 3 of the second optocoupler relay chip U3 and then connected to the first control signal output port JK1, and pin 4 of the third optocoupler relay chip U4 is connected to the fourth optocoupler relay The pin 3 of the chip U5 is connected to the second control signal output port JK2, and the 1# pin and 2# pin of the first current limiting resistor R1 are connected to the +5V power interface P1 and the first optocoupler relay chip U2 respectively. 1 pin connection, the 1# pin and 2# pin of the second current limiting resistor R2 are respectively connected to the +5V power supply interface P1 and the 1 pin of the second optocoupler relay chip U3, the 1# pin of the third current limiting resistor R3 pin and 2# pin are respectively connected with +5V power supply interface P1 and pin 1 of the third optocoupler relay chip U4, and 1# pin and 2# pin of the fourth current limiting resistor R4 are respectively connected with +5V power supply interface P1 and Pin 1 of the fourth optocoupler relay chip U5 is connected, pin 1# and pin 2# of the first pull-up resistor R5 are respectively connected to the +12V power supply interface P0 and pin 3 of the first optocoupler relay chip U2, and the second The 1# pin and 2# pin of the pull-up resistor R7 are respectively connected to the +12V power supply interface P0 and the 3rd pin of the third optocoupler relay chip U4, and the 1# pin and 2# pin of the first pull-down resistor R6 The pin 4 of the second optocoupler relay chip U3 is connected to the PGND ground terminal P2 respectively, and the 1# pin and 2# pin of the second pull-down resistor R8 are respectively connected to the 4 pin of the fourth optocoupler relay chip U5 and the PGND ground terminal P2 , the resistance values of the first current limiting resistor R1 to the fourth current limiting resistor R4 are all 5kΩ, the resistance values of the first pull-up resistor R5 and the second pull-up resistor R7 are both 10kΩ, the first pull-down resistor R6 and the second The resistance values of the pull-down resistors R8 are both 7.5kΩ.
测试点电压获取电路3的电路图如图4所示,测试点电压获取电路3包括第一模拟开关芯片U6、第二模拟开关芯片U7、第一滤波电容C3、第二滤波电容C4、总线测试插座Z0、第一测试插座Z1、第二测试插座Z2、第三测试插座Z3、第四测试插座Z4,第一模拟开关芯片U6和第二模拟开关芯片U7的芯片型号均为 CD4067BMS,第一模拟开关芯片U6的VDD电源端和VSS接地端分别与电源电路1的+5V电源接口P1和PGND接地端P2连接,A地址端~C地址端分别与微控制器CPU的P1-A数字输出端口~P1-C数字输出端口连接,D地址端与PGND 接地端P2连接,INHIBIT控制端与微控制器CPU的P1-EN数字输出端口连接, OUT/IN双向输入/输出端与光耦继电器控制电路2的第一控制信号输出端口JK1 和微控制器CPU的ADC0-CH0模数转换信号端连接,第二模拟开关芯片U7的 VDD电源端和VSS接地端分别与电源电路1的+5V电源接口P1和PGND接地端 P2连接,A地址端~D地址端分别与微控制器CPU的P2-A数字输出端口~P2-D 数字输出端口连接,INHIBIT控制端与微控制器CPU的P2-EN数字输出端口连接, OUT/IN双向输入/输出端与光耦继电器控制电路2的第二控制信号输出端口JK2 和微控制器CPU的ADC0-CH1模数转换信号端连接,第一滤波电容C3的1#引脚和2#引脚分别与第一模拟开关芯片U6的VDD电源端和VSS接地端连接,第二滤波电容C4的1#引脚和2#引脚分别与第二模拟开关芯片U3的VDD电源端和VSS 接地端连接,总线测试插座Z0的1#引脚~6#引脚分别与第一模拟开关芯片U6的 I/O0信号端~I/O5信号端连接,第一测试插座Z1的1#引脚~3#引脚分别与第二模拟开关芯片U7的I/O0信号端~I/O2信号端连接,第二测试插座Z2的1#引脚~3# 引脚分别与第二模拟开关芯片U7的I/O3信号端~I/O5信号端连接,第三测试插座Z3的1#引脚~3#引脚分别与第二模拟开关芯片U7的I/O6信号端~I/O8信号端连接,第四测试插座Z4的1#引脚~3#引脚分别与第二模拟开关芯片U7的I/O9信号端~I/O11信号端连接,总线测试插座Z0与被测带LED的四端口传感器信号分线器W的总线接插头W0连接,第一测试插座Z1与被测带LED的四端口传感器信号分线器W的第一端口接插头W1连接,第二测试插座Z2与被测带LED的四端口传感器信号分线器W的第二端口接插头W2连接,第三测试插座Z3与被测带 LED的四端口传感器信号分线器W的第三端口接插头W3连接,第四测试插座Z4 与被测带LED的四端口传感器信号分线器W的第四端口接插头W4连接,第一滤波电容C3和第二滤波电容C4的电容值和耐压值均为0.1μF和16V。The circuit diagram of the test point voltage acquisition circuit 3 is as shown in Figure 4, the test point voltage acquisition circuit 3 includes the first analog switch chip U6, the second analog switch chip U7, the first filter capacitor C3, the second filter capacitor C4, bus test socket Z0, the first test socket Z1, the second test socket Z2, the third test socket Z3, the fourth test socket Z4, the chip models of the first analog switch chip U6 and the second analog switch chip U7 are CD4067BMS, the first analog switch The VDD power terminal and VSS ground terminal of the chip U6 are respectively connected to the +5V power interface P1 of the power supply circuit 1 and the PGND ground terminal P2, and the A address terminal ~ C address terminal are respectively connected to the P1-A digital output port ~ P1 of the microcontroller CPU -C is connected to the digital output port, the D address terminal is connected to the PGND ground terminal P2, the INHIBIT control terminal is connected to the P1-EN digital output port of the microcontroller CPU, and the OUT/IN bidirectional input/output terminal is connected to the optocoupler relay control circuit 2 The first control signal output port JK1 is connected to the ADC0-CH0 analog-to-digital conversion signal terminal of the microcontroller CPU, and the VDD power supply terminal and VSS ground terminal of the second analog switch chip U7 are respectively connected to the +5V power supply interface P1 and PGND of the power supply circuit 1 The ground terminal P2 is connected, the A address terminal ~ D address terminal are respectively connected with the P2-A digital output port ~ P2-D digital output port of the microcontroller CPU, and the INHIBIT control terminal is connected with the P2-EN digital output port of the microcontroller CPU , the OUT/IN bidirectional input/output terminal is connected to the second control signal output port JK2 of the optocoupler relay control circuit 2 and the ADC0-CH1 analog-to-digital conversion signal terminal of the microcontroller CPU, and the 1# pin of the first filter capacitor C3 and 2# pins are respectively connected to the VDD power supply terminal and the VSS ground terminal of the first analog switch chip U6, and the 1# pin and 2# pin of the second filter capacitor C4 are respectively connected to the VDD power supply terminal of the second analog switch chip U3 Connect with the VSS ground terminal, the 1# pin ~ 6# pin of the bus test socket Z0 are respectively connected with the I/O0 signal terminal ~ I/O5 signal terminal of the first analog switch chip U6, and the 1# pin of the first test socket Z1 Pins ~ 3# pins are respectively connected to the I/O0 signal terminal ~ I/O2 signal terminal of the second analog switch chip U7, and the 1# pins ~ 3# pins of the second test socket Z2 are connected to the second analog switch chip U7 respectively. The I/O3 signal terminal to the I/O5 signal terminal of the chip U7 are connected, and the 1# pin to the 3# pin of the third test socket Z3 are respectively connected to the I/O6 signal terminal to the I/O8 signal terminal of the second analog switch chip U7. The 1# to 3# pins of the fourth test socket Z4 are respectively connected to the I/O9 signal terminal to the I/O11 signal terminal of the second analog switch chip U7, and the bus test socket Z0 is connected to the measured The bus plug W0 of the four-port sensor signal splitter W is connected, and the first test socket Z1 is connected to the first port of the four-port sensor signal splitter W with LEDs under test. Plug W1 is connected, the second test socket Z2 is connected to the second port of the tested four-port sensor signal splitter W with LED to the plug W2, and the third test socket Z3 is connected to the tested four-port sensor signal splitter with LED The third port of W is connected to the plug W3, the fourth test socket Z4 is connected to the fourth port of the tested four-port sensor signal splitter W with LEDs, connected to the plug W4, the first filter capacitor C3 and the second filter capacitor C4 Capacitance and withstand voltage are both 0.1μF and 16V.
CAN接口电路3的电路图如图5所示,CAN接口电路3包括CAN收发器 U8、第三滤波电容C5、阻抗匹配电阻R9、CANH连接接头JP1、CANL连接接头JP2,CAN总线驱动器U8的芯片型号为TLE6250GV33,其TxD发送端、RxD接收端分别与微控制器CPU的CAN-TX发送端、CAN-RX接收端相连,CAN-TX 发送端、CAN-RX接收端分别与CANH连接接头JP1、CANL连接接头JP2相连,VCC信号端和V33信号端相连后再与电源电路1的+5V电源接口P1相连,GND 信号端和INH信号端与电源电路1的PGND接地端P2相连,阻抗匹配电阻R9的 1#引脚和2#引脚分别与CAN收发器U8的CANH信号端和CANL信号端相连,第三滤波电容C5的1#引脚和2#引脚分别与CAN收发器U8的VCC信号端和GND 信号端相连,阻抗匹配电阻R9的电阻为120Ω,第三滤波电容C5的电容值和耐压值分别为0.1μF和16V。The circuit diagram of the CAN interface circuit 3 is shown in Figure 5, the CAN interface circuit 3 includes the CAN transceiver U8, the third filter capacitor C5, the impedance matching resistor R9, the CANH connector JP1, the CANL connector JP2, the chip model of the CAN bus driver U8 It is TLE6250GV33, its TxD sending end and RxD receiving end are respectively connected with the CAN-TX sending end and CAN-RX receiving end of the microcontroller CPU, and the CAN-TX sending end and CAN-RX receiving end are respectively connected with the CANH connectors JP1 and CANL The connecting connector JP2 is connected, the VCC signal terminal is connected to the V33 signal terminal and then connected to the +5V power interface P1 of the power circuit 1, the GND signal terminal and the INH signal terminal are connected to the PGND ground terminal P2 of the power circuit 1, and the impedance matching resistor R9 The 1# pin and the 2# pin are respectively connected with the CANH signal terminal and the CANL signal terminal of the CAN transceiver U8, and the 1# pin and the 2# pin of the third filter capacitor C5 are respectively connected with the VCC signal terminal of the CAN transceiver U8 It is connected to the GND signal terminal, the resistance of the impedance matching resistor R9 is 120Ω, and the capacitance and withstand voltage of the third filter capacitor C5 are 0.1 μF and 16V respectively.
触摸式液晶显示屏5的型号为武汉中显科技有限公司的SDW6448-056-TN23W,触摸式液晶显示屏5的VCC信号端和GND信号端分别与电源电路1的+5V电源接口P1和PGND接地端P2相连,触摸式液晶显示屏5的TxD信号端和RxD信号端分别与微控制器CPU的U0C1-RxD信号端、U0C1-TxD信号端相连。The model of the touch-screen LCD 5 is SDW6448-056-TN23W of Wuhan Zhongxian Technology Co., Ltd., the VCC signal terminal and the GND signal terminal of the touch-screen LCD 5 are connected to the +5V power interface P1 and PGND of the power circuit 1 respectively. The terminal P2 is connected, and the TxD signal terminal and the RxD signal terminal of the touch-type liquid crystal display 5 are respectively connected with the U0C1-RxD signal terminal and the U0C1-TxD signal terminal of the microcontroller CPU.
本实施例的测试工作过程如下:The testing process of the present embodiment is as follows:
一、如图6所示,将被测带LED的四端口传感器信号分线器的W的总线接插头W0、第一端口接插头W1、第二端口接插头W2、第三端口接插头W3和第四端口接插头W4分别与总线测试插座Z0、第一测试插座Z1、第二测试插座Z2、第三测试插座Z3和第四测试插座Z4连接,将电源输入插头J1连接外购的+12V的直流稳压电源。1. As shown in Figure 6, connect the W bus of the four-port sensor signal splitter with LED to the plug W0, the first port to the plug W1, the second port to the plug W2, the third port to the plug W3 and The fourth port plug W4 is respectively connected to the bus test socket Z0, the first test socket Z1, the second test socket Z2, the third test socket Z3 and the fourth test socket Z4, and the power input plug J1 is connected to the purchased +12V DC regulated power supply.
二、操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,使微控制器CPU的P1-F数字输出端口、P1-G数字输出端口、P2-F数字输出端口、P2-G 数字输出端口分别输出高电平、低电平、低电平、高电平,使光耦继电器控制电路 2的第一控制信号输出端口JK1输出测试电压。2. Operate the touch-screen liquid crystal display 5. Run the purchased measurement and control software built in the microcontroller CPU, so that the P1-F digital output port, P1-G digital output port, P2-F digital output port, and P2- G The digital output ports respectively output high level, low level, low level and high level, so that the first control signal output port JK1 of the optocoupler relay control circuit 2 outputs the test voltage.
三、测试总线接插头W0的电源引脚与各个端口接插头的电源引脚的通断,操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,依次按表1的序号i(i=1、2、3、4)设置微控制器CPU的P1-A数字输出端口~P1-C数字输出端口、P2-A数字输出端口~P2-D数字输出端口的电平状态;然后依次测量微控制器 CPU的ADC0-CH1模数转换信号端的电压,如果该电压≥3.5V,说明被测带LED 的四端口传感器信号分线器W的总线接插头W0的1脚与第i端口接插头Wi的1 脚之间的线路导通;如果该电压<3.5V,说明总线接插头W0的1脚与第i端口接插头Wi的1脚之间的线路断路。3. Test the continuity between the power supply pin of the bus connector W0 and the power supply pins of each port connector, operate the touch-screen liquid crystal display 5 and run the externally purchased measurement and control software built in the microcontroller CPU, and follow the serial number i in Table 1 in turn (i=1,2,3,4) the level state of P1-A digital output port~P1-C digital output port, P2-A digital output port~P2-D digital output port of microcontroller CPU is set; Then Measure the voltage of the ADC0-CH1 analog-to-digital conversion signal terminal of the microcontroller CPU in sequence. If the voltage is ≥ 3.5V, it means that the 1st pin of the bus connector W0 of the four-port sensor signal splitter W with LED and the i-th port are connected. The line between pin 1 of plug Wi is turned on; if the voltage is <3.5V, it means that the line between pin 1 of plug W0 of the bus and pin 1 of plug Wi of the i-th port is broken.
四、测试总线接插头W0的接地引脚与各个端口接插头的接地引脚的通断,操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,依次按表1的序号4+i(i=1、2、3、4)设置微控制器CPU的P1-A数字输出端口~P1-C数字输出端口、P2-A数字输出端口~P2-D数字输出端口的电平状态;然后依次测量微控制器CPU的ADC0-CH1模数转换信号端的电压。如果该电压≥3.5V,说明被测带 LED的四端口传感器信号分线器W的总线接插头W0的2脚与第i端口接插头Wi 的3脚之间的线路导通;如果该电压<3.5V,说明被测带LED的四端口传感器信号分线器W的总线接插头W0的2脚与第i端口接插头Wi的3脚之间的线路断路。4. Test the connection between the grounding pin of the bus plug W0 and the grounding pins of each port plug, operate the touch-screen LCD 5, run the purchased measurement and control software built in the microcontroller CPU, and follow the sequence number 4 in Table 1 +i (i=1, 2, 3, 4) set the level status of the P1-A digital output port ~ P1-C digital output port, P2-A digital output port ~ P2-D digital output port of the microcontroller CPU ; Then measure the voltage at the ADC0-CH1 analog-to-digital conversion signal end of the microcontroller CPU in turn. If the voltage is ≥3.5V, it means that the line between pin 2 of the bus connector W0 of the tested four-port sensor signal splitter W with LEDs and pin 3 of the i-th port connector Wi is conducting; if the voltage < 3.5V, indicating that the circuit between pin 2 of the bus connector W0 of the four-port sensor signal splitter W with LEDs and pin 3 of the i-th port connector Wi is open.
五、测试总线接插头W0的各个信号引脚与各个端口接插头的信号引脚的通断,操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,依次按表1的序号8+i(i=1、2、3、4)设置微控制器CPU的P1-A数字输出端口~P1-C数字输出端口、P2-A数字输出端口~P2-D数字输出端口的电平状态;然后依次测量微控制器CPU的ADC0-CH1模数转换信号端的电压,如果该电压≥3.5V,说明被测带LED的四端口传感器信号分线器W的总线接插头W0的2+i脚与第i端口接插头Wi的2脚之间的线路导通;如果该电压<3.5V,说明被测带LED的四端口传感器信号分线器W的总线接插头W0的2+i脚与第i端口接插头Wi的2脚之间的线路断路。5. Test the on-off of each signal pin of the bus connector W0 and the signal pins of each port connector, operate the touch-type LCD screen 5, run the externally purchased measurement and control software built in the microcontroller CPU, and follow the serial numbers in Table 1 in turn 8+i (i=1, 2, 3, 4) set the level of the P1-A digital output port ~ P1-C digital output port, P2-A digital output port ~ P2-D digital output port of the microcontroller CPU state; then measure the voltage of the ADC0-CH1 analog-to-digital conversion signal terminal of the microcontroller CPU in turn, if the voltage is ≥ 3.5V, it means that the 2+i of the bus connector W0 of the four-port sensor signal splitter W with LEDs under test The line between pin 2 and pin 2 of the i-th port plug Wi is conductive; if the voltage is <3.5V, it means that the 2+i pin of the bus plug W0 of the four-port sensor signal splitter W with LEDs is connected to the The line between the 2 pins of the i-th port connected to the plug Wi is disconnected.
六、测试各个端口接插头的信号引脚与接地引脚之间的LED指示灯的故障与否。操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,依次按表 1的序号12+i(i=1、2、3、4)设置微控制器CPU的P1-A数字输出端口~P1-C 数字输出端口、P2-A数字输出端口~P2-D数字输出端口的电平状态;然后依次测量微控制器CPU的ADC0-CH1模数转换信号端的电压,如果该电压<3.5V,说明被测带LED的四端口传感器信号分线器W的第i端口接插头的信号引脚与接地引脚之间的LED指示灯Dwi存在故障或者是由于LED指示灯Dwi与Rwi有可能存在虚焊;如果该电压≥3.5V,则继续进行下面的步骤七。6. Test whether the LED indicator light between the signal pin and the ground pin of each port plug is faulty or not. Operate the touch-screen liquid crystal display 5 and run the purchased measurement and control software built in the microcontroller CPU, and set the P1-A digital output of the microcontroller CPU according to the sequence number 12+i (i=1, 2, 3, 4) in Table 1 Port ~ P1-C digital output port, P2-A digital output port ~ P2-D digital output port level state; then measure the voltage of the ADC0-CH1 analog-to-digital conversion signal terminal of the microcontroller CPU in turn, if the voltage <3.5 V, indicating that the LED indicator Dwi between the signal pin and the ground pin of the i-th port of the tested four-port sensor signal splitter W with LED is faulty or because the LED indicators Dwi and Rwi may be False welding exists; if the voltage is ≥3.5V, proceed to step seven below.
七、操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,使微控制器CPU的P1-F数字输出端口、P1-G数字输出端口、P2-F数字输出端口、P2-G 数字输出端口分别输出低电平、高电平、高电平、低电平,使光耦继电器控制电路 2的第二控制信号输出端口JK2输出测试电压。然后,测试各个端口接插头的信号引脚与接地引脚之间的LED指示灯的故障与否,操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,依次按表1的序号12+i(i=1、2、3、4)设置微控制器CPU的P1-A数字输出端口~P1-C数字输出端口、P2-A数字输出端口~ P2-D数字输出端口的电平状态;然后依次测量微控制器CPU的ADC0-CH0模数转换信号端的电压,如果该电压≥2.0V,说明被测带LED的四端口传感器信号分线器W的第i端口接插头的信号引脚与接地引脚之间的LED指示灯Dwi存在故障;如果该电压<2.0V,说明被测带LED的四端口传感器信号分线器W的第i端口接插头的信号引脚与接地引脚之间的LED指示灯Dwi正常。7. Operate the touch-screen liquid crystal display 5. Run the purchased measurement and control software built in the microcontroller CPU, so that the P1-F digital output port, P1-G digital output port, P2-F digital output port, and P2- G The digital output ports respectively output low level, high level, high level and low level, so that the second control signal output port JK2 of the optocoupler relay control circuit 2 outputs the test voltage. Then, test whether the LED indicators between the signal pins and the grounding pins of each port are faulty or not, operate the touch-type liquid crystal display screen 5, and run the purchased measurement and control software built in the microcontroller CPU, according to Table 1 in turn Serial number 12+i (i=1, 2, 3, 4) sets the voltage of the P1-A digital output port ~ P1-C digital output port, P2-A digital output port ~ P2-D digital output port of the microcontroller CPU Then measure the voltage of the ADC0-CH0 analog-to-digital conversion signal terminal of the microcontroller CPU in turn. If the voltage is ≥ 2.0V, it means that the signal of the i-th port of the four-port sensor signal splitter W with LEDs under test is connected to the plug. There is a fault in the LED indicator Dwi between the pin and the ground pin; if the voltage is <2.0V, it means that the signal pin and the ground pin of the i-th port of the four-port sensor signal splitter W with LEDs under test are connected to the plug. The LED indicator Dwi between the pins is normal.
八、测试总线接插头W0的电源LED指示灯的故障与否,操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,使微控制器CPU的P1-F数字输出端口、P1-G数字输出端口、P2-F数字输出端口、P2-G数字输出端口分别输出高电平、低电平、低电平、高电平,使光耦继电器控制电路2的第一控制信号输出端口JK1输出测试电压。操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,依次按表1的序号17设置微控制器CPU的P1-A数字输出端口~P1-C数字输出端口、P2-A数字输出端口~P2-D数字输出端口的电平状态;然后测量微控制器CPU的ADC0-CH1模数转换信号端的电压,如果该电压<3.5V,说明被测带 LED的四端口传感器信号分线器W的总线接插头W0的电源LED指示灯Dw0存在故障或者是由于电源LED指示灯Dw0与Rw0有可能存在虚焊;如果该电压≥ 3.5V,则继续进行下面的步骤九。8. Test whether the power supply LED indicator light of the bus connector W0 is faulty or not, operate the touch LCD display 5, and run the purchased measurement and control software built in the microcontroller CPU to make the P1-F digital output ports and P1 of the microcontroller CPU -G digital output port, P2-F digital output port, P2-G digital output port respectively output high level, low level, low level, high level, so that the first control signal output of optocoupler relay control circuit 2 Port JK1 outputs test voltage. Operate the touch-screen liquid crystal display 5. Run the purchased measurement and control software built in the microcontroller CPU, and set the P1-A digital output port ~ P1-C digital output port and P2-A digital output port of the microcontroller CPU according to the serial number 17 in Table 1. Level state of the output port ~ P2-D digital output port; then measure the voltage of the ADC0-CH1 analog-to-digital conversion signal terminal of the microcontroller CPU, if the voltage is <3.5V, it means that the four-port sensor signal line with LED under test The power LED indicator Dw0 of the bus connector W0 of the device W is faulty or there may be a false welding between the power LED indicators Dw0 and Rw0; if the voltage is ≥ 3.5V, proceed to the following step 9.
九、操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,使微控制器CPU的P1-F数字输出端口、P1-G数字输出端口、P2-F数字输出端口、P2-G 数字输出端口分别输出低电平、高电平、高电平、低电平,使光耦继电器控制电路 2的第二控制信号输出端口JK2输出测试电压,然后,操作触摸式液晶显示屏5运行微控制器CPU内置的外购测控软件,依次按表1的序号17设置微控制器CPU 的P1-A数字输出端口~P1-C数字输出端口、P2-A数字输出端口~P2-D数字输出端口的电平状态;然后测量微控制器CPU的ADC0-CH0模数转换信号端的电压,如果该电压≥2.0V,说明被测带LED的四端口传感器信号分线器W的总线接插头W0的电源LED指示灯Dw0存在故障;如果该电压<2.0V,说明被测带LED 的四端口传感器信号分线器W的总线接插头W0的电源LED指示灯Dw0正常。9. Operation of touch-screen LCD 5 Run the purchased measurement and control software built in the microcontroller CPU, so that the P1-F digital output port, P1-G digital output port, P2-F digital output port, P2- G The digital output port outputs low level, high level, high level and low level respectively, so that the second control signal output port JK2 of the optocoupler relay control circuit 2 outputs the test voltage, and then operates the touch-screen LCD 5 Run the purchased measurement and control software built in the microcontroller CPU, and set the P1-A digital output port ~ P1-C digital output port, P2-A digital output port ~ P2-D digital output port of the microcontroller CPU according to the serial number 17 in Table 1. The level state of the output port; then measure the voltage of the ADC0-CH0 analog-to-digital conversion signal terminal of the microcontroller CPU, if the voltage is ≥ 2.0V, it means that the bus connector W0 of the four-port sensor signal splitter W with LEDs under test If the voltage is <2.0V, it means that the power LED indicator Dw0 of the bus connector W0 of the four-port sensor signal splitter W with LED under test is normal.
十、计算机可以通过CAN接口电路3远程控制多个本实用新型的这种带LED 的四端口传感器信号分线器的测试装置,以达到远程同时测试多个带LED的四端口传感器信号分线器,以提高测试效率。10. The computer can remotely control a plurality of test devices of this four-port sensor signal splitter with LEDs of the present invention through the CAN interface circuit 3, so as to simultaneously test a plurality of four-port sensor signal splitters with LEDs remotely. , to improve test efficiency.
表1Table 1
以上所述,仅为本实用新型的具体实施方式,但本实用新型的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本实用新型揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本实用新型的保护范围之内。因此,本实用新型的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the utility model, but the scope of protection of the utility model is not limited thereto, and any person familiar with the technical field can easily think of various Equivalent modifications or replacements shall all fall within the protection scope of the present utility model. Therefore, the protection scope of the present utility model should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821892639.5U CN209356612U (en) | 2018-11-16 | 2018-11-16 | A test device for a four-port sensor signal splitter with LEDs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821892639.5U CN209356612U (en) | 2018-11-16 | 2018-11-16 | A test device for a four-port sensor signal splitter with LEDs |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209356612U true CN209356612U (en) | 2019-09-06 |
Family
ID=67783635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201821892639.5U Active CN209356612U (en) | 2018-11-16 | 2018-11-16 | A test device for a four-port sensor signal splitter with LEDs |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209356612U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109283424A (en) * | 2018-11-16 | 2019-01-29 | 上海工程技术大学 | Test device and method for four-port sensor signal splitter with LED |
CN112373420A (en) * | 2020-11-12 | 2021-02-19 | 内蒙古第一机械集团股份有限公司 | Bus branching device with open circuit detection function |
-
2018
- 2018-11-16 CN CN201821892639.5U patent/CN209356612U/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109283424A (en) * | 2018-11-16 | 2019-01-29 | 上海工程技术大学 | Test device and method for four-port sensor signal splitter with LED |
CN109283424B (en) * | 2018-11-16 | 2023-11-24 | 上海工程技术大学 | Testing device and method for four-port sensor signal deconcentrator with LED |
CN112373420A (en) * | 2020-11-12 | 2021-02-19 | 内蒙古第一机械集团股份有限公司 | Bus branching device with open circuit detection function |
CN112373420B (en) * | 2020-11-12 | 2022-12-30 | 内蒙古第一机械集团股份有限公司 | Bus branching device with open circuit detection function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109283424B (en) | Testing device and method for four-port sensor signal deconcentrator with LED | |
CN102707185B (en) | 2M cable tester | |
CN208367144U (en) | connection state diagnostic circuit and vehicle | |
CN209356612U (en) | A test device for a four-port sensor signal splitter with LEDs | |
CN202854270U (en) | A circuit test device for a signal transmission line | |
CN201812020U (en) | Automobile wiring harness conduction detection system | |
CN203535160U (en) | Simple wire harness conduction detector | |
CN106093685A (en) | The special line connector of cable | |
CN106872845A (en) | A kind of test equipment adapter connecting detection method | |
CN209356611U (en) | A signal wire harness conduction test device | |
CN202735450U (en) | 2M on-line cable tester | |
CN202421400U (en) | Checking tool for connection of multicore flat cables | |
CN202256549U (en) | Broken line detection circuit for high voltage transmission lines | |
CN202372603U (en) | Universal serial bus (USB) connecting wire detection device | |
CN205898939U (en) | Cable dedicated liner | |
CN203858316U (en) | Portable instrument for checking completed circuit, open circuit and short circuit condition of 5-core cable | |
CN205981495U (en) | Quick detection device of thermocouple | |
CN210119553U (en) | Detection apparatus for whether short circuit exists between each pin of DB plug | |
CN113884836B (en) | Cable secondary line calibrator | |
CN202383233U (en) | Diagnosis circuit for low-voltage differential signal cable of automobile | |
CN201477176U (en) | Cable wire number verification device | |
CN104122481A (en) | Multifunction cable detection device | |
CN200968976Y (en) | Circuit testing device | |
CN106019062B (en) | A kind of residual current coil breakage detection device and its detection method | |
CN202471890U (en) | Thread break detector for cables |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240619 Address after: 91-3 Luji Road, Luyuan Industrial Zone, Chuansha new town, Pudong New Area, Shanghai, 201322 Patentee after: SHANGHAI SICHUANG ELECTRIC EQUIPMENT Co.,Ltd. Country or region after: China Address before: 201620 No. 333, Longteng Road, Shanghai, Songjiang District Patentee before: SHANGHAI University OF ENGINEERING SCIENCE Country or region before: China |
|
TR01 | Transfer of patent right |