[go: up one dir, main page]

CN110032107A - The flogic system and control method of 4 road signal on-off are controlled by 3 relays - Google Patents

The flogic system and control method of 4 road signal on-off are controlled by 3 relays Download PDF

Info

Publication number
CN110032107A
CN110032107A CN201910302013.7A CN201910302013A CN110032107A CN 110032107 A CN110032107 A CN 110032107A CN 201910302013 A CN201910302013 A CN 201910302013A CN 110032107 A CN110032107 A CN 110032107A
Authority
CN
China
Prior art keywords
relay
control unit
mcu control
signal
usb
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.)
Granted
Application number
CN201910302013.7A
Other languages
Chinese (zh)
Other versions
CN110032107B (en
Inventor
罗向东
刘聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong University
Original Assignee
Nantong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nantong University filed Critical Nantong University
Priority to CN201910302013.7A priority Critical patent/CN110032107B/en
Publication of CN110032107A publication Critical patent/CN110032107A/en
Application granted granted Critical
Publication of CN110032107B publication Critical patent/CN110032107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Electronic Switches (AREA)

Abstract

本发明公开了一种由3个继电器控制4路信号通断的逻辑系统,其要点在于:包括MCU控制单元、继电器逻辑控制电路、USB电源接口电路、USB转TTL电平转换电路和信号输入输出接口单元。MCU控制单元用于对继电器逻辑控制电路进行访问控制。USB转TTL电平转换电路用于将USB电源接口电路接收到的USB电平转化为MCU控制单元能够识别的TTL电平。信号输入输出接口单元用于接天线、滤波器、AD转换器等仪器设备,实现模拟信号输入输出。继电器逻辑控制电路包括3个继电器,继电器触点之间通过级联实现信号通道的扩展,对信号输入输出接口单元的四路信号选择一路进行控制。

The invention discloses a logic system for controlling the on-off of 4-channel signals by 3 relays. The main point of the invention is that it includes an MCU control unit, a relay logic control circuit, a USB power supply interface circuit, a USB to TTL level conversion circuit and a signal input and output. interface unit. The MCU control unit is used for access control to the relay logic control circuit. The USB to TTL level conversion circuit is used to convert the USB level received by the USB power interface circuit into a TTL level that can be recognized by the MCU control unit. The signal input and output interface unit is used to connect antennas, filters, AD converters and other instruments and equipment to realize analog signal input and output. The relay logic control circuit includes 3 relays, and the relay contacts are cascaded to realize the expansion of the signal channel, and control the selection of one of the four signals of the signal input and output interface unit.

Description

由3个继电器控制4路信号通断的逻辑系统及控制方法Logic system and control method for on-off of 4-channel signals controlled by 3 relays

技术领域technical field

本发明涉及继电器控制系统领域,具体是一种由3个继电器来控制4路信号通断的逻辑系统及控制方法。The invention relates to the field of relay control systems, in particular to a logic system and a control method for controlling the on-off of four-channel signals by three relays.

背景技术Background technique

工业上经常需要采集多输入设备模拟信号,但是通过一台AD转换器来采集多路模拟信号存在很大的弊端,需要不停的插拔接口接头进行切换,显然比较麻烦,此外对精 密仪器或是AD转换器的接口也会造成磨损,降低其使用寿命。In the industry, it is often necessary to collect analog signals from multiple input devices. However, collecting multiple analog signals through an AD converter has great disadvantages. It needs to constantly plug and unplug the interface connectors to switch, which is obviously troublesome. The interface of the AD converter will also cause wear and tear, reducing its service life.

单片机又称为单片微控制器,它不是完成某一个逻辑功能的芯片,而是把一个计算 机系统集成到一个芯片上。目前单片机广泛应用于各种控制领域,如智能仪器仪表、医用设备、机器人等。继电器拥有类似于开关的作用,继电器被广泛地应用于各种电子设 备控制电路中,用于隔离控制信号与负载。某些特殊的输出要求只有控制信号按照预定 的逻辑顺序发出时,才能输出,而且通常情况下,利用一个继电器只能够控制一路信号 选通,而想要实现四路信号的选通通常需要四个继电器分别控制。目前,信号控制电路 一般采用芯片数字电路实现,电路较为复杂,对设计人员技术要求比较高。A single-chip microcomputer, also known as a single-chip microcontroller, is not a chip that completes a certain logic function, but integrates a computer system into a single chip. At present, single-chip microcomputers are widely used in various control fields, such as intelligent instruments, medical equipment, robots, etc. Relays have functions similar to switches. Relays are widely used in various electronic equipment control circuits to isolate control signals from loads. Some special output requirements can only be output when the control signal is sent out in a predetermined logical sequence, and usually, only one signal gating can be controlled by one relay, and four signals are usually required to realize the gating of four signals. The relays are controlled separately. At present, the signal control circuit is generally realized by chip digital circuit, the circuit is more complex, and the technical requirements for designers are relatively high.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种电路简单,实现方便,可以基于单片机来控制3个继电器选通4路信号的逻辑系统及控制方法。The purpose of the present invention is to provide a logic system and a control method with simple circuit and convenient implementation, which can control three relays to select four signals based on a single-chip microcomputer.

实现本发明目的的基本技术方案是:一种由3个继电器控制4路信号通断的逻辑系统,其结构特点是:包括MCU控制单元、继电器逻辑控制电路、USB电源接口电路、 USB转TTL电平转换电路和信号输入输出接口单元。MCU控制单元用于对继电器逻辑 控制电路进行访问控制。USB转TTL电平转换电路用于将USB电源接口电路接收到的 USB电平转化为MCU控制单元能够识别的TTL电平。信号输入输出接口单元用于接 天线、滤波器、AD转换器等仪器设备,实现模拟信号输入输出。继电器逻辑控制电路 包括3个继电器,继电器触点之间通过级联实现信号通道的扩展,对信号输入输出接口 单元的四路信号选择一路进行控制。The basic technical scheme for realizing the purpose of the present invention is: a logic system that controls the on-off of 4-way signals by 3 relays, and its structural characteristics are: including MCU control unit, relay logic control circuit, USB power interface circuit, USB to TTL power Flat conversion circuit and signal input and output interface unit. The MCU control unit is used for access control to the relay logic control circuit. The USB to TTL level conversion circuit is used to convert the USB level received by the USB power interface circuit into a TTL level that can be recognized by the MCU control unit. The signal input and output interface unit is used to connect antennas, filters, AD converters and other equipment to realize analog signal input and output. The relay logic control circuit includes 3 relays. The relay contacts are cascaded to realize the expansion of the signal channel, and control the four-way signal selection of the signal input and output interface unit.

以上述基本技术方案为基础的技术方案是:MCU控制单元设有第一晶振电路和复位电路。第一晶振电路用于给MCU控制单元提供时钟信号。复位电路用于使MCU控 制单元的程序计数器清零,让MCU控制单元稳定工作。The technical solution based on the above-mentioned basic technical solution is: the MCU control unit is provided with a first crystal oscillator circuit and a reset circuit. The first crystal oscillator circuit is used to provide a clock signal to the MCU control unit. The reset circuit is used to clear the program counter of the MCU control unit to make the MCU control unit work stably.

以上述相应技术方案为基础的技术方案是:USB电源接口电路包括USB母座M1、 第十电容C10、第十一极性电容C11和第九发光二极管D9。USB母座M1采用Micro USB 母座。电源接口电路的第十一极性电容C11采用铝电解电容,具有滤波和储能的作用, 能够让PC机稳定供电。第九发光二极管D9作为电源接口电路的上电指示灯,提示用 户系统通电。The technical solution based on the above corresponding technical solutions is: the USB power interface circuit includes a USB socket M1, a tenth capacitor C10, an eleventh polarity capacitor C11 and a ninth light emitting diode D9. The USB socket M1 adopts the Micro USB socket. The eleventh polarity capacitor C11 of the power interface circuit adopts an aluminum electrolytic capacitor, which has the functions of filtering and energy storage, and can make the PC power supply stably. The ninth light-emitting diode D9 is used as a power-on indicator of the power interface circuit, prompting the user that the system is powered on.

以上述相应技术方案为基础的技术方案是:USB转TTL电平转换电路包括电平转换芯片G1,它是一个USB总线的转接芯片,实现USB转串口、USB转IrDA红外或 者USB转打印口。电平转换芯片G1用于将USB电源接口电路接收到的USB电平转 化为MCU控制单元能够识别的TTL电平。The technical solution based on the above-mentioned corresponding technical solutions is: the USB to TTL level conversion circuit includes a level conversion chip G1, which is a USB bus transfer chip, and realizes USB to serial port, USB to IrDA infrared or USB to print port. . The level conversion chip G1 is used to convert the USB level received by the USB power interface circuit into the TTL level that the MCU control unit can recognize.

以上述相应技术方案为基础的技术方案是:USB转TTL电平转换电路设有第二晶振电路,第二晶振电路用于给电平转换芯片G1提供时钟信号。电平转换芯片G1采用 型号为CH340G的芯片。CH340G的UD+管脚与MICRO USB的D+管脚相连接,UD- 管脚与MICRO USB的D-管脚相连接。CH340G芯片的传输引脚TXD和接收引脚RXD 分别与MCU控制单元的接收引脚RXD和传输引脚TXD相连接。MCU控制单元的接 收引脚RXD用反向二极管D8与CH340G芯片的TXD引脚相连接,反向二极管D8采 用1N4148,防止有电流会通过这个引脚流入后级电路并且给后级的电容充电,造成后 级有一定幅度的电压,导致影响MCU控制单元下载程序的冷启动。The technical solution based on the above-mentioned corresponding technical solutions is: the USB to TTL level conversion circuit is provided with a second crystal oscillator circuit, and the second crystal oscillator circuit is used to provide a clock signal to the level conversion chip G1. The level conversion chip G1 adopts the chip of model CH340G. The UD+ pin of CH340G is connected with the D+ pin of MICRO USB, and the UD- pin is connected with the D- pin of MICRO USB. The transmission pin TXD and the reception pin RXD of the CH340G chip are respectively connected with the reception pin RXD and the transmission pin TXD of the MCU control unit. The receiving pin RXD of the MCU control unit is connected with the TXD pin of the CH340G chip with the reverse diode D8. The reverse diode D8 adopts 1N4148 to prevent the current from flowing into the post-stage circuit through this pin and charging the post-stage capacitor. It causes the voltage of the rear stage to have a certain magnitude, which will affect the cold start of the downloaded program of the MCU control unit.

以上述相应技术方案为基础的技术方案是:继电器逻辑控制电路的3个继电器分为 第一继电器U1、第二继电器U2和第三继电器U3。3个继电器均采用信号继电器,所 述信号继电器控制电压为5V,触点形式为:DPDT。该信号继电器有8个引脚,包括继 电器线圈的正负极引脚,一对常开触点、一对常闭触点和一对公共端触点,与信号的隔 离效果非常好。The technical scheme based on the above-mentioned corresponding technical scheme is: the three relays of the relay logic control circuit are divided into a first relay U1, a second relay U2 and a third relay U3. The three relays all use signal relays, and the signal relays control The voltage is 5V, and the contact form is: DPDT. The signal relay has 8 pins, including the positive and negative pins of the relay coil, a pair of normally open contacts, a pair of normally closed contacts and a pair of common terminal contacts, and the isolation effect from the signal is very good.

第一继电器U1的线圈与第一PNP型三极管Q1串接后,继电器线圈两端并接一个 第一续流二极管D1,第一PNP型三极管Q1一端接电源+5V,第一PNP型三极管Q1 的栅极接MCU控制单元的继电器控制IO端口P23,同时串接第二电阻R2,第一电阻 R1作为IO端口的上拉电阻。After the coil of the first relay U1 is connected in series with the first PNP transistor Q1, both ends of the relay coil are connected in parallel with a first freewheeling diode D1, one end of the first PNP transistor Q1 is connected to the power supply +5V, and the first PNP transistor Q1 The gate is connected to the relay control IO port P23 of the MCU control unit, and at the same time, the second resistor R2 is connected in series, and the first resistor R1 is used as a pull-up resistor of the IO port.

第二继电器U2的线圈与第二PNP型三极管Q2串接后,继电器线圈两端并接一个 第二续流二极管D2,第二PNP型三极管Q2一端接电源+5V,第二PNP型三极管Q2 的栅极接MCU控制单元的继电器控制IO端口P22,同时串接第四电阻R4,第三电阻 R3作为IO端口的上拉电阻。After the coil of the second relay U2 is connected in series with the second PNP transistor Q2, both ends of the relay coil are connected in parallel with a second freewheeling diode D2, one end of the second PNP transistor Q2 is connected to the power supply +5V, and the second PNP transistor Q2 The gate is connected to the relay control IO port P22 of the MCU control unit, and at the same time, a fourth resistor R4 is connected in series, and the third resistor R3 is used as a pull-up resistor of the IO port.

第三继电器U3的线圈与第三PNP型三极管Q3串接后,继电器线圈两端并接一个 第三续流二极管D3,第三PNP型三极管Q3一端接电源+5V,第三PNP型三极管Q3 的栅极接MCU控制单元的继电器控制IO端口P21,同时串接第六电阻R6,第五电阻 R5作为IO端口的上拉电阻。After the coil of the third relay U3 is connected in series with the third PNP triode Q3, both ends of the relay coil are connected in parallel with a third freewheeling diode D3, one end of the third PNP triode Q3 is connected to the power supply +5V, and the third PNP triode Q3 The gate is connected to the relay control IO port P21 of the MCU control unit, while the sixth resistor R6 is connected in series, and the fifth resistor R5 is used as a pull-up resistor of the IO port.

第一路模拟信号通道是从第一继电器U1的常闭触点输入,并与它的公共端触点相连接经由第三继电器U3的常闭触点,再从第三继电器U3的公共端触点输出信号,它 是MCU控制单元的P23口给第一继电器U1发送高电平,同时P21口给第三继电器U3 发送高电平。The first analog signal channel is input from the normally closed contact of the first relay U1, and is connected to its common terminal contact via the normally closed contact of the third relay U3, and then is contacted from the common terminal of the third relay U3. Point output signal, it is that the P23 port of the MCU control unit sends a high level to the first relay U1, and at the same time, the P21 port sends a high level to the third relay U3.

第二路模拟信号通道是从第一继电器U1的常开触点输入,并与它的公共端触点相连接经由第三继电器U3的常闭触点,再从第三继电器U3的公共端触点输出信号,导 通条件是MCU控制单元的P23口给第一继电器U1发送低电平,同时P21口给第三继 电器发送高电平。The second analog signal channel is input from the normally open contact of the first relay U1, and is connected to its common terminal contact via the normally closed contact of the third relay U3, and then is contacted from the common terminal of the third relay U3. Point output signal, the conduction condition is that the P23 port of the MCU control unit sends a low level to the first relay U1, and at the same time, the P21 port sends a high level to the third relay.

第三路模拟信号通道是从第二继电器U2的常闭触点输入,并与它的公共端触点相连接经由第三继电器U3的常开触点,再从第三继电器U3的公共端触点输出信号,导 通条件是MCU控制单元的P22口给第二继电器U2发送高电平,同时P21口给第三继 电器U3发送低电平。The third analog signal channel is input from the normally closed contact of the second relay U2, and is connected to its common terminal contact via the normally open contact of the third relay U3, and then is contacted from the common terminal of the third relay U3. Point output signal, the conduction condition is that the P22 port of the MCU control unit sends a high level to the second relay U2, and at the same time, the P21 port sends a low level to the third relay U3.

第四路模拟信号通道是从第二继电器的常开触点输入,并与它的公共端触点相连接 经由第三继电器U3的常开触点,再从第三继电器U3的公共端触点输出信号,导通条 件是MCU控制单元的P22口给第一继电器U1发送低电平,同时P21口给第三继电器 U3发送低电平。The fourth analog signal channel is input from the normally open contact of the second relay, and is connected to its common terminal contact via the normally open contact of the third relay U3, and then from the common terminal contact of the third relay U3. The output signal, the conduction condition is that the P22 port of the MCU control unit sends a low level to the first relay U1, and at the same time, the P21 port sends a low level to the third relay U3.

以上述相应技术方案为基础的技术方案是:还包括信号选通指示电路。信号选通指 示电路由四个发光二极管和第三负载电阻组成。四个发光二极管分别为第四发光二极管 D4、第五发光二极管D5、第六发光二级管D6和第七发光二极管D7。第三负载电阻包 括第十一电阻R11、第十二电阻R12、第十三电阻R13和第十四电阻R14。第四发光二 极管D4和第十一电阻R11串联在+5V电源与MCU控制单元的P24脚之间。第五发光 二极管D5和第十二电阻R12串联在+5V电源与MCU控制单元的P25脚之间。第六发 光二级管D6和第十三电阻R13串联在+5V电源与MCU控制单元的P26脚之间。第七 发光二极管D7和第十四电阻R14串联在+5V电源与MCU控制单元的P27脚之间。The technical solution based on the above-mentioned corresponding technical solution is as follows: a signal gating indication circuit is further included. The signal strobe indication circuit consists of four light-emitting diodes and a third load resistor. The four light-emitting diodes are respectively a fourth light-emitting diode D4, a fifth light-emitting diode D5, a sixth light-emitting diode D6 and a seventh light-emitting diode D7. The third load resistor includes an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13 and a fourteenth resistor R14. The fourth light-emitting diode D4 and the eleventh resistor R11 are connected in series between the +5V power supply and the P24 pin of the MCU control unit. The fifth light-emitting diode D5 and the twelfth resistor R12 are connected in series between the +5V power supply and the P25 pin of the MCU control unit. The sixth light-emitting diode D6 and the thirteenth resistor R13 are connected in series between the +5V power supply and the P26 pin of the MCU control unit. The seventh LED D7 and the fourteenth resistor R14 are connected in series between the +5V power supply and the P27 pin of the MCU control unit.

由3个继电器控制4路信号通断的逻辑系统的控制方法具有以下步骤:The control method of the logic system in which the on-off of 4 channels of signals is controlled by 3 relays has the following steps:

一、单片机C语言编程。在选择信号通道的时候,采用case选择语句。First, the single-chip C language programming. When selecting a signal channel, use the case selection statement.

二、发送数据单元0x01代表IN1信号通道,MCU控制单元的IO脚P23输出高电 平,使第一PNP三极管Q1截止,此时第一继电器U1线圈两端没有电压,故第一继电 器U1没有工作,它的常闭触点与公共端触点闭合,IN1支路导通,第四发光二极管D4 赋值为0,灯亮代表IN1路选通。同时MCU控制单元的IO脚P21输出高电平,使第三 PNP三极管Q3截止,此时第三继电器U3线圈两端没有电压,故第三继电器U3没有工 作,它的常闭触点与公共端触点闭合,OUT支路导通,从而第一路模拟信号通道导通。2. The sending data unit 0x01 represents the IN1 signal channel. The IO pin P23 of the MCU control unit outputs a high level, which turns off the first PNP transistor Q1. At this time, there is no voltage across the coil of the first relay U1, so the first relay U1 does not work , its normally closed contact and the common end contact are closed, the IN1 branch is turned on, the fourth light-emitting diode D4 is assigned a value of 0, and the light is on to indicate that the IN1 road is strobe. At the same time, the IO pin P21 of the MCU control unit outputs a high level, which turns off the third PNP transistor Q3. At this time, there is no voltage across the coil of the third relay U3, so the third relay U3 does not work, and its normally closed contact is connected to the common terminal. The contact is closed, and the OUT branch is turned on, so that the first analog signal channel is turned on.

三、发送数据单元0x02代表IN2信号通道,MCU控制单元的IO脚P23输出低电 平,使第一PNP三极管Q1导通,此时第一继电器U1线圈两端电压为5V,故第一继电 器U1开始工作,它的常闭触点断开,常开触点与公共端触点闭合,IN2支路导通,第 五发光二极管D5赋值为0,灯亮代表IN2路选通。同时MCU控制单元的IO脚P21输 出高电平,使第三PNP三极管Q3截止,此时第三继电器U3线圈两端没有电压,故第 三继电器U3没有工作,它的常闭触点与公共端触点闭合,OUT支路导通,从而第二路 信号通道导通。3. The sending data unit 0x02 represents the IN2 signal channel. The IO pin P23 of the MCU control unit outputs a low level to turn on the first PNP transistor Q1. At this time, the voltage across the coil of the first relay U1 is 5V, so the first relay U1 When it starts to work, its normally closed contact is disconnected, the normally open contact and the common terminal contact are closed, the IN2 branch is turned on, the fifth light-emitting diode D5 is assigned a value of 0, and the light is on to indicate that the IN2 circuit is gated. At the same time, the IO pin P21 of the MCU control unit outputs a high level, which turns off the third PNP transistor Q3. At this time, there is no voltage across the coil of the third relay U3, so the third relay U3 does not work, and its normally closed contact is connected to the common terminal. The contact is closed, and the OUT branch is turned on, so that the second signal channel is turned on.

四、发送数据单元0x03代表IN3信号通道,MCU控制单元的IO脚P22输出高电 平,使第二PNP三极管Q2截止,此时第二继电器U2线圈两端没有电压,故第二继电 器U2没有工作,它的常闭触点与公共端触点闭合,IN3支路导通,第六发光二级管D6 赋值为0,灯亮代表IN3路选通。同时MCU控制单元的IO脚P21输出低电平,使第三 PNP三极管Q3导通,此时第三继电器U3线圈两端电压为5V,故第三继电器U3开始 工作,常闭触点断开,常开触点与公共端触点闭合,OUT支路导通,从而第三路信号 通道导通。4. The sending data unit 0x03 represents the IN3 signal channel. The IO pin P22 of the MCU control unit outputs a high level, so that the second PNP transistor Q2 is turned off. At this time, there is no voltage across the coil of the second relay U2, so the second relay U2 does not work , its normally closed contact and the common end contact are closed, the IN3 branch is turned on, the sixth light-emitting diode D6 is assigned a value of 0, and the light is on to indicate that the IN3 road is strobe. At the same time, the IO pin P21 of the MCU control unit outputs a low level, so that the third PNP transistor Q3 is turned on. At this time, the voltage across the coil of the third relay U3 is 5V, so the third relay U3 starts to work, and the normally closed contact is disconnected. The normally open contact and the common terminal contact are closed, and the OUT branch is turned on, so that the third signal channel is turned on.

五、发送数据单元0x04代表IN4信号通道,MCU控制单元的IO脚P22输出低电 平,使第二PNP三极管Q2导通,此时第二继电器U2线圈两端电压为5V,故第二继电 器U2开始工作,它的常闭触点断开,常开触点与公共端触点闭合,IN4支路导通,第 七发光二级管D7赋值为0,灯亮代表IN4路选通。同时MCU控制单元的IO脚P21输 出低电平,使第三PNP三极管Q3导通,此时第三继电器U3线圈两端电压为5V,故第 三继电器U3开始工作,常闭触点断开,常开触点与公共端触点闭合,OUT支路导通, 从而第四路信号通道导通。5. The sending data unit 0x04 represents the IN4 signal channel. The IO pin P22 of the MCU control unit outputs a low level, which makes the second PNP transistor Q2 conduct. At this time, the voltage across the coil of the second relay U2 is 5V, so the second relay U2 When it starts to work, its normally closed contact is disconnected, the normally open contact and the common terminal contact are closed, the IN4 branch is turned on, the seventh light-emitting diode D7 is assigned a value of 0, and the light is on to indicate that the IN4 is gated. At the same time, the IO pin P21 of the MCU control unit outputs a low level, so that the third PNP transistor Q3 is turned on. At this time, the voltage across the coil of the third relay U3 is 5V, so the third relay U3 starts to work, and the normally closed contact is disconnected. The normally open contact and the common terminal contact are closed, and the OUT branch is turned on, so that the fourth signal channel is turned on.

本发明具有以下的有益效果:(1)本发明的电路简单、实现方便,基于单片机采用三个信号继电器就实现了对四路信号的采集和控制,方便地与上位机完成通信,控制多 台仪器设备的信号输入,实现对设备输入信号的准确控制,即能够按照指定仪器设备采 集模拟信号,对四路信号选择一路进行控制,大大的提高了设备之间的控制效率和精确 度。The present invention has the following beneficial effects: (1) the circuit of the present invention is simple and easy to implement, and the collection and control of four-way signals are realized by using three signal relays based on the single-chip microcomputer, and the communication with the host computer is conveniently completed, and the control of multiple The signal input of the instrument equipment realizes the accurate control of the input signal of the equipment, that is, the analog signal can be collected according to the designated equipment and equipment, and one of the four signals can be selected for control, which greatly improves the control efficiency and accuracy between the equipment.

(2)本发明可以通过USB数据线连接至电脑上,用户通过上位机发送数据对设备信号的输入输出进行远程控制和精确控制。(2) The present invention can be connected to a computer through a USB data line, and the user can remotely control and precisely control the input and output of the device signal by sending data from the host computer.

(3)本发明利用三个信号继电器来实现对四路模拟信号的选通控制,大大节约了成本。(3) The present invention utilizes three signal relays to realize the gating control of four analog signals, which greatly saves the cost.

(4)通过本发明对四路信号选择,无需插拔接口接头进行切换,保护接口不易损坏,大大提高了设备仪器的使用持久性。(4) The present invention selects four-way signals without plugging and unplugging the interface connector to switch, the protection interface is not easy to be damaged, and the use durability of the equipment is greatly improved.

(5)本发明中的继电器选用型号为G6J-2P-Y-DC5V的信号继电器,与信号的隔离效果非常好。其控制电压为5V,触点形式为:DPDT。该信号继电器有8个引脚,包括继 电器线圈的正负极引脚,一对常开触点、一对常闭触点和一对公共端触点。(5) The relay in the present invention selects the signal relay with the model G6J-2P-Y-DC5V, and the isolation effect from the signal is very good. Its control voltage is 5V, and the contact form is: DPDT. The signal relay has 8 pins, including the positive and negative pins of the relay coil, a pair of normally open contacts, a pair of normally closed contacts and a pair of common terminal contacts.

(6)本发明的基于单片机来控制3个继电器选通4路信号的逻辑系统的控制方法通过继电器触点之间的级联实现信号通道的扩展,同理,还可以实现用3N只继电器控 制4N路信号通断的逻辑系统,N为自然数,应用前景广泛。(6) The control method of the logic system based on the single chip microcomputer of the present invention to control 3 relays to select 4 channels of signals realizes the expansion of the signal channel through the cascade connection between the relay contacts. Similarly, it is also possible to use 3N relays to control The logic system of 4N signals on and off, N is a natural number, and has a wide application prospect.

附图说明Description of drawings

图1为本发明的由3个信号继电器控制4路信号通断的逻辑系统结构框图。FIG. 1 is a block diagram of the logic system structure of the present invention in which the on-off of 4-channel signals is controlled by 3 signal relays.

图2是本发明的电路原理图。FIG. 2 is a circuit schematic diagram of the present invention.

图3为图2中MCU控制单元的放大电路原理图。FIG. 3 is a schematic diagram of the amplification circuit of the MCU control unit in FIG. 2 .

图4为图2中继电器逻辑控制电路的放大电路原理图。FIG. 4 is a schematic diagram of an amplification circuit of the relay logic control circuit in FIG. 2 .

图5是本发明的3个继电器控制4路信号的逻辑方法图。FIG. 5 is a diagram of the logic method of the present invention for controlling 4 signals by 3 relays.

图6为图2中USB电源接口电路的放大电路原理图。FIG. 6 is a schematic diagram of an amplification circuit of the USB power interface circuit in FIG. 2 .

图7为图2中USB转TTL电平转换电路的放大电路原理图。FIG. 7 is a schematic diagram of the amplification circuit of the USB-to-TTL level conversion circuit in FIG. 2 .

图8是本发明的由3个信号继电器来控制4路信号通断的逻辑系统的真值表(0、1表示高低电平,X表示与单片机P2口的电平无关)。8 is the truth table of the logic system of the present invention in which 3 signal relays are used to control the on-off of 4-channel signals (0, 1 represent high and low levels, X represents nothing to do with the level of the P2 port of the single-chip microcomputer).

图9是本发明在四路信号分别被选通情况下,用万用表欧姆档对被选通输入输出口 测量得到的结果验证图。(触点2和7是常闭触点对,触点4和5是常开触点对,/表示 继电器触点工作状态任意)。Fig. 9 is a result verification diagram obtained by measuring the gated input and output ports with a multimeter ohm gear according to the present invention under the condition that four-way signals are gated respectively. (Contacts 2 and 7 are normally closed contact pairs, contacts 4 and 5 are normally open contact pairs, / indicates that the relay contacts work in any state).

附图中的标号为:The numbers in the attached drawings are:

MCU控制单元1,MCU control unit 1,

继电器逻辑控制电路2,Relay logic control circuit 2,

USB电源接口电路3,USB power interface circuit 3,

USB转TTL电平转换电路4,USB to TTL level conversion circuit 4,

信号输入输出接口单元5,Signal input and output interface unit 5,

信号选通指示电路6,Signal strobe indication circuit 6,

复位电路10,复位按钮100。Reset circuit 10, reset button 100.

具体实施方式Detailed ways

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发 明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对 重要性。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present invention, the terms 'first', 'second', etc. are only used to distinguish the description, and cannot be construed as indicating or implying relative importance.

(实施例1)(Example 1)

见图1至图7,本发明的由3个继电器控制4路信号通断的逻辑系统包括MCU控 制单元1、继电器逻辑控制电路2、USB电源接口电路3、USB转TTL电平转换电路4、 信号输入输出接口单元5和信号选通指示电路6。Referring to Figures 1 to 7, the logic system of the present invention in which 4-way signals are controlled by 3 relays includes an MCU control unit 1, a relay logic control circuit 2, a USB power interface circuit 3, a USB-to-TTL level conversion circuit 4, Signal input and output interface unit 5 and signal strobe indication circuit 6 .

MCU控制单元1采用STC公司的型号为STC89C52的低功耗、高性能CMOS 8位 微控制器,具有8K字节系统可编程Flash存储器。MCU控制单元1用于对继电器逻辑 控制电路2进行访问控制。MCU控制单元1设有第一晶振电路和复位电路10。The MCU control unit 1 adopts a low-power, high-performance CMOS 8-bit microcontroller of the STC company's model STC89C52, with 8K bytes of system programmable Flash memory. The MCU control unit 1 is used for access control to the relay logic control circuit 2. The MCU control unit 1 is provided with a first crystal oscillator circuit and a reset circuit 10 .

第一晶振电路包括第二电容C2、第三电容C3和第一晶振Y1。第一晶振电路用于 给MCU控制单元1提供时钟信号。在MCU控制单元1的X1和X2引脚之间连接一个 11.0592MHz的第一晶振Y2,在X1引脚接第二负载电容C2,在X2引脚接第三负载电容 C3,第一晶振Y1将提供所需的时钟信号。The first crystal oscillator circuit includes a second capacitor C2, a third capacitor C3 and a first crystal oscillator Y1. The first crystal oscillator circuit is used to provide the MCU control unit 1 with a clock signal. A 11.0592MHz first crystal oscillator Y2 is connected between the X1 and X2 pins of the MCU control unit 1, the second load capacitor C2 is connected to the X1 pin, and the third load capacitor C3 is connected to the X2 pin. The first crystal oscillator Y1 will Provide the required clock signal.

复位电路10包括复位按钮100、第一负载电阻和第四极性电容C4。复位电路10用于使MCU控制单元1的程序计数器清零,让MCU控制单元1稳定工作。第一负载电 阻包括第七电阻R7和第八电阻R8。复位按钮100电连接在第七电阻R7和第四极性电 容C4的正极之间,第七电阻R7与第四极性电容C4的负极电连接。第八电阻R8一端 接地,另一端与第四极性电容C4的负极电连接。第四极性电容C4的正极接+5V电源。The reset circuit 10 includes a reset button 100, a first load resistor and a fourth polarity capacitor C4. The reset circuit 10 is used for clearing the program counter of the MCU control unit 1 to make the MCU control unit 1 work stably. The first load resistor includes a seventh resistor R7 and an eighth resistor R8. The reset button 100 is electrically connected between the seventh resistor R7 and the positive electrode of the fourth polarity capacitor C4, and the seventh resistor R7 is electrically connected to the negative electrode of the fourth polarity capacitor C4. One end of the eighth resistor R8 is grounded, and the other end is electrically connected to the negative electrode of the fourth polarity capacitor C4. The positive pole of the fourth polarity capacitor C4 is connected to the +5V power supply.

USB电源接口电路3包括USB母座M1、第二负载电阻、第十电容C10、第十一极 性电容C11和第九发光二极管D9。The USB power interface circuit 3 includes a USB socket M1, a second load resistor, a tenth capacitor C10, an eleventh polarity capacitor C11 and a ninth light emitting diode D9.

USB母座M1采用Micro USB母座,Micro USB连接器比标准USB和Mini USB连 接器更小,节省空间,具有高达10000次的插拔寿命和强度,盲插结构设计。Micro USB 标准支持目前USB的OTG功能,即在没有主机的情况下,便携设备之间可直接实现数 据传输,兼容USB1.1和USB 2.0,同时提供数据传输和充电,Micro USB通用性广,使 用方便。Micro USB插头端有5个功能管脚,分别为:VBUS(电源正5V)、D-(数据线负)、 D+(数据线正)、ID(又分为与线相连和不与地线相连的两种接口)、GND(信号地线),本 实施例中不需要用到ID管脚。电源接口电路3的第十一极性电容C11采用铝电解电容, 具有滤波和储能的作用,能够让PC机稳定供电。第九发光二极管D9作为电源接口电 路的上电指示灯,提示用户系统通电。第十电容C10和第十一极性电容C11并联。VBUS 与第十一极性电容C11的正极和第十电容C10电连接;第十一极性电容C11的负极接 地。第二负载电阻包括第九电阻R9和第十电阻R10。D-与第十电阻R10的一端电连接。 D+与第九电阻R9的一端电连接。The USB female socket M1 adopts the Micro USB female socket. The Micro USB connector is smaller than the standard USB and Mini USB connectors, which saves space and has a plug life and strength of up to 10,000 times. The blind plug structure is designed. The Micro USB standard supports the current USB OTG function, that is, in the absence of a host, data transmission can be directly realized between portable devices, compatible with USB1.1 and USB 2.0, and provides data transmission and charging at the same time. convenient. There are 5 functional pins on the Micro USB plug end, namely: VBUS (power supply positive 5V), D- (data line negative), D+ (data line positive), ID (also divided into connected to the line and not connected to the ground line) two interfaces), GND (signal ground), the ID pin is not needed in this embodiment. The eleventh polarity capacitor C11 of the power interface circuit 3 adopts an aluminum electrolytic capacitor, which has the functions of filtering and energy storage, and can make the PC power supply stably. The ninth light-emitting diode D9 is used as a power-on indicator of the power interface circuit, prompting the user to power on the system. The tenth capacitor C10 and the eleventh polarity capacitor C11 are connected in parallel. VBUS is electrically connected to the positive electrode of the eleventh polarity capacitor C11 and the tenth capacitor C10; the negative electrode of the eleventh polarity capacitor C11 is grounded. The second load resistor includes a ninth resistor R9 and a tenth resistor R10. D- is electrically connected to one end of the tenth resistor R10. D+ is electrically connected to one end of the ninth resistor R9.

USB转TTL电平转换电路4包括电平转换芯片G1,本实施例中电平转换芯片G1 的型号为CH340G,它是一个USB总线的转接芯片,实现USB转串口、USB转IrDA 红外或者USB转打印口。单片机串口(TTL电平)想和电脑串口(USB电平)通信, 就需要使得两者的电平逻辑一样才可以通信。本实施例中,CH340G芯片用于将USB 母座M1接收到的USB电平转化为MCU控制单元1能够识别的TTL电平。USB转TTL 电平转换电路4设有第二晶振电路,第二晶振电路用于给CH340G芯片提供时钟信号, 第二晶振电路设置在CH340G芯片的XI和XO引脚。第二晶振电路包括第五电容C5、 第六电容C6和第二晶振Y2。The USB to TTL level conversion circuit 4 includes a level conversion chip G1. In this embodiment, the model of the level conversion chip G1 is CH340G, which is a USB bus conversion chip, which can realize USB to serial port, USB to IrDA infrared or USB Turn the print port. If the serial port of the microcontroller (TTL level) wants to communicate with the serial port of the computer (USB level), it is necessary to make the level logic of the two to be the same before they can communicate. In this embodiment, the CH340G chip is used to convert the USB level received by the USB socket M1 into a TTL level that can be recognized by the MCU control unit 1 . The USB to TTL level conversion circuit 4 is provided with a second crystal oscillator circuit, which is used to provide a clock signal to the CH340G chip, and the second crystal oscillator circuit is arranged on the XI and XO pins of the CH340G chip. The second crystal oscillator circuit includes a fifth capacitor C5, a sixth capacitor C6 and a second crystal oscillator Y2.

CH340G的UD+管脚与MICRO USB的D+管脚相连接,UD-管脚与MICRO USB 的D-管脚相连接。CH340G芯片的传输引脚TXD和接收引脚RXD分别与MCU控制单 元1的接收引脚RXD和传输引脚TXD相连接。MCU控制单元1的接收引脚RXD用 反向二极管D8与CH340G芯片的TXD引脚相连接,反向二极管D8采用1N4148,防 止有电流会通过这个引脚流入后级电路并且给后级的电容充电,造成后级有一定幅度的 电压,导致影响MCU控制单元1下载程序的冷启动。The UD+ pin of CH340G is connected with the D+ pin of MICRO USB, and the UD- pin is connected with the D- pin of MICRO USB. The transmission pin TXD and the reception pin RXD of the CH340G chip are respectively connected with the reception pin RXD and the transmission pin TXD of the MCU control unit 1. The receiving pin RXD of the MCU control unit 1 is connected with the TXD pin of the CH340G chip with the reverse diode D8. The reverse diode D8 adopts 1N4148 to prevent the current from flowing into the post-stage circuit through this pin and charging the post-stage capacitor. , resulting in a voltage of a certain magnitude in the rear stage, which will affect the cold start of the downloaded program of the MCU control unit 1.

USB转TTL电平转换电路4的原理:CH340G芯片内置USB总线上拉电阻和片内信 号端,UD+和UD-引脚应直接连接到USB总线上。CH340G内置了上电复位电路。在操作 期间,CH340G需要在XI引脚上提供12MHz的时钟信号。通常这个时钟信号是通过在XI 和XO引脚之间连接一个12MHz的第二晶振Y2,在XI引脚接第五负载电容C5,在XO 引脚接第六负载电容C6,内置的第二晶振Y2将提供所需的时钟信号。当使用外部振荡 器将时钟信号送入XI引脚,并使XO引脚悬空。CH340G支持5V操作,当使用5V操作时, 向VCC引脚提供5V电压。Principle of USB to TTL level conversion circuit 4: CH340G chip has built-in USB bus pull-up resistor and on-chip signal terminal, UD+ and UD- pins should be directly connected to the USB bus. CH340G has built-in power-on reset circuit. During operation, CH340G needs to provide 12MHz clock signal on XI pin. Usually this clock signal is connected by a 12MHz second crystal oscillator Y2 between the XI and XO pins, the fifth load capacitor C5 at the XI pin, and the sixth load capacitor C6 at the XO pin. The built-in second crystal oscillator Y2 will provide the required clock signal. When using an external oscillator to send the clock signal to the XI pin, leave the XO pin floating. CH340G supports 5V operation, when using 5V operation, supply 5V voltage to VCC pin.

信号选通指示电路6由四个发光二极管和第三负载电阻组成。四个发光二极管分别 为第四发光二极管D4、第五发光二极管D5、第六发光二级管D6和第七发光二极管D7。 第三负载电阻包括第十一电阻R11、第十二电阻R12、第十三电阻R13和第十四电阻 R14。第四发光二极管D4和第十一电阻R11串联在+5V电源与MCU控制单元1的P24 脚之间。第五发光二极管D5和第十二电阻R12串联在+5V电源与MCU控制单元1的 P25脚之间。第六发光二级管D6和第十三电阻R13串联在+5V电源与MCU控制单元1 的P26脚之间。第七发光二极管D7和第十四电阻R14串联在+5V电源与MCU控制单 元1的P27脚之间。具体实现方式通过给MCU控制单元1下载的程序完成,用户只需 在上位机上传送数据单元,观察即可。在某一路信号选通之后,对应该路信号的发光二 极管发光,指示用户该路信号成功选通:IN1信号通道选通,第四发光二极管D4亮; IN2信号通道选通,第五发光二极管D5亮;IN3信号通道选通,第六发光二极管D6亮; IN4信号通道选通,第七发光二极管D7亮。The signal gating indication circuit 6 is composed of four light-emitting diodes and a third load resistor. The four light emitting diodes are a fourth light emitting diode D4, a fifth light emitting diode D5, a sixth light emitting diode D6 and a seventh light emitting diode D7. The third load resistor includes an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13 and a fourteenth resistor R14. The fourth light-emitting diode D4 and the eleventh resistor R11 are connected in series between the +5V power supply and the P24 pin of the MCU control unit 1 . The fifth light-emitting diode D5 and the twelfth resistor R12 are connected in series between the +5V power supply and the P25 pin of the MCU control unit 1. The sixth light-emitting diode D6 and the thirteenth resistor R13 are connected in series between the +5V power supply and the P26 pin of the MCU control unit 1 . The seventh LED D7 and the fourteenth resistor R14 are connected in series between the +5V power supply and the P27 pin of the MCU control unit 1. The specific implementation is completed by the program downloaded to the MCU control unit 1, and the user only needs to transmit the data unit on the upper computer and observe it. After a certain signal is gated, the light-emitting diode corresponding to this signal will light up, indicating to the user that the signal is successfully gated: the IN1 signal channel is gated, the fourth LED D4 is on; the IN2 signal channel is gated, the fifth LED D5 ON; IN3 signal channel is gated, the sixth LED D6 is ON; IN4 signal channel is gated, the seventh LED D7 is ON.

信号输入输出接口单元5是由6个90度弯SMA接头母座组成,6个SMA接头母 座依次分为第一SMA接头母座P1、第二SMA接头母座P2、第三SMA接头母座P3、 第四SMA接头母座P4、第五SMA接头母座P5和第六SMA接头母座P6。其中第一 SMA接头母座P1、第二SMA接头母座P2、第三SMA接头母座P3、第四SMA接头 母座P4作为四路信号的输入接口,第五SMA接头母座P5作为信号的输出接口,第六 SMA接头母座P6作为可单独供电的电源接口。SMA接头母座用于接天线、滤波器、 AD转换器等仪器设备,实现模拟信号输入输出。The signal input and output interface unit 5 is composed of 6 SMA connector sockets with a 90-degree bend, and the 6 SMA socket sockets are divided into the first SMA socket socket P1, the second SMA socket socket P2, and the third SMA socket socket in turn. P3, the fourth SMA connector female seat P4, the fifth SMA connector female seat P5, and the sixth SMA connector female seat P6. The first SMA connector female seat P1, the second SMA connector female seat P2, the third SMA connector female seat P3, and the fourth SMA connector female seat P4 are used as the input interface of the four-way signal, and the fifth SMA connector female seat P5 is used as the signal input interface. Output interface, the sixth SMA connector female seat P6 is used as a power interface that can be powered independently. The SMA connector socket is used to connect instruments such as antennas, filters, AD converters, etc., to realize analog signal input and output.

继电器逻辑控制电路2包括3个继电器,3个继电器分为第一继电器U1、第二继电器U2和第三继电器U3。3个继电器均采用欧姆龙的型号为G6J-2P-Y-DC5V的信号继 电器,该信号继电器是一种小规格专门用来处理模拟信号的信号继电器,其控制电压为 5V,触点形式为:DPDT。该信号继电器有8个引脚,包括继电器线圈的正负极引脚, 一对常开触点、一对常闭触点和一对公共端触点,与信号的隔离效果非常好。The relay logic control circuit 2 includes 3 relays, and the 3 relays are divided into the first relay U1, the second relay U2 and the third relay U3. The three relays all use Omron's signal relay model G6J-2P-Y-DC5V, The signal relay is a small-sized signal relay specially used to process analog signals. Its control voltage is 5V, and the contact form is: DPDT. The signal relay has 8 pins, including the positive and negative pins of the relay coil, a pair of normally open contacts, a pair of normally closed contacts and a pair of common terminal contacts, and the isolation effect from the signal is very good.

第一继电器U1的线圈与第一PNP型三极管Q1串接后,继电器线圈两端并接一个 第一续流二极管D1,第一PNP型三极管Q1一端接电源+5V,第一PNP型三极管Q1 的栅极接MCU控制单元1的继电器控制IO端口P23,同时串接第二电阻R2,第一电 阻R1作为IO端口的上拉电阻。After the coil of the first relay U1 is connected in series with the first PNP transistor Q1, both ends of the relay coil are connected in parallel with a first freewheeling diode D1, one end of the first PNP transistor Q1 is connected to the power supply +5V, and the first PNP transistor Q1 The gate is connected to the relay control IO port P23 of the MCU control unit 1, and at the same time, a second resistor R2 is connected in series, and the first resistor R1 is used as a pull-up resistor of the IO port.

第二继电器U2的线圈与第二PNP型三极管Q2串接后,继电器线圈两端并接一个 第二续流二极管D2,第二PNP型三极管Q2一端接电源+5V,第二PNP型三极管Q2 的栅极接MCU控制单元1的继电器控制IO端口P22,同时串接第四电阻R4,第三电 阻R3作为IO端口的上拉电阻。After the coil of the second relay U2 is connected in series with the second PNP transistor Q2, both ends of the relay coil are connected in parallel with a second freewheeling diode D2, one end of the second PNP transistor Q2 is connected to the power supply +5V, and the second PNP transistor Q2 The gate is connected to the relay control IO port P22 of the MCU control unit 1, and at the same time, a fourth resistor R4 is connected in series, and the third resistor R3 is used as a pull-up resistor of the IO port.

第三继电器U3的线圈与第三PNP型三极管Q3串接后,继电器线圈两端并接一个 第三续流二极管D3,第三PNP型三极管Q3一端接电源+5V,第三PNP型三极管Q3 的栅极接MCU控制单元1的继电器控制IO端口P21,同时串接第六电阻R6,第五电 阻R5作为IO端口的上拉电阻。After the coil of the third relay U3 is connected in series with the third PNP triode Q3, both ends of the relay coil are connected in parallel with a third freewheeling diode D3, one end of the third PNP triode Q3 is connected to the power supply +5V, and the third PNP triode Q3 The gate is connected to the relay control IO port P21 of the MCU control unit 1, and at the same time, a sixth resistor R6 is connected in series, and the fifth resistor R5 is used as a pull-up resistor of the IO port.

第一路模拟信号通道是从第一继电器U1的常闭触点输入,并与它的公共端触点相连接经由第三继电器U3的常闭触点,再从第三继电器U3的公共端触点输出信号,它 是MCU控制单元1的P23口给第一继电器U1发送高电平,同时P21口给第三继电器 U3发送高电平。The first analog signal channel is input from the normally closed contact of the first relay U1, and is connected to its common terminal contact via the normally closed contact of the third relay U3, and then is contacted from the common terminal of the third relay U3. Point output signal, it is that the P23 port of the MCU control unit 1 sends a high level to the first relay U1, and at the same time, the P21 port sends a high level to the third relay U3.

第二路模拟信号通道是从第一继电器U1的常开触点输入,并与它的公共端触点相连接经由第三继电器U3的常闭触点,再从第三继电器U3的公共端触点输出信号,导 通条件是MCU控制单元1的P23口给第一继电器U1发送低电平,同时P21口给第三 继电器发送高电平。The second analog signal channel is input from the normally open contact of the first relay U1, and is connected to its common terminal contact via the normally closed contact of the third relay U3, and then is contacted from the common terminal of the third relay U3. Point output signal, the conduction condition is that the P23 port of the MCU control unit 1 sends a low level to the first relay U1, and at the same time, the P21 port sends a high level to the third relay.

第三路模拟信号通道是从第二继电器U2的常闭触点输入,并与它的公共端触点相连接经由第三继电器U3的常开触点,再从第三继电器U3的公共端触点输出信号,导 通条件是MCU控制单元1的P22口给第二继电器U2发送高电平,同时P21口给第三 继电器U3发送低电平。The third analog signal channel is input from the normally closed contact of the second relay U2, and is connected to its common terminal contact via the normally open contact of the third relay U3, and then is contacted from the common terminal of the third relay U3. Point output signal, the conduction condition is that the P22 port of the MCU control unit 1 sends a high level to the second relay U2, and at the same time, the P21 port sends a low level to the third relay U3.

第四路模拟信号通道是从第二继电器的常开触点输入,并与它的公共端触点相连接 经由第三继电器U3的常开触点,再从第三继电器U3的公共端触点输出信号,导通条 件是MCU控制单元1的P22口给第一继电器U1发送低电平,同时P21口给第三继电 器U3发送低电平。The fourth analog signal channel is input from the normally open contact of the second relay, and is connected to its common terminal contact via the normally open contact of the third relay U3, and then from the common terminal contact of the third relay U3. The output signal, the conduction condition is that the P22 port of the MCU control unit 1 sends a low level to the first relay U1, and at the same time, the P21 port sends a low level to the third relay U3.

见图8和图9,本发明的3个继电器控制4路信号通断的逻辑系统的控制方法具有以下步骤:Referring to Fig. 8 and Fig. 9, the control method of the logic system in which 3 relays control the on-off of 4-way signals of the present invention has the following steps:

一、单片机C语言编程。在选择信号通道的时候,采用case选择语句。First, the single-chip C language programming. When selecting a signal channel, use the case selection statement.

二、发送数据单元0x01代表IN1信号通道,MCU控制单元1的IO脚P23输出高 电平,使第一PNP三极管Q1截止,此时第一继电器U1线圈两端没有电压,故第一继 电器U1没有工作,它的常闭触点与公共端触点闭合,IN1支路导通,第四发光二极管 D4赋值为0,灯亮代表IN1路选通;同时MCU控制单元1的IO脚P21输出高电平, 使第三PNP三极管Q3截止,此时第三继电器U3线圈两端没有电压,故第三继电器U3 没有工作,它的常闭触点与公共端触点闭合,OUT支路导通,从而第一路模拟信号通 道导通。2. The sending data unit 0x01 represents the IN1 signal channel. The IO pin P23 of the MCU control unit 1 outputs a high level, which turns off the first PNP transistor Q1. At this time, there is no voltage across the coil of the first relay U1, so the first relay U1 has no voltage. When it works, its normally closed contact and the common terminal contact are closed, the IN1 branch is turned on, the fourth light-emitting diode D4 is assigned a value of 0, and the light is on to indicate that the IN1 channel is strobe; at the same time, the IO pin P21 of the MCU control unit 1 outputs a high level , so that the third PNP transistor Q3 is turned off. At this time, there is no voltage across the coil of the third relay U3, so the third relay U3 does not work, its normally closed contact and the common terminal contact are closed, and the OUT branch is turned on, thus the first One analog signal channel is turned on.

三、发送数据单元0x02代表IN2信号通道,MCU控制单元1的IO脚P23输出低 电平,使第一PNP三极管Q1导通,此时第一继电器U1线圈两端电压为5V,故第一继 电器U1开始工作,它的常闭触点断开,常开触点与公共端触点闭合,IN2支路导通, 第五发光二极管D5赋值为0,灯亮代表IN2路选通;同时MCU控制单元1的IO脚P21 输出高电平,使第三PNP三极管Q3截止,此时第三继电器U3线圈两端没有电压,故 第三继电器U3没有工作,它的常闭触点与公共端触点闭合,OUT支路导通,从而第二 路信号通道导通。3. The sending data unit 0x02 represents the IN2 signal channel, and the IO pin P23 of the MCU control unit 1 outputs a low level to turn on the first PNP transistor Q1. At this time, the voltage across the coil of the first relay U1 is 5V, so the first relay U1 starts to work, its normally closed contact is disconnected, the normally open contact and the common terminal contact are closed, the IN2 branch is turned on, the fifth LED D5 is assigned a value of 0, and the light is on to indicate that the IN2 circuit is gated; at the same time, the MCU control unit The IO pin P21 of 1 outputs a high level, which makes the third PNP transistor Q3 cut off. At this time, there is no voltage across the coil of the third relay U3, so the third relay U3 does not work, and its normally closed contact and the common terminal contact are closed. , the OUT branch is turned on, so that the second signal channel is turned on.

四、发送数据单元0x03代表IN3信号通道,MCU控制单元1的IO脚P22输出高 电平,使第二PNP三极管Q2截止,此时第二继电器U2线圈两端没有电压,故第二继 电器U2没有工作,它的常闭触点与公共端触点闭合,IN3支路导通,第六发光二级管 D6赋值为0,灯亮代表IN3路选通;同时MCU控制单元1的IO脚P21输出低电平, 使第三PNP三极管Q3导通,此时第三继电器U3线圈两端电压为5V,故第三继电器 U3开始工作,常闭触点断开,常开触点与公共端触点闭合,OUT支路导通,从而第三 路信号通道导通。4. The sending data unit 0x03 represents the IN3 signal channel. The IO pin P22 of the MCU control unit 1 outputs a high level, so that the second PNP transistor Q2 is turned off. At this time, there is no voltage across the coil of the second relay U2, so the second relay U2 has no voltage. It works, its normally closed contact and the common terminal contact are closed, the IN3 branch is turned on, the sixth light-emitting diode D6 is assigned a value of 0, and the light is on to indicate that the IN3 channel is strobe; at the same time, the output of the IO pin P21 of the MCU control unit 1 is low. level, the third PNP transistor Q3 is turned on. At this time, the voltage across the coil of the third relay U3 is 5V, so the third relay U3 starts to work, the normally closed contact is disconnected, and the normally open contact and the common terminal contact are closed. , the OUT branch is turned on, so that the third signal channel is turned on.

五、发送数据单元0x04代表IN4信号通道,MCU控制单元1的IO脚P22输出低 电平,使第二PNP三极管Q2导通,此时第二继电器U2线圈两端电压为5V,故第二继 电器U2开始工作,它的常闭触点断开,常开触点与公共端触点闭合,IN4支路导通, 第七发光二级管D7赋值为0,灯亮代表IN4路选通;同时MCU控制单元1的IO脚P21 输出低电平,使第三PNP三极管Q3导通,此时第三继电器U3线圈两端电压为5V,故 第三继电器U3开始工作,常闭触点断开,常开触点与公共端触点闭合,OUT支路导通, 从而第四路信号通道导通。5. The sending data unit 0x04 represents the IN4 signal channel. The IO pin P22 of the MCU control unit 1 outputs a low level to make the second PNP transistor Q2 conduct. At this time, the voltage across the coil of the second relay U2 is 5V, so the second relay U2 starts to work, its normally closed contact is disconnected, the normally open contact and the common terminal contact are closed, the IN4 branch is turned on, the seventh light-emitting diode D7 is assigned a value of 0, and the light is on to indicate that the IN4 channel is gated; at the same time, the MCU The IO pin P21 of the control unit 1 outputs a low level, so that the third PNP transistor Q3 is turned on. At this time, the voltage across the coil of the third relay U3 is 5V, so the third relay U3 starts to work, the normally closed contact is disconnected, and the normally closed contact is disconnected. The open contact and the common terminal are closed, and the OUT branch is turned on, so that the fourth signal channel is turned on.

本发明采用5V直流电源,用户只需要通过一根USB数据线即可完成PC机对本发 明的供电和通信,通过上位机只需要发送一些简单的数据字符就能够控制用户所希望工 作的那台仪器设备的信号输入到其它设备中,省去了很多不必要的麻烦,效率大大的提 高。本发明能够对设备的传输信号实现远程控制和准确控制,也做到了对精密仪器设备 的保护,在工业上具有实际应用价值。本发明通过继电器触点之间的级联实现信号通道 的扩展,同理,还可以通过本发明实现用3N只继电器控制4N路信号通断的逻辑系统, N为自然数。The invention adopts 5V DC power supply, the user only needs to use a USB data line to complete the power supply and communication of the PC to the invention, and the upper computer only needs to send some simple data characters to control the instrument that the user wants to work. The signal of the device is input to other devices, which saves a lot of unnecessary trouble and greatly improves the efficiency. The invention can realize remote control and accurate control of the transmission signal of the equipment, and also achieve the protection of the precision instruments and equipment, and has practical application value in industry. The present invention realizes the expansion of the signal channel through the cascade connection between the relay contacts. Similarly, the present invention can also realize the logic system of using 3N relays to control the on-off of 4N signals, and N is a natural number.

以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细 说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发 明的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in further detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (8)

1. a kind of flogic system for controlling 4 road signal on-off by 3 relays, it is characterised in that: including MCU control unit, after Electric appliance logic control circuit, USB power connector circuit, USB turn Transistor-Transistor Logic level conversion circuit and signal input output interface unit; MCU control unit is used for the control that accesses to relay logical control circuit;USB turns Transistor-Transistor Logic level conversion circuit and is used for USB The USB level translation that power interface circuit receives is the Transistor-Transistor Logic level that MCU control unit can identify;Signal input and output connect Mouth unit realizes analog signal input and output for connecing the instrument and equipments such as antenna, filter, converter;Relay logic control Circuit processed includes 3 relays, realizes the extension of signal path between relay contact by cascade, connects to signal input and output Four road signal behaviors of mouth unit are controlled all the way.
2. the flogic system according to claim 1 for controlling 4 road signal on-off by 3 relays, it is characterised in that: MCU Control unit is equipped with the first crystal oscillating circuit and reset circuit;First crystal oscillating circuit is used to provide clock signal to MCU control unit; Reset circuit allows MCU control unit steady operation for resetting the program counter of MCU control unit.
3. the flogic system according to claim 1 for controlling 4 road signal on-off by 3 relays, it is characterised in that: USB Power interface circuit includes USB female seat M1, the tenth capacitor C10, the 11st polar capacitor C11 and the 9th light emitting diode D9;USB Base M1 uses Micro USB female seat;11st polar capacitor C11 of power interface circuit uses alminium electrolytic condenser, has filter The effect of wave and energy storage, can allow PC machine stable power-supplying;9th light emitting diode D9 powers on instruction as power interface circuit Lamp prompts custom system to be powered.
4. the flogic system according to claim 1 for controlling 4 road signal on-off by 3 relays, it is characterised in that: USB Turning Transistor-Transistor Logic level conversion circuit includes electrical level transferring chip G1, it is the switching chip an of usb bus, realize USB turn serial ports, USB turns that IrDA is infrared or USB turns printing port;The USB electricity that electrical level transferring chip G1 is used to receive in USB power connector circuit Flat turn turns to the Transistor-Transistor Logic level that MCU control unit can identify.
5. the flogic system according to claim 4 for controlling 4 road signal on-off by 3 relays, it is characterised in that: USB Turn Transistor-Transistor Logic level conversion circuit equipped with the second crystal oscillating circuit, the second crystal oscillating circuit is used to provide clock letter to electrical level transferring chip G1 Number;Electrical level transferring chip G1 uses the chip of model CH340G;The D+ pin phase of the UD+ pin of CH340G and MICRO USB Connection, UD- pin are connected with the D- pin of MICRO USB;The transmission pin TXD and reception pin RXD of CH340G chip divide It is not connected with the reception pin RXD of MCU control unit and transmission pin TXD;The reception pin RXD of MCU control unit is with instead It is connected to diode D8 with the TXD pin of CH340G chip, backward dioded D8 uses 1N4148, has prevented electric current from can pass through This pin flows into late-class circuit and to the capacitor charging of rear class, and rear class is caused to have the voltage of certain amplitude, causes to influence MCU The cold start-up of control unit downloading program.
6. the flogic system according to claim 4 for controlling 4 road signal on-off by 3 relays, it is characterised in that: relay 3 relays of device logic control circuit are divided into the first relay U1, the second relay U2 and third relay U3;3 relays Device is all made of signal relay, and the signal relay control voltage is 5V, contact form are as follows: DPDT;The signal relay has 8 A pin, the positive and negative anodes pin including relay coil, a pair of of normally opened contact, a pair of of normally-closed contact and a pair of public terminal contacts, It is very good with the isolation effect of signal;
After the coil of first relay U1 is concatenated with the first PNP type triode Q1, relay coil both ends and connect one first it is continuous Diode D1, mono- termination power+5V of the first PNP type triode Q1 are flowed, it is single that the grid of the first PNP type triode Q1 connects MCU control The relay of member controls I/O port P23, while concatenating second resistance R2, pull-up resistor of the first resistor R1 as I/O port;
After the coil of second relay U2 is concatenated with the second PNP type triode Q2, relay coil both ends and connect one second it is continuous Diode D2, mono- termination power+5V of the second PNP type triode Q2 are flowed, it is single that the grid of the second PNP type triode Q2 connects MCU control The relay of member controls I/O port P22, while concatenating the 4th resistance R4, pull-up resistor of the 3rd resistor R3 as I/O port;
After the coil of third relay U3 is concatenated with third PNP type triode Q3, relay coil both ends and to connect a third continuous Diode D3, mono- termination power+5V of third PNP type triode Q3 are flowed, it is single that the grid of third PNP type triode Q3 connects MCU control The relay of member controls I/O port P21, while concatenating the 6th resistance R6, pull-up resistor of the 5th resistance R5 as I/O port;
First via analog signal channel is to input from the normally-closed contact of the first relay U1, and be connected with its public terminal contacts Via the normally-closed contact of third relay U3, then from the public terminal contacts output signal of third relay U3, it is that MCU control is single The P23 mouth of member sends high level to the first relay U1, while P21 mouthfuls send high level to third relay U3;
Second road analog signal channel is to input from the normally opened contact of the first relay U1, and be connected with its public terminal contacts Via the normally-closed contact of third relay U3, then from the public terminal contacts output signal of third relay U3, turn-on condition is MCU The P23 mouth of control unit sends low level to the first relay U1, while P21 mouthfuls send high level to third relay;
Third road analog signal channel is to input from the normally-closed contact of the second relay U2, and be connected with its public terminal contacts Via the normally opened contact of third relay U3, then from the public terminal contacts output signal of third relay U3, turn-on condition is MCU The P22 mouth of control unit sends high level to the second relay U2, while P21 mouthfuls send low level to third relay U3;
4th road analog signal channel be inputted from the normally opened contact of the second relay, and be connected with its public terminal contacts through By the normally opened contact of third relay U3, then from the public terminal contacts output signal of third relay U3, turn-on condition is MCU control The P22 mouth of unit processed sends low level to the first relay U1, while P21 mouthfuls send low level to third relay U3.
7. the flogic system according to one of claims 1 to 6, for controlling 4 road signal on-off by 3 relays, feature exist In: it further include signal gating indicating circuit;Signal gating indicating circuit is made of four light emitting diodes and third load resistance; Four light emitting diodes are respectively the 4th light emitting diode D4, the 5th light emitting diode D5, the 6th Light-Emitting Diode D6 and the 7th Light emitting diode D7;Third load resistance includes eleventh resistor R11, twelfth resistor R12, thirteenth resistor R13 and the tenth Four resistance R14;4th light emitting diode D4 and eleventh resistor R11 be connected on+5V power supply and MCU control unit P24 foot it Between;5th light emitting diode D5 and twelfth resistor R12 is connected between+5V power supply and the P25 foot of MCU control unit;6th Light-Emitting Diode D6 and thirteenth resistor R13 is connected between+5V power supply and the P26 foot of MCU control unit;7th light-emitting diodes Pipe D7 and the 14th resistance R14 are connected between+5V power supply and the P27 foot of MCU control unit.
The control method for the flogic system that 8.3 relays control 4 road signal on-off has follow steps:
One, Single Chip C Language programs, when selection signal channel, using case case statement;
Two, it sends data cell 0x01 and represents IN1 signal path, the IO foot P23 of MCU control unit exports high level, makes first PNP triode Q1 cut-off, the first relay U1 coil both ends do not have voltage at this time, therefore the first relay U1 does not work, it Normally-closed contact and common end contact closure, the conducting of IN1 branch, the 4th light emitting diode D4 are assigned a value of 0, and lamp is bright to represent the choosing of the road IN1 It is logical;The IO foot P21 of MCU control unit exports high level simultaneously, ends third PNP triode Q3, at this time third relay U3 Coil both ends do not have voltage, therefore third relay U3 does not work, its normally-closed contact and common end contact closure, OUT branch Conducting, so that first via analog signal channel is connected;
Three, it sends data cell 0x02 and represents IN2 signal path, the IO foot P23 of MCU control unit exports low level, makes first PNP triode Q1 conducting, the first relay U1 coil both end voltage is 5V at this time, therefore the first relay U1 starts to work, it Normally-closed contact disconnects, normally opened contact and common end contact closure, and IN2 branch conducting, the 5th light emitting diode D5 is assigned a value of 0, lamp It is bright to represent the road IN2 gating;The IO foot P21 of MCU control unit exports high level simultaneously, ends third PNP triode Q3, at this time Third relay U3 coil both ends do not have voltage, therefore third relay U3 does not work, its normally-closed contact and public terminal contacts Closure, OUT branch conducting, thus second road signal channel conductive;
Four, it sends data cell 0x03 and represents IN3 signal path, the IO foot P22 of MCU control unit exports high level, makes second PNP triode Q2 cut-off, the second relay U2 coil both ends do not have voltage at this time, therefore the second relay U2 does not work, it Normally-closed contact and common end contact closure, the conducting of IN3 branch, the 6th Light-Emitting Diode D6 are assigned a value of 0, and lamp is bright to represent the choosing of the road IN3 It is logical;The IO foot P21 of MCU control unit exports low level simultaneously, third PNP triode Q3 is connected, at this time third relay U3 Coil both end voltage is 5V, therefore third relay U3 starts to work, and normally-closed contact disconnects, and normally opened contact is closed with public terminal contacts It closes, the conducting of OUT branch, so that third road signal path is connected;
Five, it sends data cell 0x04 and represents IN4 signal path, the IO foot P22 of MCU control unit exports low level, makes second PNP triode Q2 conducting, the second relay U2 coil both end voltage is 5V at this time, therefore the second relay U2 starts to work, it Normally-closed contact disconnects, normally opened contact and common end contact closure, and IN4 branch conducting, the 7th Light-Emitting Diode D7 is assigned a value of 0, lamp It is bright to represent the road IN4 gating;The IO foot P21 of MCU control unit exports low level simultaneously, third PNP triode Q3 is connected, at this time Third relay U3 coil both end voltage is 5V, therefore third relay U3 starts to work, and normally-closed contact disconnects, normally opened contact and public affairs Terminal contacts closure altogether, OUT branch conducting, so that the 4th tunnel signal path is connected.
CN201910302013.7A 2019-04-16 2019-04-16 Logic system and control method for on-off of 4-channel signals controlled by 3 relays Active CN110032107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910302013.7A CN110032107B (en) 2019-04-16 2019-04-16 Logic system and control method for on-off of 4-channel signals controlled by 3 relays

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910302013.7A CN110032107B (en) 2019-04-16 2019-04-16 Logic system and control method for on-off of 4-channel signals controlled by 3 relays

Publications (2)

Publication Number Publication Date
CN110032107A true CN110032107A (en) 2019-07-19
CN110032107B CN110032107B (en) 2020-05-08

Family

ID=67238471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910302013.7A Active CN110032107B (en) 2019-04-16 2019-04-16 Logic system and control method for on-off of 4-channel signals controlled by 3 relays

Country Status (1)

Country Link
CN (1) CN110032107B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585167A (en) * 2020-05-28 2020-08-25 洛阳顶扬光电技术有限公司 A kind of internal and external synchronization processing circuit suitable for laser irradiator
CN111880452A (en) * 2020-07-29 2020-11-03 郑州师范学院 Method for realizing multi-channel selection control by using relay
CN111969988A (en) * 2020-08-20 2020-11-20 中电科蓉威电子技术有限公司 Method for replacing signal analog switch chip
CN111966078A (en) * 2020-08-24 2020-11-20 牛玉涛 Fault detection and analysis device and method for platform door system
CN114138695A (en) * 2021-12-16 2022-03-04 无锡市海鹰加科海洋技术有限责任公司 A direct-reading sound velocity meter power supply and communication conversion circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879407Y (en) * 2006-03-16 2007-03-14 江苏金智科技股份有限公司 Fast exit module having hardware self-holding function
US20090085596A1 (en) * 2007-09-28 2009-04-02 Qimonda Ag System and method for testing semiconductor devices
CN201654186U (en) * 2009-12-02 2010-11-24 天津光电通信技术有限公司 Large-scale signal detecting equipment
CN207068068U (en) * 2017-07-14 2018-03-02 长春工业大学 A kind of contactless portable attendance checking system
CN207896969U (en) * 2018-03-06 2018-09-21 广西电网有限责任公司来宾供电局 A kind of one aerial signal selector of multiselect
CN109213010A (en) * 2018-08-31 2019-01-15 北京机械设备研究所 A kind of relay multidiameter option switch circuit and test macro with priority

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879407Y (en) * 2006-03-16 2007-03-14 江苏金智科技股份有限公司 Fast exit module having hardware self-holding function
US20090085596A1 (en) * 2007-09-28 2009-04-02 Qimonda Ag System and method for testing semiconductor devices
CN201654186U (en) * 2009-12-02 2010-11-24 天津光电通信技术有限公司 Large-scale signal detecting equipment
CN207068068U (en) * 2017-07-14 2018-03-02 长春工业大学 A kind of contactless portable attendance checking system
CN207896969U (en) * 2018-03-06 2018-09-21 广西电网有限责任公司来宾供电局 A kind of one aerial signal selector of multiselect
CN109213010A (en) * 2018-08-31 2019-01-15 北京机械设备研究所 A kind of relay multidiameter option switch circuit and test macro with priority

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585167A (en) * 2020-05-28 2020-08-25 洛阳顶扬光电技术有限公司 A kind of internal and external synchronization processing circuit suitable for laser irradiator
CN111880452A (en) * 2020-07-29 2020-11-03 郑州师范学院 Method for realizing multi-channel selection control by using relay
CN111969988A (en) * 2020-08-20 2020-11-20 中电科蓉威电子技术有限公司 Method for replacing signal analog switch chip
CN111969988B (en) * 2020-08-20 2024-12-03 中电科蓉威电子技术有限公司 A method for replacing a signal analog switch chip
CN111966078A (en) * 2020-08-24 2020-11-20 牛玉涛 Fault detection and analysis device and method for platform door system
CN111966078B (en) * 2020-08-24 2025-06-20 牛玉涛 A platform door system fault detection and analysis device and method
CN114138695A (en) * 2021-12-16 2022-03-04 无锡市海鹰加科海洋技术有限责任公司 A direct-reading sound velocity meter power supply and communication conversion circuit

Also Published As

Publication number Publication date
CN110032107B (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN110032107A (en) The flogic system and control method of 4 road signal on-off are controlled by 3 relays
CN102545875B (en) Level identification switching circuit
CN204361767U (en) Charger and charging control circuit thereof
CN203278279U (en) Multifunctional mobile power supply
CN108134518A (en) A kind of voltage conversion circuit
CN201909987U (en) Constant-current supply networking system on basis of serial bus
CN204595541U (en) Novel rail Miniature Power Unit hardware control platform
CN101510651B (en) A remote control power plug-in device and its control method
CN207115402U (en) Usb interface circuit
CN207768060U (en) A kind of curtain controller
CN109104181A (en) A kind of RS485 circuit
CN205157644U (en) Multiloop ammeter
CN204030149U (en) A kind of remote control insert row
CN207457318U (en) A kind of modular electric energy meter
CN108108318B (en) TTL changes MBUS communication terminal
CN208539909U (en) Fiber-optic signal receives circuit
CN207625314U (en) A kind of double charging circuits compatible with DC USB
CN107733025B (en) USB and DC compatible double-charging circuit and operation method thereof
CN207825965U (en) The driving circuit of electronic lock on a kind of charging gun
CN207097226U (en) A kind of intelligent meter data recording system baud rate control circuit
CN207053245U (en) Electric supply installation and system
CN103259734A (en) Router with remote control timing function
CN107095564A (en) A kind of curtain controller
CN209486164U (en) Microcontroller power supply low-voltage detection circuit without A D interface and internal reference voltage
CN207232950U (en) Time-sharing multiplex is connected in series circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant