Signal output circuit

By designing a signal output circuit including an input module, an output module, a first control module and a second control module, the existing analog output circuit has insufficient output accuracy and complex and high cost types of DAC modules, and automatic adjustment of the current voltage output type is realized, output accuracy and flexibility are improved, and cost and debugging workload are reduced.

CN222940804UActive Publication Date: 2025-06-03WUXI LEAD INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421741643.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2025-06-03
Estimated Expiration
2034-07-22

AI Technical Summary

Technical Problem

The existing analog output circuits have insufficient sampling resolution of digital-to-analog converters, which makes it difficult to meet high requirements. At the same time, traditional DAC modules have complicated and high costs, both current and voltage models.

Method used

A signal output circuit is designed, including an input module, an output module, a first control module and a second control module. By automatically adjusting the output type of the current and voltage, the current or voltage output is automatically switched according to the load, and there is no need for a host computer configuration, reducing the on-site debugging workload.

Benefits of technology

It realizes automatic change of current and voltage output type according to the load, improves output accuracy and flexibility, and reduces cost and debugging workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222940804U_ABST
    Figure CN222940804U_ABST
Patent Text Reader

Abstract

The utility model discloses a signal output circuit. In the signal output circuit, the first control module outputs the target current signal according to the initial electric signal and the preset conversion proportion, and the second control module determines the target current value according to the voltage value of the initial electric signal and the resistance value of the output load of the current; and then the second control module conducts or disconnects a connection path between the first control module and the output module according to the magnitude relationship between the current value of the target electric signal and the target current value, and outputs a target voltage signal through the second control module under the condition that the connection path between the first control module and the output module is disconnected. Therefore, the target current signal or the target voltage signal is output to the output load through the output module, the output type of the current and the voltage can be automatically changed according to the load, upper computer configuration is not needed, and the workload of field debugging is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to electronic technologies, including but not limited to a signal output circuit. Background Art

[0002] In existing analog output circuits, due to the insufficient sampling resolution of the digital-to-analog converter (DAC) built into the microcontroller, when the output accuracy requirement is relatively high, an external high-precision DAC sampling chip is generally used to implement the required functions. In addition, traditional DAC modules have two types of modules, current and voltage, resulting in a relatively complex variety and high cost. Summary of the Utility Model

[0003] In view of this, a signal output circuit provided by embodiments of the present application can automatically change the output type of current and voltage according to the load, without the need for upper computer configuration, greatly reducing the workload of on-site debugging.

[0004] A signal output circuit provided by embodiments of the present application includes an input module, an output module, a first control module, and a second control module. The first control module is respectively connected to the input module and the second control module, and the second control module is also respectively connected to the input module and the output module, where:

[0005] The input module obtains an initial electrical signal;

[0006] The first control module outputs a target current signal according to the initial electrical signal and a preset conversion ratio, and the ratio between the current value of the target current signal and the current value of the initial electrical signal is the preset conversion ratio;

[0007] The second control module determines a target current value according to the voltage value of the initial electrical signal and the resistance value of the output load of the circuit. When the current value of the target current signal is greater than the target current value, the connection path between the first control module and the output module is disconnected, and a target voltage signal is output through the second control module. Or when the current value of the target current signal is less than or equal to the target current value, the connection path between the first control module and the output module is conducted, and the target current signal is output to the output module;

[0008] The output module receives the target electrical signal and outputs the target electrical signal to the output load, and the target electrical signal is the target current signal or the target voltage signal.

[0009] In one embodiment, the first control module includes a current stabilizing sub-module and a conversion sub-module. The current stabilizing sub-module is respectively connected to the conversion sub-module and the input module, and the conversion sub-module is further connected to the second control module, where:

[0010] The current stabilizing sub-module stabilizes the current value of the initial electrical signal within a target current range and outputs the initial electrical signal after current stabilization.

[0011] The conversion sub-module outputs the target current signal according to the preset conversion ratio and the initial electrical signal after current stabilization.

[0012] In one embodiment, the current stabilizing sub-module includes a first comparator, a first impedance unit, and a first switching transistor. The positive input terminal of the first comparator is connected to the input module, the negative input terminal of the first comparator is respectively connected to the first impedance unit and the input terminal of the first switching transistor, the first impedance unit is further connected to the input module and the input terminal of the first switching transistor, the output terminal of the first comparator is connected to the driving terminal of the first switching transistor, and the output terminal of the first switching transistor is connected to the conversion sub-module and the second control module, where:

[0013] The first comparator outputs a first control signal according to the voltage magnitudes of the positive input terminal and the negative input terminal.

[0014] The first switching transistor conducts or disconnects the connection between the first impedance unit and the conversion sub-module and the second control module according to the first control signal, so as to output the initial electrical signal after current stabilization through the first impedance unit.

[0015] In one embodiment, the second control module includes an amplification sub-module, a comparison sub-module, and a switching sub-module. The switching sub-module is respectively connected to the amplification sub-module, the comparison sub-module, the output module, and the first control module. The amplification sub-module is further connected to the input module and the comparison sub-module, and the comparison sub-module is further connected to the first control module and the output module, where:

[0016] The amplification sub-module obtains the target voltage signal according to the voltage value of the initial electrical signal and a preset voltage amplification ratio.

[0017] The comparison sub-module determines the target current value according to the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a second control signal according to the magnitude relationship between the current value of the target current signal and the target current value.

[0018] The switch sub-module receives and disconnects the connection path between the first control module and the output module according to the second control signal, and outputs a target voltage signal through the second control module, or conducts the connection path between the first control module and the output module, and outputs the target current signal to the output module.

[0019] In one embodiment, the amplification sub-module includes a second comparator and a first amplifier. The positive input terminal of the second comparator is connected to the input module, the negative input terminal of the second comparator is connected to the output module, the output terminal of the second comparator is connected to the driving terminal of the first amplifier, the input terminal of the first amplifier is connected to the input module, and the output terminal of the first amplifier is respectively connected to the comparison sub-module and the switch sub-module, where:

[0020] The second comparator outputs a third control signal according to the voltage magnitudes of the positive input terminal and the negative input terminal.

[0021] The first amplifier receives and outputs the target voltage signal according to the third control signal, based on the voltage value of the initial electrical signal and a preset voltage amplification ratio.

[0022] In one embodiment, the comparison sub-module includes a third comparator. The positive input terminal of the third comparator is connected to the first control module, the negative input terminal of the third comparator is connected to the input terminal of the switch sub-module, and the output terminal of the third comparator is connected to the driving terminal of the switch sub-module.

[0023] In one embodiment, the second control module includes an operation sub-module, a comparison sub-module, and a switch sub-module. The switch sub-module is respectively connected to the operation sub-module, the comparison sub-module, the output module, and the first control module. The operation sub-module is also respectively connected to the first control module and the output module. The comparison sub-module is also connected to the first control module, where:

[0024] The operation sub-module obtains the target voltage signal according to the difference between the voltage value of the initial electrical signal and the voltage value of the initial electrical signal after current stabilization.

[0025] The comparison sub-module determines the target current value according to the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a fourth control signal according to the magnitude relationship between the current value of the target current signal and the target current value.

[0026] The switch sub-module receives and disconnects the connection between the first control module and the output module according to the fourth control signal, so as to output a target voltage signal through the second control module, or conducts the connection between the first control module and the output module to output the target current signal to the output module.

[0027] In one embodiment, the operation sub-module includes a fourth comparator. The positive input terminal of the fourth comparator is connected to the output module, the negative input terminal of the fourth comparator is connected to the inverted input terminal of the first comparator, and the output terminal of the fourth comparator is connected to the driving terminal of the switch sub-module.

[0028] In one embodiment, the conversion sub-module includes a resistor, and the resistance value of the resistor is determined by the preset conversion ratio.

[0029] In one embodiment, the circuit further includes a protection module, and the protection module is respectively connected to the output load and the output module, where:

[0030] When the current value or voltage value of the target electrical signal is greater than the preset protection threshold, the protection module disconnects the connection between the output load and the output module.

[0031] In the above signal output circuit, by setting the first control module to output a target current signal according to the initial electrical signal and the preset conversion ratio, and the second control module to determine the target current value according to the voltage value of the initial electrical signal and the resistance value of the output load of the current, and then the second control module conducts or disconnects the connection path between the first control module and the output module according to the magnitude relationship between the current value of the target electrical signal and the target current value, and when the connection path between the first control module and the output module is disconnected, the second control module outputs a target voltage signal, so as to output a target current signal or a target voltage signal to the output load through the output module, so as to be able to automatically change the output type of the current and voltage according to the load, without the need for upper computer configuration, greatly reducing the workload of on-site debugging. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings here are incorporated into the specification and constitute a part of this specification. These drawings show embodiments consistent with the present application and, together with the specification, illustrate the technical solutions of the present application.

[0033] Figure 1 It is one of the structural schematic diagrams of the signal output circuit provided by the embodiment of the present application;

[0034] Figure 2 It is the structural schematic diagram of the current output circuit provided by the embodiment of the present application;

[0035] Figure 3 Structural schematic diagram of the voltage output circuit provided by the embodiment of the present application;

[0036] Figure 4 Structural schematic diagram of the first control module provided by the embodiment of the present application;

[0037] Figure 5 Structural schematic diagram of the current stabilizing sub-module provided by the embodiment of the present application;

[0038] Figure 6 One of the structural schematic diagrams of the second control module provided by the embodiment of the present application;

[0039] Figure 7 Structural schematic diagram of the amplification sub-module provided by the embodiment of the present application;

[0040] Figure 8 Structural schematic diagram of the comparison sub-module provided by the embodiment of the present application;

[0041] Figure 9 One of the implementation structural schematic diagrams of the signal output circuit provided by the embodiment of the present application;

[0042] Figure 10 Another structural schematic diagram of the second control module provided by the embodiment of the present application;

[0043] Figure 11 Structural schematic diagram of the operation sub-module provided by the embodiment of the present application;

[0044] Figure 12 Another implementation structural schematic diagram of the signal output circuit provided by the embodiment of the present application;

[0045] Figure 13 Another structural example diagram of the signal output circuit provided by the embodiment of the present application;

[0046] Figure 14 The third structural schematic diagram of the signal output circuit provided by the embodiment of the present application. Detailed implementation manners

[0047] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will further describe the specific technical solutions of the present application in detail with reference to the accompanying drawings in the embodiments of the present application. The following embodiments illustrate the present application but do not limit the scope of the present application.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0049] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.

[0050] It should be noted that the terms "first", "second", and "third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific order for the objects. It is understood that "first", "second", and "third" can be interchanged in a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0051] The embodiments of the present application disclose a cargo handling system, which can reduce the labor intensity of workers and improve the transportation efficiency.

[0052] The following will be described in detail with reference to the accompanying drawings.

[0053] Figure 1 It is a schematic structural diagram of a signal output circuit provided for the embodiments of the present application. As Figure 1 shown, the signal output circuit includes an input module 101, an output module 104, a first control module 102, and a second control module 103. The first control module 102 is respectively connected to the input module 101 and the second control module 103, and the second control module 103 is also respectively connected to the input module 101 and the output module 104, where:

[0054] The input module 101 obtains an initial electrical signal;

[0055] The first control module 102 outputs a target current signal according to the initial electrical signal and a preset conversion ratio. The ratio between the current value of the target current signal and the current value of the initial electrical signal is the preset conversion ratio;

[0056] The second control module 103 determines a target current value according to the voltage value of the initial electrical signal and the resistance value of the output load of the circuit. When the current value of the target current signal is greater than the target current value, the connection path between the first control module 102 and the output module 104 is disconnected, and a target voltage signal is output through the second control module 103. Or when the current value of the target current signal is less than or equal to the target current value, the connection path between the first control module 102 and the output module 104 is conducted, and the target current signal is output to the output module 104;

[0057] The output module 104 receives the target electrical signal and outputs the target electrical signal to the output load. The target electrical signal is the target current signal or the target voltage signal.

[0058] During the implementation process, when the input module 101 receives an initial electrical signal, it transmits the initial electrical signal to the first control module 102 and the second control module 103 respectively. The first control module 102 outputs a target current signal according to the initial electrical signal and a preset conversion ratio. After the second control module 103 determines a target current value based on the voltage value of the initial electrical signal and the resistance value of the output load, it disconnects or conducts the connection path between the first control module 102 and the output module 104 according to the magnitude relationship between the target current value and the current value of the target current signal. Among them, the second control module 103 will determine a target voltage signal according to the initial electrical signal and the resistance value of the output load, and when the second control module 103 disconnects the connection path between the first control module 102 and the output module 104, the second control module 103 will only output the target voltage signal to the output module 104. Conversely, the second control module 103 will only output the target current signal to the output module 104, so as to automatically change the output type of the current and voltage according to the resistance value of the output load.

[0059] Optionally, the above input module 101 may include an input port, and the input port is connected to a first external device to receive the initial electrical signal input by the first external device through the input port.

[0060] Optionally, the above output module 104 may include an output port, and the output port is connected to a second external device to output a target electrical signal to the second external device through the output port.

[0061] Optionally, the above first control module 102 may include a current output circuit, and the current output circuit may adopt common technical means in the art. For example, as Figure 2 shown, the current output circuit may include a first comparator OA1 and a second comparator OA2. The first comparator OA1 is used to control the conduction or disconnection of the first switching transistor Q3 according to the magnitude relationship between the voltage at the input terminal Vin and the voltage at the resistor R4. The second comparator OA2 is used to control the conduction or disconnection of the second switching transistor Q1 according to the magnitude relationship between the voltage at the resistor R5 and the voltage at the resistor R6. Those skilled in the art can adjust the magnitude of the output current of the current output circuit according to the resistance values of the resistor R5 and the resistor R6. For example, the resistance value of the resistor R6 is 100 ohms, and the resistance value of the resistor R5 is 1 k ohm. Since 100 ohms is 1 / 10 of 1 k ohm, it is equivalent to amplifying the current flowing through the resistor R4 by 10 times. The specific value of the output current can be determined according to the resistance value of the resistor R4, and is specifically set by those skilled in the art according to the actual situation. This application does not make any restrictions.

[0062] Optionally, the second control module 103 may include a voltage output circuit and a switch unit. The input end of the voltage output circuit is connected to the input module 101, the output end of the voltage output circuit is connected to the first input end of the switch unit, the output end of the current output circuit is connected to the second input end of the switch unit, and the output end of the switch unit is connected to the output module 104. The voltage output circuit outputs a target voltage signal. The switch unit determines whether to output the target voltage signal or the target current signal according to the magnitude relationship between the current value of the target current signal and the target current value. Among them, the voltage output circuit may adopt common technical means in the art. For example, as Figure 3 shown, the current output circuit may include a third comparator OA3 and a fourth comparator OA4. The third comparator OA3 obtains and outputs a driving signal to the base of the third switching transistor Q3 according to the magnitude relationship between the voltage at the input end Vin and the voltage value at the output end. Thus, the output voltage of the voltage output circuit is equal to the voltage at the positive input end of the third comparator OA3. The fourth comparator OA4 controls the base of the fourth switching transistor Q4 according to the magnitude relationship between the voltage across the resistor R5 and the voltage across the resistor R6, so that the output current of the voltage output circuit is stabilized within a fixed range. The third switching transistor Q3 and the fourth switching transistor Q4 are inverting amplifiers, and the capacitor C2 can ensure the stability of the operating frequency of the voltage output circuit.

[0063] In the above signal output circuit, by setting the first control module 102 to output a target current signal according to the initial electrical signal and the preset conversion ratio, and the second control module 103 to determine the target current value according to the voltage value of the initial electrical signal and the resistance value of the current output load, and then the second control module 103 conducts or disconnects the connection path between the first control module 102 and the output module 104 according to the magnitude relationship between the current value of the target electrical signal and the target current value, and when the connection path between the first control module 102 and the output module 104 is disconnected, the second control module 103 outputs a target voltage signal, so as to output a target current signal or a target voltage signal to the output load through the output module 104, so that the output type of the current and voltage can be automatically changed according to the load, without the need for upper computer configuration, greatly reducing the workload of on-site debugging.

[0064] In some embodiments, as Figure 4 shown, the first control module 102 may include a current stabilization sub-module 1021 and a conversion sub-module 1022. The current stabilization sub-module 1021 is respectively connected to the conversion sub-module 1022 and the input module 101, and the conversion sub-module 1022 is also connected to the second control module 103, where:

[0065] The current stabilization sub-module 1021 stabilizes the current value of the initial electrical signal within the target current range and outputs the stabilized initial electrical signal;

[0066] The conversion sub-module 1022 outputs a target current signal according to a preset conversion ratio and the initial electrical signal after current stabilization.

[0067] During the implementation process, after receiving the initial electrical signal, the current stabilization sub-module 1021 will, according to its own current stabilization parameters, stabilize the current value of the initial electrical signal within the target current range to output the initial electrical signal after current stabilization, thereby preventing current mutation. Furthermore, the conversion sub-module 1022 will perform numerical conversion of the current on the initial electrical signal after current stabilization according to the preset conversion ratio to output a target current signal, so that the current value of the target current signal meets the output requirements of the output load.

[0068] Optionally, the above-mentioned current stabilization sub-module 1021 can be a current stabilizing tube, and the model parameters of the current stabilizing tube are determined by the current range of the initial electrical signal and the target current range. The specific parameters are set by those skilled in the art according to the actual situation, and this application does not make any restrictions.

[0069] Optionally, the above-mentioned conversion sub-module 1022 can be a current amplifier or a resistor, which is specifically set by those skilled in the art according to the actual situation, and this application does not make any restrictions.

[0070] In some embodiments, the above-mentioned conversion sub-module 1022 includes a resistor, and the resistance value of the resistor is determined by the preset conversion ratio.

[0071] It can be understood that after the current value of the initial electrical signal is stabilized within the target current range by the current stabilization sub-module 1021, the circuit value mutation of the initial electrical signal can be prevented to improve the stability of the target current signal.

[0072] In some embodiments, as Figure 5 shown, the above-mentioned current stabilization sub-module 1021 can include a first comparator, a first impedance unit, and a first switching tube. The positive-phase input terminal of the first comparator is connected to the input module 101, the negative-phase input terminal of the first comparator is respectively connected to the input terminals of the first impedance unit and the first switching tube, the first impedance unit is also connected to the input module 101 and the input terminals of the first switching tube, the output terminal of the first comparator is connected to the driving terminal of the first switching tube, and the output terminal of the first switching tube is connected to the conversion sub-module 1022 and the second control module 103, where:

[0073] The first comparator outputs a first control signal according to the voltage magnitudes of the positive-phase input terminal and the negative-phase input terminal;

[0074] The first switching tube conducts or disconnects the connection between the first impedance unit and the conversion sub-module 1022 and the second control module 103 according to the first control signal to output the initial electrical signal after current stabilization through the first impedance unit.

[0075] During implementation, the first comparator outputs a first control signal according to the magnitudes of the voltage of the initial electrical signal and the electrical signal at the output end of the first impedance unit, so as to ensure that the current value of the electrical signal flowing to the conversion sub-module 1022 is within the target range. Wherein, the current value of the electrical signal flowing to the conversion sub-module 1022 is determined by the impedance value of the first impedance unit and the voltage value of the initial electrical signal.

[0076] Optionally, the first impedance unit and the input module 101 can be connected through a filter capacitor to filter the initial electrical signal. The above-mentioned first impedance unit can include a first impedance and a second impedance. The first impedance is respectively connected to the input module 101 and the first switching tube, and the second impedance is respectively connected to the inverting input terminal of the first comparator, the first switching tube and the first impedance.

[0077] It can be understood that by stabilizing the voltage of the initial electrical signal through an amplifier and a switching tube, it is possible to avoid the need for the host computer to perform command control on it, reducing the device cost.

[0078] In some embodiments, as Figure 6 shown, the above-mentioned second control module 103 includes an amplification sub-module 1033, a comparison sub-module 1032 and a switching sub-module 1031. The switching sub-module 1031 is respectively connected to the amplification sub-module 1033, the comparison sub-module 1032, the output module 104 and the first control module 102. The amplification sub-module 1033 is also connected to the input module 101 and the comparison sub-module 1032. The comparison sub-module 1032 is also connected to the first control module 102 and the output module 104, wherein:

[0079] The amplification sub-module 1033 obtains a target voltage signal according to the voltage value of the initial electrical signal and a preset voltage amplification ratio;

[0080] The comparison sub-module 1032 determines a target current value according to the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a second control signal according to the magnitude relationship between the current value of the target current signal and the target current value;

[0081] The switching sub-module 1031 receives and according to the second control signal, disconnects the connection path between the first control module 102 and the output module 104, and outputs the target voltage signal through the second control module 103, or conducts the connection path between the first control module 102 and the output module 104, and outputs the target current signal to the output module 104.

[0082] During the implementation process, after the amplification sub-module 1033 obtains the target voltage signal according to the voltage value of the initial electrical signal and the preset voltage amplification ratio, it outputs the target voltage signal to the comparison sub-module 1032 and the switch sub-module 1031. The comparison sub-module 1032 determines the target current value according to the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a second control signal according to the magnitude relationship between the current value of the target current signal and the target current value, so as to control the switch sub-module 1031 to conduct or disconnect the connection path between the first control module 102 and the output module 104. When the switch sub-module 1031 conducts the connection path between the first control module 102 and the output module 104, the switch sub-module 1031 outputs the target current signal to the output module 104; when the switch sub-module 1031 disconnects the connection path between the first control module 102 and the output module 104, the switch sub-module 1031 outputs the target voltage signal to the output module 104, thereby realizing the adaptive change of the type of the output electrical signal according to the magnitude of the resistance value of the output load.

[0083] Optionally, the above amplification sub-module 1033 may be a voltage amplifier, which is specifically set by those skilled in the art according to the actual situation, and this application does not make any restrictions.

[0084] Optionally, the above comparison sub-module 1032 may be an operational amplifier. The positive input terminal of the operational amplifier is connected to the first control module 102, the negative input terminal of the operational amplifier is connected to the output module 104, and the output terminal of the operational amplifier is connected to the driving terminal of the switch sub-module 1031, which is specifically set by those skilled in the art according to the actual situation, and this application does not make any restrictions.

[0085] Optionally, the above switch sub-module 1031 may be a control switch. The first input terminal of the control switch is connected to the first control module 102, the second input terminal of the control switch is connected to the amplification sub-module 1033, the driving terminal of the control switch is connected to the comparison sub-module 1032, and the output terminal of the control module is connected to the output module 104, which is specifically set by those skilled in the art according to the actual situation, and this application does not make any restrictions.

[0086] It can be understood that by outputting a second control signal through the comparison sub-module 1032 to control the switch sub-module 1031 to conduct or disconnect the connection path between the first control module 102 and the output module 104, the type of the output electrical signal can be adaptively changed according to the magnitude of the resistance value of the output load.

[0087] In some embodiments, such as Figure 7As shown, the above-mentioned amplification sub-module 1033 includes a second comparator and a first amplifier. The non-inverting input terminal of the second comparator is connected to the input module 101, the inverting input terminal of the second comparator is connected to the output module 104, the output terminal of the second comparator is connected to the driving terminal of the first amplifier, the input terminal of the first amplifier is connected to the input module 101, and the output terminal of the first amplifier is respectively connected to the comparison sub-module 1032 and the switch sub-module 1031, where:

[0088] The second comparator outputs a third control signal according to the voltage magnitudes of the non-inverting input terminal and the inverting input terminal.

[0089] The first amplifier receives and outputs a target voltage signal according to the third control signal, based on the voltage value of the initial electrical signal and a preset voltage amplification ratio.

[0090] During the implementation process, the second comparator outputs a third control signal according to the voltage magnitudes of the initial electrical signal and the electrical signal at the output module 104, so as to control the first amplifier to output a target voltage signal according to the voltage value of the initial electrical signal and the preset voltage amplification ratio.

[0091] Optionally, the above-mentioned first amplifier may be a triode. The base of the triode is connected to the output terminal of the second comparator, the collector of the triode is connected to the comparison sub-module 1032 and the switch sub-module 1031, and the emitter of the triode is connected to the input module 101 to invert and amplify the voltage value of the initial electrical signal.

[0092] It can be understood that by amplifying the voltage of the initial electrical signal through an amplifier and a comparator, it is possible to eliminate the need for a host computer to control it with instructions, reducing the device cost.

[0093] In some embodiments, as Figure 8 shown, the above-mentioned comparison sub-module 1032 includes a third comparator. The non-inverting input terminal of the third comparator is connected to the first control module 102, the inverting input terminal of the third comparator is connected to the input terminal of the switch sub-module 1031, and the output terminal of the third comparator is connected to the driving terminal of the switch sub-module 1031.

[0094] During the implementation process, the non-inverting input terminal of the third comparator is connected to the first control module 102, and the inverting input terminal of the third comparator is connected to the input terminal of the switch sub-module 1031. Therefore, due to the existence of the target current value at the input terminal of the switch sub-module 1031, the voltage value input to the inverting input terminal of the third comparator will be affected. If the voltage value at the inverting input terminal is greater than the voltage value at the non-inverting input terminal, the voltage value of the second control signal output by the third comparator will be zero; if the voltage value at the inverting input terminal is less than the voltage value at the non-inverting input terminal, the third comparator can output a second control signal with a high-level voltage value, thereby controlling the switch sub-module 1031 to conduct or disconnect the connection path between the first control module 102 and the output module 104.

[0095] It can be understood that by using a comparator to implement the output of the second control signal, the device cost can be further reduced.

[0096] Exemplarily, as Figure 9 shown, the signal output circuit may include an input module 101, a first control module 102, a second control module 103, and an output module 104. The input module 101 includes a fifth switch transistor Q5, the first control module 102 includes a first comparator OA1, a third switch transistor Q3, a fourth switch transistor Q4, and a fourth comparator OA4, and the second control module 103 includes a second comparator OA2, a third comparator OA3, a triode Q2, and a first switch transistor Q1. The base of the fifth switch transistor Q5 is connected to the output terminal of the second comparator OA2, the collector of the fifth switch transistor Q5 is connected to an external power supply, and the emitter of the fifth switch transistor Q5 is respectively connected to the input terminal Vin of the input module 101 and the non-inverting input terminal of the first comparator OA1. The inverting input terminal of the first comparator OA1 is connected to the input terminal Vin through a resistor and a capacitor, and the inverting input terminal of the first comparator OA1 is also connected to the collector of the third switch transistor Q3. The output terminal of the first comparator OA1 is connected to the base of the third switch transistor Q3. The emitter of the third switch transistor Q3 is respectively connected to a resistor R5 and the non-inverting input terminal of the second comparator OA2. The inverting input terminal of the second comparator OA2 is connected to the emitter of the first switch transistor Q1. The output terminal of the second comparator OA2 is connected to the base of the first switch transistor Q1 through a diode D2. The collector of the first switch transistor Q1 is connected to the output terminal Output of the output module 104. The non-inverting input terminal of the third comparator OA3 is connected to the input terminal Vin of the input module 101. The inverting input terminal of the third comparator OA3 is respectively connected to a capacitor C2 and the output module 104. The output terminal of the third comparator OA3 is connected to the base of the triode Q2 through a resistor R9. The collector of the triode Q2 is respectively connected to one end of the diode D2, the first switch transistor Q1, the resistor R5, and one end of a resistor R6. The emitter of the triode Q2 is respectively connected to the input module 101 and the output module 104.

[0097] Assume that the input voltage Vin of the input module 101 is 3 volts, and a 1000-ohm load resistor RL is attached to the output terminal output of the output module 104. OA3 will adjust its output by driving Q2, and Q2 drives Q1 to maintain a voltage of 6 volts at the output terminal of the circuit. The voltage at the output terminal is 6 volts, with an additional 1000 ohms, and the current flowing through the output resistor is 6 milliamperes. In the current control section of the circuit, OA1 will adjust its output to maintain 1.2 milliamperes flowing through R4, Q3, and R5. However, since the target current at OA3 is 6 ma, at this time, the voltage at the positive input terminal of OA2 is lower than the voltage at the negative input terminal, so the output of OA2 will be driven to the lowest possible level, close to 0 volts, and thus Q5 is also non-conductive. At this time, only the voltage signal in the signal output circuit is transmitted to the output terminal Output of the output module 104.

[0098] Assume that the input voltage Vin of the input module 101 is 3 volts and the load resistor RL is 100 ohms. Connected to the output, OA3 will adjust its output by driving Q2, and Q2 drives Q1 to maintain 6 volts at the circuit output. The voltage at the output terminal is 6 volts, with an additional 100 ohms, and the current flowing through the output resistor is 60 milliamperes. However, in the current control section of the circuit, OA1 will adjust its output to keep 1.2 mA flowing through R4, Q3, and R5. OA2 will adjust its output to try to keep 12 milliamperes flowing through Q1. Since the target current at OA3 is 60 ma, at this time, the voltage at the positive input terminal of OA2 is higher than the voltage at the negative input terminal, so the output of OA2 will be driven to a high level to limit the output current to 12 ma. D2 is now conductive, the gate of Q1 will be controlled by the control signal output by OA2, and Q5 will be conductive, thereby increasing the control voltage from 3 volts to 3.4 volts. OA1 will adjust its output to keep 1.36 mA flowing through Q3 and R5. OA2 will adjust its output to try to keep 13.6 mA flowing through R6 and Q1. At this time, OA4 and Q4 are required to compensate for the current transferred from RL by the resistor divider R10 and R11. Thus, when RL changes from 0 to 500 ohms, the circuit will provide 4 to 20 milliamperes through the output. When the externally attached resistor load RL changes from 500 ohms or greater, the circuit will provide a voltage of 0.10 to 10 volts at the output terminal.

[0099] Figure 9The operational amplifiers OA1 to OA4 therein must have low input errors, namely input offset voltage Vos, input bias current Ib, and input offset current los, so as to perform appropriate switching between voltage control operation and current control operation. The output voltage will reduce the target loss value, resulting in the target loss value at OA3 being 2*(los3*R17 + Vos3), where los3 is the input bias current of OA3 and Vos3 is the input offset voltage of OA3. When the current is output from the negative input terminal of the operational amplifier, Vos3 will be regarded as the bias voltage of the positive input terminal, but actually Vos3 is relative to the negative input of OA3. Similarly, the output current will also increase or decrease through a multiple combination of losses. When the load resistor RL exceeds 500 ohms, since Q5 is cut off by OA2, the voltage at the positive input terminal of OA3 also decreases. When RL approaches 500 ohms, the operational amplifier error will cause the output signals of the first control module 102 and the second control module 103 to conflict, that is, the RL range for switching will depend on the value of VIN and the magnitude of the error. To eliminate the influence of the above errors, another implementation manner of the second control module 103 can also be proposed:

[0100] In some other embodiments, such as Figure 10 shown, the above-mentioned second control module 103 includes an operation sub-module 1034, a comparison sub-module 1032, and a switch sub-module 1031. The switch sub-module 1031 is respectively connected to the operation sub-module 1034, the comparison sub-module 1032, the output module 104, and the first control module 102. The operation sub-module 1034 is also respectively connected to the first control module 102 and the output module 104. The comparison sub-module 1032 is also connected to the first control module 102, where:

[0101] The operation sub-module 1034 obtains a target voltage signal according to the difference between the voltage value of the initial electrical signal and the voltage value of the initial electrical signal after current stabilization;

[0102] The comparison sub-module 1032 determines a target current value according to the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a fourth control signal according to the magnitude relationship between the current value of the target current signal and the target current value;

[0103] The switch sub-module 1031 receives and according to the fourth control signal, disconnects the connection between the first control module 102 and the output module 104 to output the target voltage signal through the second control module 103, or conducts the connection between the first control module 102 and the output module 104 to output the target current signal to the output module 104.

[0104] During the implementation process, after obtaining the target voltage signal based on the difference between the voltage value of the initial electrical signal and the voltage value of the initial electrical signal after current stabilization, the operator module 1034 outputs the target voltage signal to the comparator sub-module 1032 and the switch sub-module 1031. The comparator sub-module 1032 determines the target current value based on the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a fourth control signal according to the magnitude relationship between the current value of the target current signal and the target current value, thereby controlling the switch sub-module 1031 to conduct or disconnect the connection path between the first control module 102 and the output module 104. When the switch sub-module 1031 conducts the connection path between the first control module 102 and the output module 104, the switch sub-module 1031 outputs the target current signal to the output module 104; when the switch sub-module 1031 disconnects the connection path between the first control module 102 and the output module 104, the switch sub-module 1031 outputs the target voltage signal to the output module 104, thereby realizing the adaptive change of the type of the output electrical signal according to the magnitude of the resistance value of the output load.

[0105] It should be understood that since the operator module 1034 is respectively connected to the first control module 102 and the output module 104, and the target voltage signal is determined by the difference between the voltage value of the initial electrical signal and the voltage value of the initial electrical signal after current stabilization, the first-order influence of the voltage input bias error in the circuit voltage output can be eliminated, and the influence brought by the bias error can be avoided.

[0106] Optionally, the above-mentioned operator module 1034 can be a comparator, which is specifically set by those skilled in the art according to the actual situation, and this application does not make any restrictions.

[0107] In some embodiments, as Figure 11 shown, the above-mentioned operator module 1034 includes a fourth comparator. The positive input terminal of the fourth comparator is connected to the output module 104, the negative input terminal of the fourth comparator is connected to the inverting input terminal of the first comparator, and the output terminal of the fourth comparator is connected to the driving terminal of the switch sub-module 1031.

[0108] It can be understood that the fourth comparator directly compares the voltage value at the inverting input terminal of the first comparator and the voltage value at the output module 104, which can reduce the error influence brought by the input bias current of the comparator.

[0109] Exemplarily, as Figure 12As shown, the signal output circuit may include an input module 101, a first control module 102, a second control module 103, and an output module 104. The input module 101 includes a fifth switching transistor Q5. The first control module 102 includes a first comparator OA1, a third switching transistor Q3, a fourth switching transistor Q4, and a fourth comparator OA4. The second control module 103 includes a second comparator OA2, a third comparator OA3, and a first switching transistor Q1. The base of the fifth switching transistor Q5 is connected to the output terminal of the second comparator OA2. The collector of the fifth switching transistor Q5 is connected to an external power supply. The emitter of the fifth switching transistor Q5 is respectively connected to the input terminal Vin of the input module 101 and the non-inverting input terminal of the first comparator OA1. The inverting input terminal of the first comparator OA1 is connected to the input terminal Vin through a resistor and a capacitor. The inverting input terminal of the first comparator OA1 is also connected to the collector of the third switching transistor Q3. The output terminal of the first comparator OA1 is connected to the base of the third switching transistor Q3. The emitter of the third switching transistor Q3 is respectively connected to a resistor R5 and the non-inverting input terminal of the second comparator OA2. The inverting input terminal of the second comparator OA2 is connected to the emitter of the first switching transistor Q1. The output terminal of the second comparator OA2 is connected to the base of the first switching transistor Q1 through a diode D2. The collector of the first switching transistor Q1 is connected to the output terminal Output of the output module 104. The non-inverting input terminal of the third comparator OA3 is connected to the output module 104 through a resistor R17. The inverting input terminal of the third comparator OA3 is connected to the negative input terminal of the first comparator OA1. The output terminal of the third comparator OA3 is connected to the base of the first switching transistor Q1 through a resistor R20. The output terminal of the third comparator OA3 is also connected to one end of the resistor R5 and one end of the resistor R6 through a resistor R7.

[0110] From Figure 12 the circuit structure in Figure 9 it can be seen that compared with the circuit structure shown in

[0111] In addition, in this embodiment, Figure 9 replacing D1 in

[0112] with diodes D1, D3, and D4 can increase the reference voltage VDC by about 0.5 volts. VDC is the voltage between the resistor R5 and the resistor R6, thereby increasing the voltage on R6. In this circuit, the resistance value RL of the output load where the output voltage signal and the output current signal are switched can be very close to the critical value of 500 ohms. Figure 13As shown, the above circuit further includes a protection module 105, and the protection module 105 is respectively connected to the output load and the output module 104, where:

[0113] When the current value or voltage value of the target electrical signal is greater than a preset protection threshold, the protection module 105 disconnects the connection between the output load and the output module 104.

[0114] It should be understood that by disconnecting the connection between the output load and the output module 104 when the current value or voltage value of the target electrical signal is greater than the preset protection threshold through the protection module 105, protection can be provided for the output load during the surge and voltage spike of the signal output circuit, avoiding damage to the output load.

[0115] Among them, the above protection module 105 can adopt common technical means in the art, such as fuses, control switches, etc., and are specifically set by those skilled in the art according to the actual situation, and this application does not make any limitations.

[0116] In some embodiments, as Figure 14 shown, the above circuit further includes a current stabilizing module 106, and the current stabilizing module 106 is respectively connected to the output load and the output module 104, where:

[0117] The current stabilizing module 106 stabilizes the current value of the target current signal output by the output module 104 within a target current range.

[0118] It should be understood that by stabilizing the current value of the target current signal output by the output module 104 within the target current range through the current stabilizing module 106, it can...

[0119] Among them, the above current stabilizing module 106 can adopt common technical means in the art, such as variable resistors, energy storage elements, etc., and are specifically set by those skilled in the art according to the actual situation, and this application does not make any limitations.

[0120] It should be understood that the "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" or "in some embodiments" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the magnitudes of the serial numbers of the above processes do not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages or disadvantages of the embodiments. The above descriptions of the various embodiments tend to emphasize the differences between the various embodiments, and their similarities or similarities can be referred to each other. For the sake of brevity, they will not be repeated herein.

[0121] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, object A and / or object B can represent: object A exists alone, object A and object B exist simultaneously, and object B exists alone. These three situations.

[0122] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, the element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including the element.

[0123] The modules described above as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules; they may be located in one place or distributed to multiple network units; some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] In addition, each functional module in the embodiments of the present application can be all integrated in a processing unit, or each module can be separately used as a unit, or two or more modules can be integrated in a unit; the above integrated modules can be implemented in the form of hardware or in the form of a combination of hardware and software functional units.

[0125] The features disclosed in several product embodiments provided by this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0126] As mentioned above, it is only the implementation mode of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art in the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

1. A signal output circuit, characterized in that: The circuit includes an input module, an output module, a first control module and a second control module, wherein the first control module is connected to the input module and the second control module respectively, and the second control module is also connected to the input module and the output module respectively, wherein: The input module obtains an initial electrical signal; The first control module outputs a target current signal according to the initial electrical signal and a preset conversion ratio, wherein a ratio between a current value of the target current signal and a current value of the initial electrical signal is the preset conversion ratio; The second control module determines a target current value according to the voltage value of the initial electrical signal and the resistance value of the output load of the circuit, disconnects the connection path between the first control module and the output module when the current value of the target current signal is greater than the target current value, and outputs the target voltage signal through the second control module, or conducts the connection path between the first control module and the output module when the current value of the target current signal is less than or equal to the target current value, and outputs the target current signal to the output module; The output module receives a target electrical signal and outputs the target electrical signal to the output load, where the target electrical signal is the target current signal or the target voltage signal.

2. The circuit according to claim 1, characterized in that The first control module includes a flow stabilizing submodule and a conversion submodule, wherein the flow stabilizing submodule is connected to the conversion submodule and the input module respectively, and the conversion submodule is also connected to the second control module, wherein: The current stabilization submodule stabilizes the current value of the initial electrical signal within a target current range and outputs the initial electrical signal after current stabilization; The conversion submodule outputs the target current signal according to the preset conversion ratio and the initial electrical signal after current stabilization.

3. The circuit according to claim 2, characterized in that The current stabilization submodule includes a first comparator, a first impedance unit and a first switch tube, the non-phase input end of the first comparator is connected to the input module, the inverting input end of the first comparator is connected to the first impedance unit and the input end of the first switch tube respectively, the first impedance unit is also connected to the input module and the input end of the first switch tube, the output end of the first comparator is connected to the driving end of the first switch tube, and the output end of the first switch tube is connected to the conversion submodule and the second control module, wherein: The first comparator outputs a first control signal according to the voltage magnitudes of the non-inverting input terminal and the inverting input terminal; The first switch tube, according to the first control signal, turns on or off the connection between the first impedance unit and the conversion submodule and the second control module respectively, so as to output the initial electrical signal after current stabilization through the first impedance unit.

4. The circuit according to claim 1, characterized in that The second control module includes an amplifying submodule, a comparing submodule and a switching submodule, wherein the switching submodule is respectively connected to the amplifying submodule, the comparing submodule, the output module and the first control module, the amplifying submodule is also connected to the input module and the comparing submodule, and the comparing submodule is also connected to the first control module and the output module, wherein: The amplification submodule obtains the target voltage signal according to the voltage value of the initial electrical signal and a preset voltage amplification ratio; The comparison submodule determines the target current value according to the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a second control signal according to the magnitude relationship between the current value of the target current signal and the target current value; The switch submodule receives and disconnects the connection path between the first control module and the output module according to the second control signal, and outputs the target voltage signal through the second control module, or connects the connection path between the first control module and the output module, and outputs the target current signal to the output module.

5. The circuit according to claim 4, characterized in that The amplification submodule includes a second comparator and a first amplifier, the non-inverting input terminal of the second comparator is connected to the input module, the inverting input terminal of the second comparator is connected to the output module, the output terminal of the second comparator is connected to the driving terminal of the first amplifier, the input terminal of the first amplifier is connected to the input module, and the output terminal of the first amplifier is connected to the comparison submodule and the switch submodule respectively, wherein: The second comparator outputs a third control signal according to the voltages of the non-inverting input terminal and the inverting input terminal; The first amplifier receives and outputs the target voltage signal according to the third control signal, the voltage value of the initial electrical signal and a preset voltage amplification ratio.

6. The circuit according to claim 4, characterized in that The comparison submodule includes a third comparator, a positive input terminal of the third comparator is connected to the first control module, a negative input terminal of the third comparator is connected to the input terminal of the switch submodule, and an output terminal of the third comparator is connected to the driving terminal of the switch submodule.

7. The circuit according to claim 3, characterized in that The second control module includes an operation submodule, a comparison submodule and a switch submodule, wherein the switch submodule is respectively connected to the operation submodule, the comparison submodule, the output module and the first control module, the operation submodule is also respectively connected to the first control module and the output module, and the comparison submodule is also connected to the first control module, wherein: The operation submodule obtains the target voltage signal according to the difference between the voltage value of the initial electrical signal and the voltage value of the initial electrical signal after current stabilization; The comparison submodule determines the target current value according to the voltage value of the target voltage signal and the resistance value of the output load of the circuit, and outputs a fourth control signal according to the magnitude relationship between the current value of the target current signal and the target current value; The switch submodule receives and disconnects the connection between the first control module and the output module according to the fourth control signal to output the target voltage signal through the second control module, or connects the connection between the first control module and the output module to output the target current signal to the output module.

8. The circuit according to claim 7, characterized in that The operation submodule includes a fourth comparator, a positive input terminal of the fourth comparator is connected to the output module, a negative input terminal of the fourth comparator is connected to the inverting input terminal of the first comparator, and an output terminal of the fourth comparator is connected to the driving terminal of the switch submodule.

9. The circuit according to claim 2, characterized in that The conversion submodule includes a resistor, and the resistance of the resistor is determined by the preset conversion ratio.

10. The circuit according to claim 1, characterized in that The circuit further includes a protection module, which is connected to the output load and the output module respectively, wherein: When the current value or the voltage value of the target electrical signal is greater than a preset protection threshold, the protection module disconnects the output load from the output module.