Digital quantity output circuit compatible with communication, electrical equipment and industrial control system

By using a digital output circuit compatible with communication, and a common connection port for the shared circuit and communication signal receiving circuit, the compatibility of digital output and communication signals is achieved. This solves the problem of cumbersome disassembly, programming, and parameter debugging of electric proportional valves in the prior art, saving costs and improving the ease of use and compatibility of the equipment.

CN223501312UActive Publication Date: 2025-10-31SUZHOU INOVANCE CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422795869.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-10-31
Estimated Expiration
2034-11-15

AI Technical Summary

Technical Problem

The existing analog proportional valves require disassembly and flashing during software upgrades, which is time-consuming and labor-intensive. Furthermore, the parameter debugging of multiple devices requires manual modification, which poses a risk of misoperation. The system also lacks the function of copying and modifying parameters of the entire device.

Method used

Design a digital output circuit compatible with communication. The digital output and communication signal are compatible through a common connection port of a shared circuit and a communication signal receiving circuit. The shared circuit can be used as a digital output circuit or a communication signal transmission circuit. The communication signal receiving circuit is used to receive communication signals and adapts to different level requirements through a signal level conversion circuit.

Benefits of technology

It saves circuit costs, improves port compatibility, and makes it convenient for users. It realizes multiple functions such as digital output, communication signal output and reception through a single port, simplifying the process of modifying and upgrading device parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223501312U_ABST
    Figure CN223501312U_ABST
Patent Text Reader

Abstract

The utility model discloses a digital quantity output circuit compatible with communication, which comprises a common circuit and a communication signal receiving circuit, the input end of the common circuit is connected with a main control unit, and the output end of the communication signal receiving circuit is connected with the main control unit. The output end of the common circuit and the input end of the communication signal receiving circuit are provided with a common connection end DO. According to the digital quantity output circuit compatible with communication provided by the utility model, the common circuit can output a digital quantity signal or a communication signal to the common coupling end DO through the control unit, so that on one hand, the digital quantity output circuit and the communication signal transmission circuit are shared, and the cost of the circuit is saved; and on the other hand, the digital quantity output port and the communication output port are provided with the public connection port DO, so that the compatibility of the ports is better, and convenience is brought to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of hardware control technology, and in particular to a digital output circuit, electrical equipment and industrial control system compatible with communication. Background Technology

[0002] Currently, there are analog proportional valves on the market that achieve target air pressure control by receiving current or current signals sent by a host computer, and output current or voltage signals as feedback of the current air pressure value. Some models also use digital source type or digital leak type output as feedback signals transmitted to the host computer.

[0003] These products lack the functionality for whole-device programming, parameter copying between devices, and parameter modification. When software upgrades are required, disassembly and programming via pre-reserved test points on the internal circuit board are necessary, which compromises the product's protection rating and is time-consuming and labor-intensive. Furthermore, when multiple devices need to be configured with the same parameters, manual modification of each device is required, resulting in repetitive actions, wasted time, and the possibility of errors. Therefore, a low-cost and efficient solution is needed to address these issues. Utility Model Content

[0004] The main purpose of this utility model is to provide a digital output circuit, electrical equipment and industrial control system that is compatible with communication, aiming to solve the compatibility problem between the output interface of the digital output circuit and the output interface of the communication circuit.

[0005] To achieve the above objectives, this application provides the following technical solution:

[0006] A communication-compatible digital output circuit includes a common circuit and a communication signal receiving circuit. The input terminal of the common circuit is connected to a main control unit, the output terminal of the communication signal receiving circuit is connected to the main control unit, and the output terminal of the common circuit and the input terminal of the communication signal receiving circuit have a common connection terminal DO.

[0007] When the common circuit is used as a digital output circuit, the common circuit outputs a digital signal through the common connection terminal DO; when the common circuit is used as a communication signal transmission circuit, the common circuit 10 outputs a communication signal through the common connection terminal DO, and the communication signal receiving circuit receives the communication signal through the common connection terminal DO.

[0008] Optionally, the communication signal receiving circuit includes a signal level conversion circuit. The input terminal of the signal level conversion circuit is connected to the common connection terminal DO, and the output terminal of the signal level conversion circuit is connected to the main control unit. The signal level conversion circuit is used to convert the communication signal received from the common connection terminal DO and then transmit it to the main control unit.

[0009] Optionally, the communication signal receiving circuit further includes a receiving control circuit, the input terminal of which is connected to the main control unit, and the output terminal of which is connected to the level conversion circuit. The receiving control circuit controls the level conversion circuit to transmit or cut off the communication signal.

[0010] Optionally, the signal level conversion circuit includes an optocoupler U1, the primary input terminal of which is connected to the common connection terminal DO, the primary output terminal of which is connected to the signal ground, and the secondary output terminal of which is connected to the main control unit.

[0011] Optionally, the signal receiving control circuit includes a control switch Q7, the first end of which is connected to the main control unit, the second end of which is connected to the primary output terminal of the optocoupler U1, and the third end of which is connected to the signal ground.

[0012] Optionally, the signal level conversion circuit further includes a filtering unit, the input of which is connected to the secondary output of the optocoupler U1, and the output of which is connected to the main control unit.

[0013] Optionally, the shared circuit includes a first switch output circuit and a first control circuit. The input terminal of the first control circuit is connected to the main control unit, and the output terminal of the first control circuit is connected to the control terminal of the first switch output circuit to control the opening and closing of the first switch output circuit.

[0014] Optionally, the first switch output circuit includes a first output switch Q3, which is a P-channel MOSFET. The base of the P-channel MOSFET is connected to the output terminal of the first control circuit, the source of the P-channel MOSFET is connected to the power supply VCC2, and the drain of the P-channel MOSFET is connected to the common connection terminal DO.

[0015] Optionally, the first control circuit includes a first transistor Q1, a second transistor Q2, resistors R5 and R6. The control terminal of the first transistor Q1 is connected to the main control unit, the input terminal of the first transistor Q1 is connected to power supply VCC1, and the output terminal of the first transistor Q1 is connected to the control terminal of the second transistor Q2. The input terminal of the second transistor Q2 is connected to the first end of resistor R6, the second end of resistor R6 is connected to the first end of resistor R5, the second end of resistor R5 is connected to power supply VCC2, the first end of resistor R5 is also connected to the base of the first output switch Q3, and the output terminal of the second transistor Q2 is connected to signal ground. Optionally, the digital output circuit further includes a sinking digital output circuit. The input terminal of the sinking digital output circuit is connected to the main control unit, and the output terminal of the sinking digital output circuit is connected to the common connection terminal DO. The sinking digital output circuit outputs a sinking digital signal through the common connection terminal DO.

[0016] Optionally, the sinking digital output circuit includes a second switch output circuit and a second control circuit; the input terminal of the second control circuit is connected to the main control unit, and the output terminal of the second control circuit is connected to the control terminal of the second switch output circuit, so as to control the opening and closing of the second switch output circuit.

[0017] Optionally, the second switch output circuit includes a second output switch Q6, the first end of the second output switch Q6 is connected to the output terminal of the second control circuit, the second end of the second output switch Q6 is connected to the common connection terminal DO, and the third end of the second output switch Q6 is connected to the signal ground.

[0018] Optionally, the second control circuit includes a third transistor Q4, a fourth transistor Q5, resistors R11 and R12. The control terminal of the third transistor Q4 is connected to the main control unit 30, and the output terminal of the third transistor Q4 is connected to the control terminal of the fourth transistor Q5. The input terminal of the fourth transistor Q5 is connected to the power supply VCC3, and the output terminal of the fourth transistor Q5 is connected to the first terminal of resistor R11. The second terminal of resistor R11 is connected to the first terminal of resistor R12, and the second terminal of resistor R12 is connected to the signal ground.

[0019] This utility model also provides an electrical device, including an aviation plug interface and a digital output circuit for compatible communication as described above; the aviation plug interface includes interface terminals, and the common connection terminal DO is connected to the interface terminals.

[0020] This utility model also provides an industrial control system, which includes a host and a slave. The host and the slave interact with each other through communication. The host includes a digital output circuit with compatible communication as described above. The host outputs communication signals to the slave through a common connection terminal DO via a common circuit in the digital output circuit, and / or the host receives communication signals sent by the slave through a communication signal receiving circuit in the digital output circuit via the common connection terminal DO.

[0021] This utility model has at least the following technical benefits:

[0022] The present invention provides a digital output circuit compatible with communication, comprising a common circuit and a communication signal receiving circuit. The input terminal of the common circuit is connected to the main control unit, and the output terminal of the communication signal receiving circuit is connected to the main control unit. The output terminal of the common circuit and the input terminal of the communication signal receiving circuit share a common connection terminal DO. The common circuit can be used as a digital output circuit or a communication signal transmission circuit, and the communication signal receiving circuit can receive communication signals. Compared with the prior art, on the one hand, it shares the digital output circuit and the communication signal transmission circuit, saving circuit costs; on the other hand, since the digital output and the communication output port share a common connection port DO, multiple signal transmissions can be achieved through a single port, resulting in better compatibility for external connections and greater convenience for users. Attached Figure Description

[0023] Figure 1 A structural block diagram of a digital output circuit for compatible communication provided in an embodiment of this application;

[0024] Figure 2 Another structural block diagram of the digital output circuit for compatible communication provided in the embodiments of this application;

[0025] Figure 3 Another structural block diagram of the digital output circuit for compatible communication provided in the embodiments of this application;

[0026] Figure 4 Another structural block diagram of the digital output circuit for compatible communication provided in the embodiments of this application;

[0027] Figure 5 A schematic diagram of the digital output circuit for compatible communication provided in this embodiment;

[0028] Figure 6 This is another schematic diagram of the digital output circuit for compatible communication provided in this embodiment;

[0029] Figure 7 The signal timing diagram of the digital output circuit for compatible communication provided in the embodiments of this application;

[0030] Figure 8 This is a structural block diagram of another electrical device provided in this embodiment;

[0031] Figure 9 This application provides a structural block diagram of an application scenario for the source-type digital output of an electrical device.

[0032] Figure 10 A structural block diagram illustrating an application scenario for the output of a leaky digital quantity in an electrical device, as provided in this application embodiment;

[0033] Figure 11 This is a structural block diagram of a communication and interaction application scenario between electrical devices provided in an embodiment of this application. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0035] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0036] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an apparatus or system comprising a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an apparatus or system. Without further limitation, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the apparatus or system that includes that element.

[0037] like Figure 1-4 As shown in the figure, this application embodiment provides a block diagram of a digital output circuit structure compatible with communication. The circuit includes: a common circuit 10 and a communication signal receiving circuit 20. The input terminal of the common circuit 10 is connected to the main control unit 30, the output terminal of the communication signal receiving circuit 20 is connected to the main control unit 30, and the output terminal of the common circuit 10 and the input terminal of the communication signal receiving circuit 20 have a common connection terminal DO.

[0038] When the common circuit 10 is used as a digital output circuit, the common circuit 10 outputs a digital signal through the common connection terminal DO; when the common circuit 10 is used as a communication signal transmission circuit, the common circuit 10 outputs a communication signal through the common connection terminal DO, and the communication signal receiving circuit 20 receives the communication signal through the common connection terminal DO.

[0039] Specifically, in this embodiment, the output terminal of the common circuit 10 is electrically connected to the input terminal of the communication signal receiving circuit 20, and the input terminal of the common circuit 10 is connected to the control unit 30. The common circuit 10 can be configured by the control unit 30 to be used as a digital output circuit or a communication signal transmission circuit. For example, the I / O port function of the control chip in the control unit can be defined by setting the function code. When the common circuit 10 is configured to be used as a digital output circuit, the input terminal of the common circuit 10 receives the digital signal sent by the main control unit 30 and then outputs the digital signal through the common connection terminal DO. When the common circuit 10 is configured to be used as a communication signal transmission circuit, the input terminal of the common circuit 10 receives the communication signal sent by the main control unit 30 and then outputs the communication signal through the common connection terminal DO. The communication signal receiving circuit 20 receives the communication signal through the common connection terminal DO.

[0040] Existing technologies require a digital output circuit and a communication circuit to achieve digital output and communication, and the circuit needs two independent external output interfaces, increasing the circuit cost. The digital output circuit compatible with communication provided in this application, through the above solution, saves circuit costs by sharing both the digital output circuit and the communication signal transmission circuit compared to existing technologies. Furthermore, since the digital output and communication output ports share a common connection port DO, multiple functions such as digital output, communication signal output, and communication signal reception can be achieved through a single port. This improves the port's compatibility with external connections and facilitates user operation.

[0041] Optionally, the communication signal receiving circuit 20 includes a signal level conversion circuit 201. The input terminal of the signal level conversion circuit 201 is connected to the common connection terminal DO, and the output terminal of the signal level conversion circuit 201 is connected to the main control unit 30. The signal level conversion circuit 201 is used to convert the communication signal received from the common connection terminal DO and then transmit it to the main control unit 30.

[0042] Since the input terminal of the communication signal receiving circuit 20 is connected to the output terminal of the digital output circuit, the level value received at the input terminal of the communication signal receiving circuit 20 may not meet the requirements of the main control unit 30, such as a high level of 24V. Therefore, the communication signal receiving circuit 20 needs a signal level conversion circuit 201 to convert the level to a level that the main control unit 30 can receive, such as 3.3V. The signal level conversion circuit 201 can be converted by a crystal switch, an isolation optocoupler, or other forms of level conversion circuit, which are not limited here. Through the signal level conversion circuit 201, the input terminal of the communication signal receiving circuit 20 can receive communication signals of various levels, thus broadening the adaptability of the communication circuit.

[0043] Optional, such as Figure 5 , Figure 6 As shown, it illustrates a schematic diagram of a digital output circuit compatible with communication provided in an embodiment of this application. The signal level conversion circuit 201 includes an optocoupler U1. The primary input terminal of the optocoupler U1 is connected to the common connection terminal DO, the primary output terminal of the optocoupler U1 is connected to the signal ground, and the secondary output terminal of the optocoupler U1 is connected to the main control unit 30.

[0044] The secondary output of optocoupler U1 is connected to power supply VCC1 through resistor R13. The high-level communication signal received by the primary side of optocoupler U1 is converted into a high-level communication signal output with a value of VCC1 after passing through optocoupler U1. The value of power supply VCC1 can be configured according to the main control unit 30, for example, it can be configured to 3.3V. The optocoupler U1 has a fast transmission speed, which can better meet the communication needs.

[0045] Optionally, the signal level conversion circuit 201 further includes a filtering unit, the input of which is connected to the secondary output of the optocoupler U1, and the output of which is connected to the main control unit 30.

[0046] The filtering unit can be an RC filter network consisting of resistor R14 and capacitor C2; the filtering unit can filter out some interference signals in the received communication signal and improve the stability of the received communication signal.

[0047] Optionally, the communication signal receiving circuit 20 further includes a receiving control circuit 202. The input terminal of the receiving control circuit 202 is connected to the main control unit 30, and the output terminal of the receiving control circuit 202 is connected to the level conversion circuit 201. The receiving control circuit 202 controls the level conversion circuit 201 to transmit or cut off the communication signal.

[0048] Optionally, the signal receiving control circuit 202 includes a control switch Q7. The first end of the control switch Q7 is connected to the main control unit 30, the second end of the control switch Q7 is connected to the primary output terminal of the optocoupler U1, and the third end of the control switch Q7 is connected to the signal ground.

[0049] The output terminal of the signal receiving control circuit 202 is connected to the controlled terminal of the level conversion circuit 201. The main control unit 30 issues control commands to control the level state of the output terminal of the signal receiving control circuit 202, and the level state of the output terminal controls the conduction and cutoff of the level conversion circuit 201. Optionally, the receiving control circuit 202 includes an optocoupler U1 and a control switch Q7, and the switch Q7 can be an NPN transistor. The primary input terminal of the optocoupler U1 is connected to the common connection terminal DO, and the primary output terminal of the optocoupler U1 is connected to the collector of the control switch Q7. The emitter of control switch Q7 is connected to signal ground, and the base of control switch Q7 is connected to control unit 10. Control unit 10 sends a control signal C_Ctrl to control the on and off of Q7. Specifically, when control signal C_Ctrl is high, control switch Q7 is on, optocoupler U1 is on, and the communication receiving signal of common connection terminal DO is transmitted to control unit 10; when control signal C_Ctrl is low, control switch Q7 is off, optocoupler U1 is not on, and the communication receiving signal of common connection terminal DO is cut off from transmission to control unit 10.

[0050] Since the output terminal of the common circuit 10 and the input terminal of the communication signal receiving circuit 20 are connected to the common connection terminal DO, when the common circuit 10 is used as a digital output circuit, the signal receiving control circuit 202 can cut off the digital signal from entering the control unit 10 through the communication signal receiving circuit 20, so as to avoid the digital signal from interfering with the main control unit 30 (such as MCU).

[0051] Optionally, the common circuit 10 includes a first switch output circuit 101 and a first control circuit 102. The input terminal of the first control circuit 102 is connected to the main control unit 30, and the output terminal of the first control circuit 102 is connected to the control terminal of the first switch output circuit 101 to control the opening and closing of the first switch output circuit 101.

[0052] Optionally, the first switch output circuit 101 includes a first output switch Q3, which is a P-channel MOSFET. The base of the P-channel MOSFET is connected to the output terminal of the first control circuit 102, the source of the P-channel MOSFET is connected to the power supply VCC2, and the drain of the P-channel MOSFET is connected to the common connection terminal DO.

[0053] The first control circuit 102 receives digital control signals or communication transmission control signals PNP_Ctrl / C_TX from the main control unit 30, performs level conversion on the signals, and outputs them to the control terminal of the first switch output circuit 101. The first switch output circuit 101 turns on and off to realize the output of digital signals or the transmission of communication signals. The first output switch Q3 can be a high-switching transistor or MOSFET as the output switch. Optionally, the first output switch Q3 can be a P-channel MOSFET. The first control circuit 102 controls the output of source-type digital signals or communication signals. The voltage value of the power supply VCC2 determines the output level value of the digital output circuit.

[0054] Optionally, the first control circuit 102 includes a first transistor Q1, a second transistor Q2, resistors R5 and R6. The control terminal of the first transistor Q1 is connected to the main control unit 30, the input terminal of the first transistor Q1 is connected to the power supply VCC1, and the output terminal of the first transistor Q1 is connected to the control terminal of the second transistor Q2. The input terminal of the second transistor Q2 is connected to the first end of resistor R6, the second end of resistor R6 is connected to the first end of resistor R5, the second end of resistor R5 is connected to the power supply VCC2, the first end of resistor R5 is also connected to the base of the first output switch Q3, and the output terminal of the second transistor Q2 is connected to signal ground. Optionally, the first control circuit 102... It also includes resistors R1, R2, R3, and R4, and capacitor C1. The first end of resistor R1 is connected to power supply VCC1, and the second end is connected to control unit 30. The second end of resistor R1 is also connected to the first end of resistor R2. The second end of resistor R2 is connected to the control terminal of the first transistor Q1. The first end of capacitor C1 is connected to the control terminal of the first transistor Q1, and capacitor C1 provides filtering processing for the control terminal signal of the first transistor Q1. The first end of resistor R3 is connected to the output terminal of the first transistor Q1, and the second end of resistor R3 is connected to the first end of resistor R4. The second end of resistor R4 is connected to signal ground. Resistors R3 and R4 provide driving voltage for the second transistor Q2.

[0055] The first transistor Q1 can be a PNP transistor, and the second transistor Q2 can be an NPN transistor. Resistors R5 and R6 provide the drive voltage for the first output switch Q3. Figure 7The illustrated signal timing diagram of a compatible communication digital output circuit provided in this application embodiment shows that when the input signal PNP_Ctrl / C_TX of the first control circuit 102 is high, the first transistor Q1 is off, the second transistor Q2 is off, the first output switch Q3 is off, and the common connection terminal DO outputs a low level; when the input signal PNP_Ctrl / C_TX of the first control circuit 102 is either high or low, the first transistor Q1 is on, the second transistor is off, the first output switch Q3 is on, and the common connection terminal DO outputs a high level; by setting the voltage value of the power supply VCC2, the level value of the communication signal or digital output signal output by the common circuit 10 can be changed to meet the needs of more application scenarios.

[0056] Optionally, the digital output circuit also includes a sinking digital output circuit 40. The input terminal of the sinking digital output circuit 40 is connected to the main control unit 30, and the output terminal of the sinking digital output circuit 40 is connected to the common connection terminal DO. The sinking digital output circuit 40 outputs a sinking digital signal through the common connection terminal DO.

[0057] The sinking digital output circuit 40 receives the digital output control signal NPN_Ctrl from the main control unit 30 through the input terminal. The output terminal of the sinking digital output circuit 40 is connected to the common connection terminal DO, thereby realizing a common connection terminal DO compatible with source digital output, sinking digital output and communication application connection.

[0058] Optionally, the sinking digital output circuit 40 includes a second switch output circuit 401 and a second control circuit 402; the input terminal of the second control circuit 402 is connected to the main control unit 30, and the output terminal of the second control circuit 402 is connected to the control terminal of the second switch output circuit 402 to control the opening and closing of the second switch output circuit 402.

[0059] Optionally, the second switch output circuit 402 includes a second output switch Q6, wherein the first end of the second output switch Q6 is connected to the output terminal of the second control circuit 402, the second end of the second output switch Q6 is connected to the common connection terminal DO, and the third end of the second output switch Q6 is connected to the signal ground.

[0060] The second output switch Q6 can be a high-switching transistor or MOSFET as the output switch. Optionally, the second output switch Q6 can be an N-channel MOSFET, which outputs a sinking digital signal or communication signal under the control of the second control circuit 402.

[0061] Optionally, the second control circuit 402 includes a third transistor Q4, a fourth transistor Q5, resistors R11 and R12. The control terminal of the third transistor Q4 is connected to the main control unit 30, and the output terminal of the third transistor Q4 is connected to the control terminal of the fourth transistor Q5. The input terminal of the fourth transistor Q5 is connected to the power supply VCC3, and the output terminal of the fourth transistor Q5 is connected to the first terminal of resistor R11. The second terminal of resistor R11 is connected to the first terminal of resistor R12, and the second terminal of resistor R12 is connected to signal ground.

[0062] Resistors R11 and R12 provide drive voltage to the base of the second output switch Q6. When the digital output control signal NPN_Ctrl is high, the third transistor Q4 and the fourth transistor Q5 are turned on, the second output switch Q6 is turned on, and the common connection terminal DO outputs a low-level signal. When the digital output control signal NPN_Ctrl is low, the third transistor Q4 and the fourth transistor Q5 are not turned on, the second output switch Q6 is not turned on, and the common connection terminal DO outputs a high-impedance state.

[0063] Optionally, the second control circuit 402 further includes resistors R7, R8, R9, R10, and capacitor C2. The first end of resistor R7 is connected to the main control unit 30, and the second end is connected to the control terminal of the third transistor Q4. The first end of resistor R8 is connected to the main control unit 30, and the second end is connected to signal ground GND. The first end of capacitor C2 is connected to the control terminal of the third transistor Q4, and the second end is connected to signal ground GND. Resistors R7, R8, and C2 provide drive current limiting and drive voltage signal filtering for the third transistor Q4. The first end of resistor R9 is connected to the power supply VCC3, and the second end is connected to the first end of resistor R10. The second end of resistor R10 is connected to the input terminal of the third transistor Q4. Resistors R9 and R10 provide drive voltage for the fourth transistor Q5.

[0064] like Figure 8 As shown in the illustration, this application also provides an electrical device 100, including an aviation connector interface 50 and a digital output circuit 01 compatible with communication as described above. The aviation connector interface 50 includes an interface terminal 501, and the common connection terminal DO is connected to the interface terminal 501. Optionally, the aviation connector interface 50 may be a 5-pin male aviation connector, which is not limited here. The common connection terminal DO is connected to an external device through the interface terminal 501 in the aviation connector interface 50. It can output source-type digital output and sink-type digital output to external devices through one interface terminal 501, and can also be compatible with communication interaction between multiple devices.

[0065] like Figure 9As shown, it illustrates an application scenario structural block diagram of the electrical device 100 outputting a source-type digital quantity output according to an embodiment of this application. The electrical device 100 outputs a source-type digital quantity to another electrical device 200. In some embodiments, the electrical device 100 is an electric proportional valve, and the electrical device 200 is a PLC (Programmable Logic Controller). One end of the equivalent load resistor is connected to the common connection terminal DO through the interface terminal 501, and the other end of the equivalent load resistor is connected to the signal ground.

[0066] like Figure 10 As shown, it illustrates an application scenario structural block diagram of the electrical device 100 outputting a sinking digital quantity according to an embodiment of this application. The electrical device 100 outputs a sinking digital quantity to another electrical device 200. In some embodiments, the electrical device 100 is an electric proportional valve, and the electrical device 200 is a PLC (Programmable Logic Controller). One end of the equivalent load resistor is connected to the common connection terminal DO through the interface terminal 501, and the other end of the equivalent load resistor is connected to the power supply VCC4.

[0067] like Figure 11 The diagram illustrates a structural block diagram of a communication and interaction application scenario between electrical devices 100 provided in this application embodiment. Two electrical devices 100 are connected through an interface terminal 501, which is equivalent to connecting the common connection terminal DO of the two electrical devices 100 together, enabling communication. This communication can be single-wire half-duplex communication. The electrical devices 100 are connected to the interface terminal 501 through the common connection terminal DO. Through a single connection terminal, source-type digital output, sink-type digital output, and communication interaction functions can be compatiblely implemented. This low-cost solution greatly improves the applicability of the electrical devices 100.

[0068] The electrical equipment in this embodiment has the technical features of the digital output circuit embodiment with compatible communication described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0069] This application embodiment also provides an industrial control system, which includes a host and a slave. The host and the slave interact with each other through communication. The host includes a digital output circuit with compatible communication as described above. The host outputs communication signals to the slave through the common connection terminal DO via the common circuit 10 in the digital output circuit, and / or the host receives communication signals sent by the slave through the communication signal receiving circuit 20 in the digital output circuit via the common connection terminal DO.

[0070] The host includes a digital output circuit compatible with communication, which on the one hand makes the host compatible with more slave types and broadens the application scenarios of the host, and on the other hand, users do not need to consider the selection of host type, making it convenient for users.

[0071] The electrical equipment in this embodiment has the technical features of the digital output circuit embodiment with compatible communication described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0072] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A digital output circuit compatible with communication, characterized in that, The digital output circuit includes a common circuit and a communication signal receiving circuit. The input terminal of the common circuit is connected to the main control unit, the output terminal of the communication signal receiving circuit is connected to the main control unit, and the output terminal of the common circuit and the input terminal of the communication signal receiving circuit have a common connection terminal DO. When the common circuit is used as a digital output circuit, the common circuit outputs a digital signal through the common connection terminal DO; when the common circuit is used as a communication signal transmission circuit, the common circuit outputs a communication signal through the common connection terminal DO, and the communication signal receiving circuit receives the communication signal through the common connection terminal DO.

2. The digital output circuit for compatible communication according to claim 1, characterized in that, The communication signal receiving circuit includes a signal level conversion circuit. The input terminal of the signal level conversion circuit is connected to the common connection terminal DO, and the output terminal of the signal level conversion circuit is connected to the main control unit. The signal level conversion circuit is used to convert the communication signal received from the common connection terminal DO and then transmit it to the main control unit.

3. The digital output circuit for compatible communication according to claim 2, characterized in that, The communication signal receiving circuit also includes a receiving control circuit. The input terminal of the receiving control circuit is connected to the main control unit, and the output terminal of the receiving control circuit is connected to the level conversion circuit. The receiving control circuit controls the level conversion circuit to transmit or cut off the communication signal.

4. The digital output circuit for compatible communication according to claim 3, characterized in that, The signal level conversion circuit includes an optocoupler U1, the primary input terminal of which is connected to the common connection terminal DO, the primary output terminal of which is connected to the signal ground, and the secondary output terminal of which is connected to the main control unit.

5. The digital output circuit for compatible communication according to claim 4, characterized in that, The signal receiving control circuit includes a control switch Q7. The first end of the control switch Q7 is connected to the main control unit, the second end of the control switch Q7 is connected to the primary output terminal of the optocoupler U1, and the third end of the control switch Q7 is connected to the signal ground.

6. The digital output circuit for compatible communication according to claim 4, characterized in that, The signal level conversion circuit further includes a filtering unit, the input of which is connected to the secondary output of the optocoupler U1, and the output of which is connected to the main control unit.

7. The digital output circuit for compatible communication according to any one of claims 1-2, characterized in that, The shared circuit includes a first switch output circuit and a first control circuit. The input terminal of the first control circuit is connected to the main control unit, and the output terminal of the first control circuit is connected to the control terminal of the first switch output circuit to control the opening and closing of the first switch output circuit.

8. The digital output circuit for compatible communication according to claim 7, characterized in that, The first switch output circuit includes a first output switch Q3, which is a P-channel MOSFET. The base of the P-channel MOSFET is connected to the output terminal of the first control circuit, the source of the P-channel MOSFET is connected to the power supply VCC2, and the drain of the P-channel MOSFET is connected to the common connection terminal DO.

9. The digital output circuit for compatible communication according to claim 8, characterized in that, The first control circuit includes a first transistor Q1, a second transistor Q2, resistors R5 and R6. The control terminal of the first transistor Q1 is connected to the main control unit 30. The input terminal of the first transistor Q1 is connected to the power supply VCC1. The output terminal of the first transistor Q1 is connected to the control terminal of the second transistor Q2. The input terminal of the second transistor Q2 is connected to the first end of the resistor R6. The second end of the resistor R6 is connected to the first end of the resistor R5. The second end of the resistor R5 is connected to the power supply VCC2. The first end of the resistor R5 is also connected to the base of the first output switch Q3. The output terminal of the second transistor Q2 is connected to the signal ground.

10. The digital output circuit for compatible communication according to claim 1, characterized in that, The digital output circuit also includes a sinking digital output circuit. The input terminal of the sinking digital output circuit is connected to the main control unit, and the output terminal of the sinking digital output circuit is connected to the common connection terminal DO. The sinking digital output circuit outputs a sinking digital signal through the common connection terminal DO.

11. The digital output circuit for compatible communication according to claim 10, characterized in that, The sinking digital output circuit includes a second switch output circuit and a second control circuit; the input terminal of the second control circuit is connected to the main control unit, and the output terminal of the second control circuit is connected to the control terminal of the second switch output circuit to control the opening and closing of the second switch output circuit.

12. The digital output circuit for compatible communication according to claim 11, characterized in that, The second switch output circuit includes a second output switch Q6. The first end of the second output switch Q6 is connected to the output end of the second control circuit, the second end of the second output switch Q6 is connected to the common connection terminal DO, and the third end of the second output switch Q6 is connected to the signal ground.

13. The digital output circuit for compatible communication according to claim 11, characterized in that, The second control circuit includes a third transistor Q4, a fourth transistor Q5, resistors R11 and R12. The control terminal of the third transistor Q4 is connected to the main control unit 30, and the output terminal of the third transistor Q4 is connected to the control terminal of the fourth transistor Q5. The input terminal of the fourth transistor Q5 is connected to the power supply VCC3, and the output terminal of the fourth transistor Q5 is connected to the first terminal of resistor R11. The second terminal of resistor R11 is connected to the first terminal of resistor R12, and the second terminal of resistor R12 is connected to the signal ground.

14. An electrical device, characterized in that, It includes an aviation connector and a digital output circuit for compatible communication as described in any one of claims 1-13; the aviation connector includes interface terminals, and the common connection terminal DO is connected to the interface terminals.

15. An industrial control system, characterized in that, The industrial control system includes a host and a slave. The host and the slave interact with each other through communication. The host includes a digital output circuit compatible with communication as described in any one of claims 1-13. The host outputs communication signals to the slave through a common connection terminal DO via a common circuit in the digital output circuit, and / or the host receives communication signals sent by the slave through a communication signal receiving circuit in the digital output circuit via the common connection terminal DO.