An output channel control method and related components
By introducing a general output module into the control system and automatically supplying power according to the load type, the problem of setting analog and digital output modules in the prior art is solved, and the system is simplified in the establishment and maintenance of the system is realized.
Patent Information
- Application Number
- CN202111545360.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2041-12-16
AI Technical Summary
The design of IO modules in the existing control system results in the need to set up the digital output channel and the analog output channel at the same time, which will increase the complexity of the assembly and maintenance.
Provides a general output module, which can automatically judge according to the load type and power supply through digital signals or analog signals, realizing integrated power supply between digital load and analog load, including judging the load type and converting signals to power supply. And detect the supply voltage through the protection circuit to prevent overload.
It realizes that the requirements of digital and analog output channels can be met by setting up a general output module in the control system, simplifying the equipment construction and maintenance process, and reducing maintenance complexity and cost.
Smart Images

Figure CN114217542B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power electronics, and in particular to an output channel control method and related components. Background Art
[0002] In the control system, the IO (Input / Output) module serves as the most basic input and output channel of the control system. The control system collects field signals through the input IO channel, uploads the collected data to the main controller of the control system for calculation, and finally outputs the control signal through the output IO channel to participate in industrial production control.
[0003] At present, the IO channels of the control system are connected to the system in the form of IO modules. An IO module is generally composed of 8 or 16 channels of the same type of IO channels, such as AI module (analog input module), DI module (digital input module), AO module (analog output module) and DO module (digital output module). The AI module includes multiple AI channels, the DI module includes multiple DI channels, the AO module includes multiple AO channels, and the DO module includes multiple DO channels. As the scale of the control system increases, the control system requires more and more IO channels, which is not convenient for the construction of the control system or the subsequent maintenance and management of the control system.
[0004] For example, when the control system needs to set up 15 AO channels and one DO channel, since one AO module includes 16 AO channels and one DO module includes 16 DO channels, one AO module and one DO module need to be set up at this time, and one AO channel in the set AO module is idle, and the 15 DO channels in the set DO module are limited. Therefore, it is not only inconvenient to build the control system, but also the AO module and the DO module need to be maintained separately when the control system is maintained later, which is inconvenient for the later maintenance of the control system. Summary of the invention
[0005] The purpose of the present invention is to provide an output channel control method and related components, wherein the universal output module can not only power analog loads, but also power digital loads. When the control system needs to set both digital output channels and analog output channels, the integration of the two can be achieved by only setting the universal output module, which is also more convenient for maintenance of the equipment.
[0006] In order to solve the above technical problems, the present invention provides an output channel control method, which is applied to a universal output module, wherein each output channel of the universal output module is respectively connected to a digital load or an analog load, and the method comprises:
[0007] Determine the load type connected to the current output channel of the universal output module;
[0008] If the load connected to the current output channel is the digital load, the current output channel is controlled to output a first analog signal based on the digital signal instruction set by the user, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated;
[0009] If the load connected to the current output channel is the analog load, the current output channel is controlled to output a second analog signal based on the analog signal instruction set by the user, so that the current output channel supplies power to the analog load based on the second analog signal.
[0010] Preferably, the digital load is a DC relay;
[0011] If the load connected to the current output channel is the digital load, the current output channel is controlled to output a first analog signal based on the digital signal instruction set by the user, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated, including:
[0012] If the load connected to the current output channel is the DC relay, then when the digital signal instruction set by the user is the maximum digital signal, the current output channel is controlled to output the maximum analog current; when the digital signal instruction is the minimum digital signal, the current output channel is controlled to output the minimum analog current, so that the current output channel drives the DC relay based on the maximum analog current or the minimum analog current.
[0013] Preferably, if the load connected to the current output channel is the analog load, the current output channel is controlled to output a second analog signal based on an analog signal instruction set by a user, so that the current output channel supplies power to the analog load based on the second analog signal, including:
[0014] If the load connected to the current output channel is the analog load, the current output channel output is controlled based on the analog signal instruction set by the user and the analog current corresponding to the analog signal instruction, so that the current output channel supplies power to the analog load based on the analog current.
[0015] Preferably, each output channel of the universal output module includes a protection circuit connected to the load, for detecting the supply voltage of the load connected to the output channel in which the protection circuit is located;
[0016] If the load connected to the current output channel is the digital load, then based on the digital signal instruction set by the user, the current output channel is controlled to output a first analog signal, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated; or if the load connected to the current output channel is the analog load, then based on the analog signal instruction set by the user, the current output channel is controlled to output a second analog signal, so that the current output channel supplies power to the analog load based on the second analog signal, and further includes:
[0017] Determining whether the supply voltage of the load connected to the current output channel is greater than a preset voltage;
[0018] If it is greater, the current output channel is controlled to stop output and an alarm is issued.
[0019] In order to solve the above technical problems, the present invention provides an output channel control system, which is applied to a universal output module, wherein each output channel of the universal output module is respectively connected to a digital load or an analog load, and the system comprises:
[0020] A judging unit, used to judge the type of load connected to the current output channel of the universal output module;
[0021] A first control unit, configured to control the current output channel to output a first analog signal based on a digital signal instruction set by a user when the load connected to the current output channel is the digital load, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated;
[0022] The second control unit is used to control the current output channel to output a second analog signal based on an analog signal instruction set by a user if the load connected to the current output channel is the analog load, so that the current output channel supplies power to the analog load based on the second analog signal.
[0023] In order to solve the above technical problems, the present invention provides an output channel control device, comprising:
[0024] Memory for storing computer programs;
[0025] A processor is used to implement the steps of the output channel control method as described above when executing the computer program.
[0026] Preferably, the processor is connected to each output channel of the universal output module;
[0027] Each of the output channels of the analog quantity module comprises a first operational amplifier, a second operational amplifier, a transistor, a DC voltage power supply and a sampling resistor;
[0028] The positive input terminal of the first operational amplifier is connected to the processor, the negative input terminal is connected to the output terminal of the second operational amplifier, and the output terminal is connected to the base of the transistor;
[0029] The collector of the transistor is connected to the DC voltage power supply, and the emitter is connected to the first end of the sampling resistor;
[0030] The second end of the sampling resistor is connected to the load of the output channel where the sampling resistor is located;
[0031] The second operational amplifier has a positive input terminal connected to the first terminal of the sampling resistor, and a negative input terminal connected to the second terminal of the sampling resistor.
[0032] Preferably, the output channel further includes:
[0033] The protection circuit, whose input end is connected to the load and whose output end is connected to the processor, is used to detect the supply voltage of the load connected to the output channel where the protection circuit is located.
[0034] In order to solve the above technical problems, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the output channel control method as described above are implemented.
[0035] The present application provides an output channel control method and related components, each output channel of a universal output module can be connected to a digital load or an analog load, and when the load connected to the current output channel is a digital load, the processor converts the digital signal of the digital load into a first analog signal, so that the current output channel supplies power to the digital load based on the first analog signal; and when the load connected to the current output channel is an analog load, the processor directly outputs the second analog signal of the analog load, so that the current output channel supplies power to the analog load based on the second analog signal. The universal output module in the present application can not only supply power to the analog load, but also to the digital load. When the control system needs to set both the digital output channel and the analog output channel, the integration of the two can be achieved by only setting the universal output module, and it is also more convenient to maintain the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 A schematic flow chart of an output channel control method provided by the present invention;
[0038] Figure 2 A schematic diagram of a structure when a load provided by the present invention is a DC relay;
[0039] Figure 3 A structural schematic diagram of a load provided by the present invention when it is an analog load;
[0040] Figure 4 A schematic diagram of the structure of an output channel control system provided by the present invention;
[0041] Figure 5 A schematic diagram of the structure of an output channel control device provided by the present invention. DETAILED DESCRIPTION
[0042] The core of the present invention is to provide an output channel control method and related components, wherein the universal output module can not only power analog loads, but also power digital loads. When the control system needs to set both digital output channels and analog output channels, the integration of the two can be achieved by only setting the universal output module, which is also more convenient for maintenance of the equipment.
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] Please refer to Figure 1 , Figure 1 A flow chart of an output channel control method provided by the present invention is provided. The method is applied to a universal output module. Each output channel of the universal output module is respectively connected to a digital load K or an analog load R. The method comprises:
[0045] S11: Determine the load type connected to the current output channel of the universal output module;
[0046] The applicant took into account that the analog output module in the prior art is only connected to the analog load R, and the digital output module is only connected to the digital load K. This will result in the control system needing to connect both the analog load R and the digital load K to set up the analog output module and the digital output module at the same time. Therefore, the complexity of the control system components is increased, and correspondingly, the analog output module and the digital output module need to be maintained separately in the later stage, resulting in increased complexity of maintenance and increased costs.
[0047] The universal output module in this embodiment can be connected to both an analog load R and a digital load K, thereby powering the digital load K or the analog load R, and the analog signals output when powering different loads are different. Therefore, before controlling the current output channel of the universal output module to power the load, it is necessary to first determine whether the load type connected to the current output channel is a digital load K or an analog load R, so as to power the analog load R or the digital load K in a targeted manner.
[0048] S12: If the load connected to the current output channel is a digital load K, the current output channel is controlled to output a first analog signal based on the digital signal instruction set by the user, so that the current output channel supplies power to the digital load K based on the first analog signal, and the first analog signal is positively correlated with the digital signal instruction;
[0049] When the load connected to the current output channel is a digital load K, due to the particularity of the digital load K, different digital signal instructions correspond to different supply voltages. Therefore, in this application, the digital signal instruction is first converted into a first analog signal, so that the current output channel supplies power to the digital load K based on the first analog signal, and the supply voltage when supplying power to the digital load K according to the first analog signal is the same as the supply voltage corresponding to the digital signal, thereby realizing the power supply of the analog output channel to the digital load K.
[0050] It should be noted that, in order to convert the digital signal into the first analog signal, a DAC (digital to analog converter) may be provided but is not limited thereto.
[0051] S13: If the load connected to the current output channel is an analog load R, the current output channel is controlled to output a second analog signal based on the analog signal instruction set by the user, so that the current output channel supplies power to the analog load R based on the second analog signal.
[0052] When the load connected to the current output channel is an analog load R, the current output channel can directly power the analog load R according to the analog signal instruction set by the user, so that the universal output module can power both the digital load K and the analog load R. In actual settings, only the universal output module is set to ensure that both the analog load R and the digital load K are powered, without the need to set both the universal output module and the digital output module.
[0053] In summary, the universal output module in the present application can not only power the analog load R, but also power the digital load K. When the control system needs to set up both digital output channels and analog output channels, the integration of the two can be achieved by only setting up the universal output module, which is also more convenient for maintaining the equipment.
[0054] Based on the above embodiments:
[0055] As a preferred embodiment, the digital load K is a DC relay;
[0056] If the load connected to the current output channel is a digital load K, the current output channel is controlled to output a first analog signal based on the digital signal instruction set by the user, so that the current output channel supplies power to the digital load K based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated, including:
[0057] If the load connected to the current output channel is a DC relay, then when the digital signal instruction set by the user is the maximum digital signal, the current output channel is controlled to output the maximum analog current; when the digital signal instruction is the minimum digital signal, the current output channel is controlled to output the minimum analog current, so that the current output channel drives the DC relay based on the maximum analog current or the minimum analog current.
[0058] In this embodiment, the digital load K is a DC relay, wherein the voltage of the coil of the DC relay is different when it is energized and when it is de-energized, and the digital signal is also different. For example, when the coil of the DC relay is energized, thereby closing the switch of the DC relay, the maximum digital signal instruction is 65535, and the corresponding maximum analog current is 25mA. When the coil of the DC relay is de-energized, thereby opening the switch, the maximum digital signal instruction is 0, and the corresponding minimum analog current is 0mA. Of course, this application does not limit this.
[0059] It should be noted that if the voltage applied to the DC relay is within the preset range of the voltage required for the coil to be energized to close the switch, the DC relay coil can still be energized. Therefore, as long as the maximum analog current is output when the digital signal instruction is the maximum digital signal instruction, the power supply voltage of the DC relay can be guaranteed to energize its coil. For example, when the power supply voltage of the DC relay is within ±20% of its required voltage, the coil can be energized to close the switch. Of course, this application does not limit this.
[0060] For details, please refer to Figure 2 , Figure 2 A schematic diagram of a structure when a load provided by the present invention is a DC relay. Based on this, the universal output module in the present application can control the on and off of the DC relay of the digital load K, and can power the digital load K and the analog load R at the same time without setting up the universal output module and the digital output module at the same time.
[0061] As a preferred embodiment, if the load connected to the current output channel is an analog load R, the current output channel is controlled to output a second analog signal based on the analog signal instruction set by the user, so that the current output channel supplies power to the analog load R based on the second analog signal, including:
[0062] If the load connected to the current output channel is an analog load R, the current output channel output is controlled based on the analog signal instruction set by the user and the analog current corresponding to the analog signal instruction, so that the current output channel supplies power to the analog load R based on the analog current.
[0063] In this embodiment, when powering the analog load R, it is necessary to control the current output channel to output analog current according to the analog signal instruction set by the user to power the analog load R.
[0064] Please refer to Figure 3 , Figure 3 A structural schematic diagram of a load provided by the present invention when it is an analog load.
[0065] As a preferred embodiment, each output channel of the universal output module includes a protection circuit S connected to the load, which is used to detect the supply voltage of the load connected to the output channel where the output channel is located;
[0066] If the load connected to the current output channel is a digital load K, then based on the digital signal instruction set by the user, the current output channel is controlled to output a first analog signal, so that the current output channel supplies power to the digital load K based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated; or if the load connected to the current output channel is an analog load R, then based on the analog signal instruction set by the user, the current output channel is controlled to output a second analog signal, so that the current output channel supplies power to the analog load R based on the second analog signal, and further includes:
[0067] Determine whether the supply voltage of the load connected to the current output channel is greater than the preset voltage;
[0068] If it is greater, the current output channel will be controlled to stop output.
[0069] The applicant has considered that the output capacity of the output channel of the general output module is usually not infinite, for example, 0-25mA, and the load is connected between the current output terminal and the ground, but the output current range of the output channel when it is actually used is 4-20mA, and the maximum load is 600 ohms. Therefore, when the protection circuit S detects that the power supply voltage of the current output channel is greater than the preset voltage, for example, 12V (20mA×600Ω=12V), it controls the current output channel to stop output to avoid the load from being burned. Of course, this application does not limit this.
[0070] Please refer to Figure 4 , Figure 4 This is a structural schematic diagram of an output channel control system provided by the present invention. The system is applied to a universal output module. Each output channel of the universal output module is connected to a digital load K or an analog load R respectively. The system includes:
[0071] A judging unit 41, used to judge the type of load connected to the current output channel of the universal output module;
[0072] A first control unit 42 is used for controlling the current output channel to output a first analog signal based on a digital signal instruction set by a user when the load connected to the current output channel is the digital load K, so that the current output channel supplies power to the digital load K based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated;
[0073] The second control unit 43 is used to control the current output channel to output a second analog signal based on the analog signal instruction set by the user if the load connected to the current output channel is the analog load R, so that the current output channel supplies power to the analog load R based on the second analog signal.
[0074] For an introduction to an output channel control system provided by the present invention, please refer to the above method embodiment, and the present invention will not be elaborated here.
[0075] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of an output channel control device provided by the present invention, the device comprises:
[0076] A memory 51, used for storing computer programs;
[0077] The processor 52 is used to implement the steps of the output channel control method as described above when executing a computer program.
[0078] As a preferred embodiment, the processor is connected to each output channel of the universal output module;
[0079] Each output channel of the analog module includes a first operational amplifier A1, a second operational amplifier A2, a transistor D, a DC voltage power supply and a sampling resistor R1;
[0080] The positive input terminal of the first operational amplifier A1 is connected to the processor, the negative input terminal is connected to the output terminal of the second operational amplifier A2, and the output terminal is connected to the base of the transistor D;
[0081] The collector of the transistor D is connected to a DC voltage power supply, and the emitter is connected to a first end of a sampling resistor R1;
[0082] The second end of the sampling resistor R1 is connected to the load of the output channel where the sampling resistor R1 is located;
[0083] The second operational amplifier A2 has a positive input terminal connected to the first end of the sampling resistor R1 , and a negative input terminal connected to the second end of the sampling resistor R1 .
[0084] In this embodiment, the first operational amplifier A1, the second operational amplifier A2, the transistor D and the DC voltage power supply form a deep negative feedback circuit to ensure that the output current of the output channel is the current required by the load.
[0085] As a preferred embodiment, the output channel further includes:
[0086] The protection circuit S, whose input end is connected to the load and whose output end is connected to the processor, is used to detect the supply voltage of the load connected to the output channel where the protection circuit S is located.
[0087] For an introduction to an output channel control device provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here.
[0088] The computer-readable storage medium in the present invention stores a computer program, and when the computer program is executed by a processor, the steps of the output channel control method based on indirect modal recognition as described above are implemented.
[0089] For an introduction to the computer-readable storage medium provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here.
[0090] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0091] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An output channel control method, characterized in that: Applied to a universal output module, each output channel of the universal output module is connected to a digital load or an analog load respectively, and the method includes: Determine the load type connected to the current output channel of the universal output module; If the load connected to the current output channel is the digital load, the current output channel is controlled to output a first analog signal based on the digital signal instruction set by the user, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated; the supply voltage when supplying power to the digital load based on the first analog signal is the same as the supply voltage corresponding to the digital signal instruction; If the load connected to the current output channel is the analog load, then based on the analog signal instruction set by the user, the current output channel is controlled to output a second analog signal, so that the current output channel supplies power to the analog load based on the second analog signal; Wherein, the processor is connected to each output channel of the universal output module, and each output channel includes a first operational amplifier, a second operational amplifier, a triode, a DC voltage power supply and a sampling resistor; The positive input terminal of the first operational amplifier is connected to the processor, the negative input terminal of the first operational amplifier is connected to the output terminal of the second operational amplifier, and the output terminal of the first operational amplifier is connected to the base of the transistor; The collector of the transistor is connected to the DC voltage power supply, and the emitter of the transistor is connected to the first end of the sampling resistor; The second end of the sampling resistor is connected to the load of the output channel where the sampling resistor is located; The positive input terminal of the second operational amplifier is connected to the first end of the sampling resistor, and the negative input terminal of the second operational amplifier is connected to the second end of the sampling resistor.
2. The output channel control method according to claim 1, characterized in that: The digital load is a DC relay; If the load connected to the current output channel is the digital load, the current output channel is controlled to output a first analog signal based on the digital signal instruction set by the user, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated, including: If the load connected to the current output channel is the DC relay, then when the digital signal instruction set by the user is the maximum digital signal, the current output channel is controlled to output the maximum analog current; when the digital signal instruction is the minimum digital signal, the current output channel is controlled to output the minimum analog current, so that the current output channel drives the DC relay based on the maximum analog current or the minimum analog current.
3. The output channel control method according to claim 1, characterized in that: If the load connected to the current output channel is the analog load, controlling the current output channel to output a second analog signal based on the analog signal instruction set by the user, so that the current output channel supplies power to the analog load based on the second analog signal, including: If the load connected to the current output channel is the analog load, the current output channel output is controlled based on the analog signal instruction set by the user and the analog current corresponding to the analog signal instruction, so that the current output channel supplies power to the analog load based on the analog current.
4. The output channel control method according to claim 1, characterized in that: Each output channel of the universal output module includes a protection circuit connected to the load, and is used to detect the supply voltage of the load connected to the output channel where the output channel is located; If the load connected to the current output channel is the digital load, then based on the digital signal instruction set by the user, the current output channel is controlled to output a first analog signal, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated; or if the load connected to the current output channel is the analog load, then based on the analog signal instruction set by the user, the current output channel is controlled to output a second analog signal, so that the current output channel supplies power to the analog load based on the second analog signal, and further includes: Determining whether the supply voltage of the load connected to the current output channel is greater than a preset voltage; If it is greater, the current output channel is controlled to stop output and an alarm is issued.
5. An output channel control system, characterized in that: Applied to a universal output module, each output channel of the universal output module is connected to a digital load or an analog load respectively, and the system includes: A judging unit, used to judge the type of load connected to the current output channel of the universal output module; a first control unit, configured to control the current output channel to output a first analog signal based on a digital signal instruction set by a user when the load connected to the current output channel is the digital load, so that the current output channel supplies power to the digital load based on the first analog signal, and the first analog signal and the digital signal instruction are positively correlated; and a supply voltage when supplying power to the digital load based on the first analog signal is the same as a supply voltage corresponding to the digital signal instruction; a second control unit, for controlling the current output channel to output a second analog signal based on an analog signal instruction set by a user if the load connected to the current output channel is the analog load, so that the current output channel supplies power to the analog load based on the second analog signal; Wherein, the processor is connected to each output channel of the universal output module, and each output channel includes a first operational amplifier, a second operational amplifier, a triode, a DC voltage power supply and a sampling resistor; The positive input terminal of the first operational amplifier is connected to the processor, the negative input terminal of the first operational amplifier is connected to the output terminal of the second operational amplifier, and the output terminal of the first operational amplifier is connected to the base of the transistor; The collector of the transistor is connected to the DC voltage power supply, and the emitter of the transistor is connected to the first end of the sampling resistor; The second end of the sampling resistor is connected to the load of the output channel where the sampling resistor is located; The positive input terminal of the second operational amplifier is connected to the first end of the sampling resistor, and the negative input terminal of the second operational amplifier is connected to the second end of the sampling resistor.
6. An output channel control device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the output channel control method according to any one of claims 1 to 4 when executing the computer program; Wherein, the processor is connected to each output channel of the universal output module; Each of the output channels comprises a first operational amplifier, a second operational amplifier, a triode, a DC voltage power supply and a sampling resistor; The positive input terminal of the first operational amplifier is connected to the processor, the negative input terminal of the first operational amplifier is connected to the output terminal of the second operational amplifier, and the output terminal of the first operational amplifier is connected to the base of the transistor; The collector of the transistor is connected to the DC voltage power supply, and the emitter of the transistor is connected to the first end of the sampling resistor; The second end of the sampling resistor is connected to the load of the output channel where the sampling resistor is located; The positive input terminal of the second operational amplifier is connected to the first end of the sampling resistor, and the negative input terminal of the second operational amplifier is connected to the second end of the sampling resistor.
7. The output channel control device according to claim 6, characterized in that: The output channel also includes: The protection circuit, whose input end is connected to the load and whose output end is connected to the processor, is used to detect the supply voltage of the load connected to the output channel where the protection circuit is located.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the output channel control method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
IO module for multiplexing AO channel and DO channel
CN111026225A
