CN108829006A - The analogue quantity output device and method of alternative output voltage or electric current - Google Patents

The analogue quantity output device and method of alternative output voltage or electric current Download PDF

Info

Publication number
CN108829006A
CN108829006A CN201810712215.4A CN201810712215A CN108829006A CN 108829006 A CN108829006 A CN 108829006A CN 201810712215 A CN201810712215 A CN 201810712215A CN 108829006 A CN108829006 A CN 108829006A
Authority
CN
China
Prior art keywords
output
signal
micro
control unit
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810712215.4A
Other languages
Chinese (zh)
Inventor
杨程
张晓冬
宋磊
王道斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China General Nuclear Power Corp
China Techenergy Co Ltd
Original Assignee
China General Nuclear Power Corp
China Techenergy Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China General Nuclear Power Corp, China Techenergy Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201810712215.4A priority Critical patent/CN108829006A/en
Publication of CN108829006A publication Critical patent/CN108829006A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21024Analog output

Landscapes

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

Abstract

The invention belongs to the technical fields of electric automatization control, in order to the analogue quantity output device for solving to refer in the prior art there is technical issues that conveniently realize it is different, the present invention provides the analogue quantity output device and method of a kind of alternative output voltage or electric current, can only can optionally output voltage or electric current by inputting different instructions;The analogue quantity output device includes:Output channel, is provided with voltage output module and current output module, and according to the received different driving signal of output channel, selectively output voltage or electric current;The micro-control unit connecting with the output channel input terminal, the micro-control unit is to the output channel input voltage driving signal or current drive signal;Wherein, when the micro-control unit input be voltage drive signals when, the output channel output voltage;When micro-control unit input be current drive signal when, the output channel exports electric current.

Description

The analogue quantity output device and method of alternative output voltage or electric current
Technical field
The present invention relates to the technical field of electric automatization control more particularly to a kind of alternative output voltages or electric current Analogue quantity output device and method.
Background technique
In nuclear power plant instrument control system, analogue quantity output device controls inputoutput section as the output of field control station Point, a most key module in I&C system, performance, parameter characteristic seem extremely important.For example, Chinese patent Shen Please number include to disclose a kind of high-reliability analog quantity output device in the patent of CN200910249911.7:D/A modulus of conversion Block, electric current driving output module, A/D output readback module, MCU, CPLD and communicating circuit, it is electric current that electric current, which drives output module, Driver, current driver connect output current signal with signal connector;It can be realized output readback detection coverage rate, have The advantages that Safety output function.
And existing analogue quantity output device is generally divided into two kinds:One, for the same device, can only output voltage or It exports electric current (being referred in such as above-mentioned patent CN200910249911.7), i.e. the output type of device is fixed or device It can output voltage type signal or device energy current output type signal;Two, for the same device, can output voltage signal, Also can output current signal, but cannot export simultaneously, need which kind of signal type exported by hardware jumper or switch selection.
But inventor has found in the implementation of the present invention, the analogue quantity output device of the prior art there are it is following not Foot:
1, the shortcomings that the first above-mentioned way of output, is:Output type is single, using limited.
2, it is the shortcomings that above-mentioned second of way of output:The switching of output signal type is inconvenient, need to adjust wire jumper or Person's switch, changes device form.If device is insertion cabinet work, need for device extraction to be configured;If device Comprising shell, then needs to open shell and be configured or consider that wire jumper or switch are exposed in shell mechanism design.
Summary of the invention
Different analog signals cannot be conveniently realized in order to solve the analogue quantity output device referred in the prior art presence The technical issues of output, the present invention provide the analogue quantity output device and method of a kind of alternative output voltage or electric current, energy It is enough only can optionally output voltage or electric current by inputting different instructions.
To achieve the goals above, technical solution provided by the invention includes:
One aspect of the present invention provides the analogue quantity output device of a kind of alternative output voltage or electric current, and feature exists In, including:
Output channel is provided with voltage output module and current output module, and according to the received difference of output channel Driving signal, selectively output voltage or electric current;
The micro-control unit connecting with the output channel input terminal, the micro-control unit are inputted to the output channel Voltage drive signals or current drive signal;
Wherein, when the micro-control unit input be voltage drive signals when, the output channel output voltage;Work as institute When state micro-control unit input is current drive signal, the output channel exports electric current.
Preferably, described device includes multiple output channels to the embodiment of the present invention, and the micro-control unit is provided with Driving signal output end mouth corresponding with the multiple output channel respectively, so that each output channel individually receives voltage driving Signal or current drive signal.
Preferably, described device further includes the embodiment of the present invention:Positioned at the micro-control unit and the output channel it Between digital/analog signal converting unit, and the simulation/number being connect with the digital/analog signal converting unit output end Word signal conversion unit, the analog/digital signal conversion unit acquire the analog quantity of the digital/analog signal converting unit Signal, and after the analog signals are converted to digital signal, feed back to the micro-control unit.
The embodiment of the present invention it is further preferred that when the analog/digital signal conversion unit feedback digital signal with When difference is greater than predetermined value between the digital signal of the digital/analog signal converting unit input, the micro-control unit is sentenced The output channel failure that the fixed output is connect with the digital/analog signal converting unit, stops the digital/analog signal The output of converting unit.
Preferably, the output end of the output channel is also connect with the micro-control unit embodiment of the present invention, and is worked as In voltage output mode, if load short circuits or load are too small, indicating fault pin is the analogue quantity output device Low level;When the analogue quantity output device is in current output mode, if load open circuit or load excessive, failure refer to Show that pin is low level.
Another aspect of the present invention also provides a kind of analog output method of alternative output voltage or electric current, feature It is, including:
Micro-control unit is to output channel input drive signal;
Judge the driving signal characterization is voltage drive signals or current drive signal;
Wherein, when the micro-control unit input be voltage drive signals when, the output channel output voltage;Work as institute When state micro-control unit input is current drive signal, the output channel exports electric current.
Preferably, the micro-control unit includes the embodiment of the present invention to the mode of output channel input drive signal:Institute It states micro-control unit and is provided with driving signal output end mouth corresponding with the multiple output channel respectively, so that each output is logical Road individually receives voltage or current driving signal.
The embodiment of the present invention preferably, the method also includes:It is logical by being located at the micro-control unit and the output Digital/analog signal converting unit between road inputs analog signal to the output channel;By with the digital-to-analog The analog/digital signal conversion unit of signal conversion unit output end connection, acquires the digital/analog signal converting unit Analog signals, and after the analog signals are converted to digital signal, feed back to the micro-control unit.
The embodiment of the present invention it is further preferred that when the analog/digital signal conversion unit feedback digital signal with When difference is greater than predetermined value between the digital signal of the digital/analog signal converting unit input, the micro-control unit is sentenced The output channel failure that the fixed output is connect with the digital/analog signal converting unit, stops the digital/analog signal The output of converting unit.
The embodiment of the present invention preferably, when the microcontroller input be voltage drive signals when, if load short circuits or Person's load is too small, then indicating fault pin is low level;When the microcontroller input be current drive signal when, if load Open circuit or load excessive, then indicating fault pin is low level.
Using above-mentioned technical proposal provided by the present application, one of following beneficial effect can be at least obtained:
1, for the same output channel, optionally output voltage signal or current signal, and unlike signal class The output of type can be switched over by control instruction, have no need to change hardware setting, easy to operate;And apparatus structure is set Meter is without limitation.
2, when analogue quantity output device is provided with multiple output channels, voltage can be separately configured in each channel or electric current is defeated Out, it is easier to which multiple output channels of analogue quantity output device are respectively controlled;So that each output channel can individually match It sets, it is flexible in application.
The other feature and advantage of invention will illustrate in the following description, also, partly become aobvious from specification And it is clear to, or understood by implementing technical solution of the present invention.The objectives and other advantages of the invention can be by illustrating Specifically noted structure and/or process are achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
Fig. 1 is a kind of showing for the analogue quantity output device of alternative output voltage or electric current provided in an embodiment of the present invention It is intended to one.
Fig. 2 is a kind of showing for the analogue quantity output device of alternative output voltage or electric current provided in an embodiment of the present invention It is intended to two.
Fig. 3 is defeated in the analogue quantity output device of a kind of alternative output voltage or electric current provided in an embodiment of the present invention The schematic diagram of channel output voltage state out.
Fig. 4 is defeated in the analogue quantity output device of a kind of alternative output voltage or electric current provided in an embodiment of the present invention The schematic diagram of channel output current status out.
Fig. 5 be another embodiment of the present invention provides a kind of alternative output voltage or electric current analogue quantity output device Schematic diagram.
Fig. 6 is the stream of a kind of analog output method of alternative output voltage or electric current provided in an embodiment of the present invention Cheng Tu.
Specific embodiment
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to apply to the present invention whereby Technological means solves technical problem, and the realization process for reaching technical effect can fully understand and implement.It needs to illustrate , these specific descriptions only allow those of ordinary skill in the art to be more easier, clearly understand the present invention, rather than to this hair Bright limited explanation;And if conflict is not constituted, each spy in each embodiment and each embodiment in the present invention Sign can be combined with each other, and it is within the scope of the present invention to be formed by technical solution.
In addition, step shown in the flowchart of the accompanying drawings can be in the control system of a such as group controller executable instruction Middle execution, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein Sequence executes shown or described step.
Below by the drawings and specific embodiments, technical solution of the present invention is described in detail:
Embodiment
As shown in Figure 1, the present embodiment provides a kind of alternative output voltage or the analogue quantity output device of electric current, the mould Analog quantity output device includes:
Output channel 200 is provided with voltage output module 210 and current output module 220, and is connect according to output channel The different driving signal of receipts, selectively output voltage or electric current;
The micro-control unit 100 connecting with 200 input terminal of output channel, micro-control unit 100 are inputted to output channel 200 Voltage drive signals or current drive signal;
When micro-control unit 100 input be voltage drive signals when, 200 output voltage of output channel;When microcontroller list When what member 100 inputted is current drive signal, output channel 200 exports electric current.
It should be noted that above-mentioned voltage output module 210, current output module 220 that the present embodiment refers to can be Mutually independent module, such as a chip and voltage signal control chip with independent output voltages semiotic function connect The chip with independent output current signal function of the peripheral circuit connect and one controls what chip was connect with the current signal Peripheral circuit;According to different output demands, enable signal is inputted to different chips.Above-mentioned voltage output module 210, electric current Output module 220 can also be while be integrated in one while have the chip and periphery electricity of voltage output and electric current output function Lu Zhong, i.e. voltage output module 210, current output module 220 have the partial circuit of overlapping;For example, according to the voltage received Enable signal is inputted, the output circuit of formation is voltage output module 210;Enable signal, shape are inputted according to the electric current received At output short-circuit be current output module 220.These different specific embodiments belong to the protection scope of the application.
Wherein, micro-control unit (Microcontroller Unit, abbreviation MCU), also known as one chip microcomputer (Single Chip Microcomputer) or single-chip microcontroller are central processing unit (Central Process Unit; CPU frequency) and specification do appropriate reduction, and by memory (memory), counter (Timer), USB, A/D conversion, UART, The perimeter interfaces such as PLC, DMA or even LCD driving circuit all integrate the computer for forming chip-scale on a single chip, for difference Application do various combination control;Specifically, micro-control unit provided in this embodiment further includes GPIO (full name General Purpose Input Output, universal input/output), and GPIO product is capable of providing control and monitoring function Energy;For example, GPIO can export high level or low level, high level (or low level) can choose as voltage driving letter Number, the corresponding enabled module of output channel 200 is just enabled to voltage output module 210;And correspondingly, it can choose low level (or high level) is used as current drive signal, and the corresponding enabled module of output channel 200 will be enabled to current output module.
As shown in Fig. 2, the present embodiment is preferably, analogue quantity output device further includes:It is logical positioned at micro-control unit and output Digital/analog signal converting unit (D/A chip) between road, and connect with digital/analog signal converting unit output end Analog/digital signal conversion unit (A/D chip), analog/digital signal conversion unit (D/A chip) acquire digital-to-analog The analog signals of signal conversion unit (A/D chip), and after analog signals are converted to digital signal, feed back to micro-control Unit processed.The present embodiment it is further preferred that when analog/digital signal conversion unit (D/A chip) feedback digital signal with When difference is greater than predetermined value between the digital signal of digital/analog signal converting unit (A/D chip) input, micro-control unit The output channel failure that (single-chip microcontroller) judgement output is connect with digital/analog signal converting unit (D/A chip), stopping number/ The output of analog signal converting unit.
More specifically, single-chip microcontroller, which exports digital quantity signal by SPI0, gives D/A chip, D/A chip is defeated after conversion Analog voltage signal out.Wherein, SPI is the abbreviation of Serial Peripheral Interface (SPI) (Serial Peripheral Interface).SPI, It is a kind of high speed, full duplex, synchronous communication bus, and four lines are only taken up on the pin of chip, save chip Pin, while for PCB layout on save space, provide conveniently, it is nowadays more next exactly for this characteristic easy to use This communication protocol of more integrated chips, such as AT91RM9200.On the one hand the voltage signal of D/A chip output is given defeated Channel out, the exportable signal finally needed after conditioning;On the other hand analog quantity is converted by A/D acquisition chip again Single-chip microcontroller is given by SPI1 for digital quantity, the foundation as diagnosis.If the digital quantity signal and SPI1 of SPI0 output acquire The digital quantity signal difference arrived is excessive, then it is assumed that channel failure stops D/A output.One of Fig. 2 preferred embodiment: Voltage output module in output channel, can be after enabled module receives the voltage drive signals of single-chip microcontroller input, directly The analog signals of D/A chip output are received, then conversion exports corresponding voltage;Voltage output mould in output channel Block, after enabled module receives the current drive signal of single-chip microcontroller input, the analog quantity of directly reception D/A chip output is believed Number, then conversion exports corresponding electric current.
Preferably, analogue quantity output device includes multiple output channels to the present embodiment, and micro-control unit is provided with point Driving signal output end mouth (such as multiple GPIO ports) not corresponding with multiple output channels, so that each output channel is independent Receive voltage drive signals or current drive signal.
Certainly it is used as interchangeable embodiment, it can also be identical always by multiple output signals (for example, multiple channels exist Under the conditions of some, voltage signal is needed always;And under the conditions of another, need current signal always) output channel connection To the same GPIO port, hardware resource can be saved in this way.
As shown in Fig. 2, the present embodiment is preferably, the output end of output channel is also connect with micro-control unit, and works as mould Analog quantity output device is in voltage output mode, if load short circuits or load are too small, indicating fault pin is low level; When analogue quantity output device is in current output mode, if load open circuit or load excessive, indicating fault pin is low Level.I.e. the I/O mouth of single-chip microcontroller exports low level then device output voltage signal;Single-chip microcontroller can also be exported by I/O mouthfuls of detections The indicating fault pin in channel, finds load faulty in time.In voltage output mode, if load short circuits or loaded Small, then indicating fault pin is low level;In current output mode, if load open circuit or load excessive, failure refer to Show that pin is low level.
How illustrate in the embodiment of the present application inside output channel below with reference to Fig. 3, Fig. 4 has according to the signal of input Selectively output voltage signal or current signal:
As shown in Figure 3 and Figure 4, existing, dedicated voltage and current pio chip is provided in output channel;The voltage pressure The GPIO mouth for flowing pio chip and single-chip microcontroller connects, can by M1, M2 pin that the GPIO mouth of single-chip microcontroller controls pio chip To select voltage or electric current to export;Specific control logic is as shown in table 1.
M1 M2 MODE (mode)
L L Vout (voltage output)
L H Iout (electric current output)
1. output channel input and output control logic relation table of table
As shown in figure 5, the present embodiment also provides a kind of analog output method of alternative output voltage or electric current, it should Analog output method includes:
S1, micro-control unit are to output channel input drive signal;Specifically:A, it is single to can receive control for micro-control unit The input signal of input unit in member, then exports to output channel;B, it is connect with micro-control unit unit by bus outer The signal of portion's input unit input, then exports to output channel;C, specified in micro-control unit memory by loading Code directly exports corresponding signal to output channel;More specific embodiment:For example, micro-control unit is total by CAN Line receives communication data, which contains output signal type (voltage or electric current) and output data (i.e. voltage or electric current Size).Then on the one hand micro-control unit controls the output type of output channel by GPIO mouthfuls, on the one hand by output data (digital quantity) is sent to DA (digital-to-analogue conversion circuit) by SPI, and output data is converted to analog quantity by DA (digital-to-analogue conversion circuit) Output channel final output is given again.
S2, judge driving signal characterization be voltage drive signals or current drive signal;Micro-control unit is defeated The type of the driving signal of channel judgment step S1 output out judges that signal is voltage drive signals or electric current driving letter Number;As a kind of preferably scheme, as previously mentioned, the signal of GPIO input can be voltage drive signals by just distinguishing Or current drive signal, it is equally possible that being high pressure or low pressure by signal, to judge being voltage drive signals, also It is current drive signal;
S3, when micro-control unit input be voltage drive signals when, output channel output voltage;When micro-control unit is defeated When what is entered is current drive signal, output channel exports electric current.
It should be noted that above-mentioned " when micro-control unit input be voltage drive signals when " and " work as micro-control unit When what is inputted is current drive signal ", it refers to belonging to for the output channel (or pio chip) connecting with micro-control unit Input signal, and belong to output signal for micro-control unit itself.
Preferably, micro-control unit is inputted to output channel and is driven the present embodiment in the step S1 of above-mentioned analog output method The mode of dynamic signal includes:Micro-control unit is provided with driving signal output end mouth corresponding with multiple output channels respectively, makes It obtains each output channel and individually receives voltage or current driving signal.
Preferably, above-mentioned analog output method further includes the present embodiment:By being located at micro-control unit and output channel Between digital/analog signal converting unit, to output channel input analog signal;It is single by being converted with digital/analog signal The analog/digital signal conversion unit of first output end connection, acquires the analog signals of digital/analog signal converting unit, and After analog signals are converted to digital signal, micro-control unit is fed back to.It is further preferred that working as analog/digital signal Difference is greater than predetermined value between the digital signal of converting unit feedback and the digital signal of digital/analog signal converting unit input When, micro-control unit determines the output channel failure that output is connect with digital/analog signal converting unit, stops digital-to-analog The output of signal conversion unit.
The present embodiment preferably, above-mentioned analog output method, when microcontroller input be voltage drive signals when, if Load short circuits or load are too small, then indicating fault pin is low level;When microcontroller input be current drive signal when, such as Fruit load open circuit or load excessive, then indicating fault pin is low level.
As shown in fig. 6, above-mentioned analogue quantity output device provided in this embodiment or analog output method, can apply In DCS I&C system SpeedyHold platform, for example, realizing 4 channel analogy amount output devices.
The analogue quantity output device is divided into output channel, SCM system, communication, four part of power supply;Channel, single-chip microcontroller system System, the power supply communicated are independent from each other.The analogue quantity output device has 4 output channels, and output type can be by not Same GPIO mouth control, the output type in each channel are independent;The output of D/A realizes self-diagnostic function by A/D readback.
Specifically, the CAN interface of the MCU of analogue quantity output device is connected to external the by CAN communication bus A connector, the first connector can connect to the main control unit of DCS I&C system;And the first connector passes through multiple electricity The power supply signal that source module is needed to MCU input;MCU is additionally provided with D/A chip (DAC) identical with Fig. 2, A/D chip (ADC), and between MCU and D/A chip, A/D chip it is provided with signal isolating device;Positioned at micro-control unit (MCU) and defeated Digital/analog signal converting unit between channel (D/A chip) out, and with digital/analog signal converting unit output end The analog/digital signal conversion unit (A/D chip) of connection, analog/digital signal conversion unit (D/A chip) acquisition number/ The analog signals of analog signal converting unit (A/D chip), and after analog signals are converted to digital signal, it feeds back to Micro-control unit;When the digital signal and digital/analog signal of analog/digital signal conversion unit (D/A chip) feedback are converted Unit (A/D chip) input digital signal between difference greatly be greater than predetermined value when, micro-control unit (single-chip microcontroller) determine output with The output channel failure of digital/analog signal converting unit (D/A chip) connection, stops digital/analog signal converting unit Output.And for MCU by GPIO mouthfuls respectively to 4 output channel input drive signals, output channel will by the second connector Required voltage signal or current signal are input to the module that corresponding signal is needed in DCS I&C system.
Using above-mentioned technical proposal provided by the present application, one of following beneficial effect can be at least obtained:
1, for the same output channel, optionally output voltage signal or current signal, and unlike signal class The output of type can be switched over by control instruction, have no need to change hardware setting, easy to operate;And apparatus structure is set Meter is without limitation.
2, when analogue quantity output device is provided with multiple output channels, voltage can be separately configured in each channel or electric current is defeated Out, it is easier to which multiple output channels of analogue quantity output device are respectively controlled;So that each output channel can individually match It sets, it is flexible in application.
Those of ordinary skill in the art will appreciate that:Realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that above description is only highly preferred embodiment of the present invention, not the present invention is appointed What formal limitation.Anyone skilled in the art, it is without departing from the scope of the present invention, all available The way and technology contents of the disclosure above make many possible variations and simple replacement etc. to technical solution of the present invention, these Belong to the range of technical solution of the present invention protection.

Claims (10)

1. the analogue quantity output device of a kind of alternative output voltage or electric current, which is characterized in that including:
Output channel is provided with voltage output module and current output module, and according to the received different driving of output channel Signal, selectively output voltage or electric current;
The micro-control unit connecting with the output channel input terminal, the micro-control unit is to the output channel input voltage Driving signal or current drive signal;
Wherein, when the micro-control unit input be voltage drive signals when, the output channel output voltage;When described micro- When what control unit inputted is current drive signal, the output channel exports electric current.
2. the apparatus according to claim 1, which is characterized in that described device includes multiple output channels, and described micro- Control unit is provided with driving signal output end mouth corresponding with the multiple output channel respectively, so that each output channel list Solely receive voltage drive signals or current drive signal.
3. the apparatus according to claim 1, which is characterized in that further include:Positioned at the micro-control unit and the output Digital/analog signal converting unit between channel, and the mould being connect with the digital/analog signal converting unit output end Quasi-/digital signal converting unit, the analog/digital signal conversion unit acquire the digital/analog signal converting unit Analog signals, and after the analog signals are converted to digital signal, feed back to the micro-control unit.
4. device according to claim 3, which is characterized in that when the number of analog/digital signal conversion unit feedback When difference is greater than predetermined value between word signal and the digital signal of digital/analog signal converting unit input, the micro-control Unit processed determine it is described export the output channel failure that connect with the digital/analog signal converting unit, stopping it is described it is digital/ The output of analog signal converting unit.
5. the device in -4 described in any one according to claim 1, which is characterized in that the output end of the output channel also with Micro-control unit connection, and when the analogue quantity output device is in voltage output mode, if load short circuits or Load it is too small, then indicating fault pin be low level;When the analogue quantity output device is in current output mode, if load Open circuit or load excessive, then indicating fault pin is low level.
6. a kind of analog output method of alternative output voltage or electric current, which is characterized in that including:
Micro-control unit is to output channel input drive signal;
Judge the driving signal characterization is voltage drive signals or current drive signal;
Wherein, when the micro-control unit input be voltage drive signals when, the output channel output voltage;When described micro- When what control unit inputted is current drive signal, the output channel exports electric current.
7. according to the method described in claim 6, it is characterized in that, the micro-control unit is to output channel input drive signal Mode include:The micro-control unit is provided with driving signal output end mouth corresponding with the multiple output channel respectively, So that each output channel individually receives voltage or current driving signal.
8. according to the method described in claim 6, it is characterized in that, further including:By being located at the micro-control unit and described Digital/analog signal converting unit between output channel inputs analog signal to the output channel;By with the number Word/analog signal converting unit output end connection analog/digital signal conversion unit, acquires the digital/analog signal and turns The analog signals of unit are changed, and after the analog signals are converted to digital signal, feed back to the micro-control unit.
9. according to the method described in claim 8, it is characterized in that, working as the number of analog/digital signal conversion unit feedback When difference is greater than predetermined value between word signal and the digital signal of digital/analog signal converting unit input, the micro-control Unit processed determine it is described export the output channel failure that connect with the digital/analog signal converting unit, stopping it is described it is digital/ The output of analog signal converting unit.
10. the method according to any one in claim 6-9, which is characterized in that it is when microcontroller input is electricity When pressing driving signal, if load short circuits or load are too small, indicating fault pin is low level;When the microcontroller inputs Be current drive signal when, if load open circuit or load excessive, indicating fault pin be low level.
CN201810712215.4A 2018-06-29 2018-06-29 The analogue quantity output device and method of alternative output voltage or electric current Pending CN108829006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810712215.4A CN108829006A (en) 2018-06-29 2018-06-29 The analogue quantity output device and method of alternative output voltage or electric current

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810712215.4A CN108829006A (en) 2018-06-29 2018-06-29 The analogue quantity output device and method of alternative output voltage or electric current

Publications (1)

Publication Number Publication Date
CN108829006A true CN108829006A (en) 2018-11-16

Family

ID=64134112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810712215.4A Pending CN108829006A (en) 2018-06-29 2018-06-29 The analogue quantity output device and method of alternative output voltage or electric current

Country Status (1)

Country Link
CN (1) CN108829006A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531744A (en) * 2019-10-17 2019-12-03 北京和利时智能技术有限公司 A kind of analog signals output circuit
CN110932623A (en) * 2019-12-02 2020-03-27 杭州和利时自动化有限公司 Servo control circuit with configurable voltage and current
CN111198522A (en) * 2019-11-28 2020-05-26 广州民航职业技术学院 Interface circuit including multiple output types and control method thereof
CN113141176A (en) * 2020-01-17 2021-07-20 江森自控空调冷冻设备(无锡)有限公司 Automatic configuration output circuit
CN114815720A (en) * 2022-06-29 2022-07-29 天津飞旋科技股份有限公司 Programmable controller, analog quantity multiplexing interface control method thereof and storage medium
WO2023071532A1 (en) * 2021-11-01 2023-05-04 上海美控智慧建筑有限公司 Input-output control circuit, controller, and air conditioner

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101995826A (en) * 2009-08-25 2011-03-30 北京广利核系统工程有限公司 High-reliability analog quantity output device
KR101102120B1 (en) * 2010-11-19 2012-01-02 엘에스산전 주식회사 Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same
CN204331374U (en) * 2014-12-29 2015-05-13 上海新华控制技术(集团)有限公司 A kind of multichannel analog amount output module
CN104820200A (en) * 2015-05-14 2015-08-05 哈尔滨冠拓电源设备有限公司 Battery management system function check platform with self-checking function, self-checking method, and check method
CN105277824A (en) * 2015-10-10 2016-01-27 陕西千山航空电子有限责任公司 Online automatic testing circuit and method of multichannel collection interface
CN207336612U (en) * 2017-07-06 2018-05-08 哈尔滨工大特种机器人有限公司 A kind of analog voltage and analog current signal Acquisition Circuit
CN207380504U (en) * 2017-10-28 2018-05-18 无锡商业职业技术学院 A kind of high-precision digital-to-analog input/output interface device
CN208569346U (en) * 2018-06-29 2019-03-01 北京广利核系统工程有限公司 The analogue quantity output device of alternative output voltage or electric current

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101995826A (en) * 2009-08-25 2011-03-30 北京广利核系统工程有限公司 High-reliability analog quantity output device
KR101102120B1 (en) * 2010-11-19 2012-01-02 엘에스산전 주식회사 Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same
CN204331374U (en) * 2014-12-29 2015-05-13 上海新华控制技术(集团)有限公司 A kind of multichannel analog amount output module
CN104820200A (en) * 2015-05-14 2015-08-05 哈尔滨冠拓电源设备有限公司 Battery management system function check platform with self-checking function, self-checking method, and check method
CN105277824A (en) * 2015-10-10 2016-01-27 陕西千山航空电子有限责任公司 Online automatic testing circuit and method of multichannel collection interface
CN207336612U (en) * 2017-07-06 2018-05-08 哈尔滨工大特种机器人有限公司 A kind of analog voltage and analog current signal Acquisition Circuit
CN207380504U (en) * 2017-10-28 2018-05-18 无锡商业职业技术学院 A kind of high-precision digital-to-analog input/output interface device
CN208569346U (en) * 2018-06-29 2019-03-01 北京广利核系统工程有限公司 The analogue quantity output device of alternative output voltage or electric current

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531744A (en) * 2019-10-17 2019-12-03 北京和利时智能技术有限公司 A kind of analog signals output circuit
CN111198522A (en) * 2019-11-28 2020-05-26 广州民航职业技术学院 Interface circuit including multiple output types and control method thereof
CN111198522B (en) * 2019-11-28 2022-03-29 广州民航职业技术学院 Interface circuit including multiple output types and control method thereof
CN110932623A (en) * 2019-12-02 2020-03-27 杭州和利时自动化有限公司 Servo control circuit with configurable voltage and current
CN113141176A (en) * 2020-01-17 2021-07-20 江森自控空调冷冻设备(无锡)有限公司 Automatic configuration output circuit
WO2023071532A1 (en) * 2021-11-01 2023-05-04 上海美控智慧建筑有限公司 Input-output control circuit, controller, and air conditioner
CN114815720A (en) * 2022-06-29 2022-07-29 天津飞旋科技股份有限公司 Programmable controller, analog quantity multiplexing interface control method thereof and storage medium

Similar Documents

Publication Publication Date Title
CN108829006A (en) The analogue quantity output device and method of alternative output voltage or electric current
CN100468378C (en) SPI apparatus telecommunication circuit
CN104603627B (en) Semiconductor device and battery voltage monitoring device
CN104809088A (en) Connecting device and control chip and control method thereof
CN206831438U (en) LED lamp bead and the LED lamp using the LED lamp bead
CN104182314A (en) Dragon core processor server motherboard maintaining method
CN103162372A (en) Air conditioner, RS485 bus system thereof and bus system control method
CN206640511U (en) A kind of power-supply device
CN208569346U (en) The analogue quantity output device of alternative output voltage or electric current
CN106843453A (en) The control device and method of the CPU power consumption soared under platform
CN104142988A (en) General information processing platform based on automated testing system
CN107515341A (en) A kind of test board
CN107665036A (en) Electric power supply control system
CN107480090A (en) A kind of circuit and method that GPIO functions are realized in Serial Peripheral Interface (SPI) equipment
CN101188047A (en) Multi-channel differential signal monitoring circuit
CN106569062A (en) Satellite ground power supply and distribution test equipment generalization design method
CN103869883B (en) One kind extension mainboard and expansion system
CN205563342U (en) Voltage output's regulating circuit
CN110647431B (en) Test box for board card and complete machine diagnosis test
CN203025643U (en) Power supply monitoring and sequencing circuit of extensible multi-power system
CN207424591U (en) Multiple source usb circuit
CN209118273U (en) A kind of Multi-serial port distributor and terminal device
CN206865347U (en) Medical display, voltage switching device and electronic equipment
CN102213990A (en) Computer system
CN206601595U (en) Electric monitoring platform based on multiprocessor

Legal Events

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