CN110209086A - A kind of digital power/enabled control method of equipment multi signal input - Google Patents
A kind of digital power/enabled control method of equipment multi signal input Download PDFInfo
- Publication number
- CN110209086A CN110209086A CN201910490406.5A CN201910490406A CN110209086A CN 110209086 A CN110209086 A CN 110209086A CN 201910490406 A CN201910490406 A CN 201910490406A CN 110209086 A CN110209086 A CN 110209086A
- Authority
- CN
- China
- Prior art keywords
- enabled
- input
- control
- logic
- digital power
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24215—Scada supervisory control and data acquisition
Abstract
The present invention relates to a kind of enabled control modes of digital power/equipment.A kind of digital power/enabled control method of equipment multi signal input, input signal are greater than 1 from the input of hardware I/O logic, analog input, edge input or communication numeral input, the quantity of input source;Single logic is inputted using multi signal and exports independent control algorithm, so that a variety of enabled input signals is mixed into single logic output, there is only two kinds of output states;The open and close of signal output control controlled device, the enabled input as controlled device such as digital power or digital device.The present invention by a variety of digital power/equipment make can control signal set, and can separate responses make can control, meeting digital device difference makes to can control application demand, user can choose a variety of enabled modes, make can control than existing single more flexible, and reduces device hardware cost.
Description
Technical field
The present invention relates to a kind of enabled control modes of digital power/equipment, more particularly, to a kind of digital power/equipment
Multi signal input enabled control method.
Background technique
Digital power (or other digital devices) makes can control, and is exactly outside digital power (or other digital devices) needs
A kind of control mode of portion's triggering starting, it is following that current industry realizes that the enabled control function of digital power/equipment generally uses
Two kinds of modes: one, IO level is enabled, the variation of GPIO foot incoming level is detected by MCU, as shown in Figure 1;Two, PERCOM peripheral communication
Signal is enabled, receives external enabled order by communication interfaces such as the CAN/RS485/RS422/RS232 of MCU, as shown in Figure 2.
But the more application environment demands of digital power/equipment are considered, if identical product configures different enabled control modes, undoubtedly
With more stronger environmental suitability.If but identical product customizes different enabled control modes, necessarily considerably increases
Production maintenance cost.Therefore, if can make can control signal set (as shown in Figure 3) for a variety of digital power/equipment, and make
Its energy separate responses makes can control, then a kind of effective digital power/equipment multi signal is needed to input enabled control method.
Summary of the invention
The present invention inputs enabled control method in view of the shortcomings of the prior art, proposing a kind of digital power/equipment multi signal,
A variety of digital power/equipment are made can control signal set, energy separate responses make can control, and meeting difference makes to can control application
Demand.
The technical solution adopted by the present invention:
A kind of digital power/equipment multi signal inputs enabled control method, input signal inputs from hardware I/O logic,
Analog input, edge input or communication numeral input, the quantity of input source are greater than 1;The control method realizes that steps are as follows:
1) single logic is inputted using multi signal and exports independent control algorithm, be mixed into a variety of enabled input signals and individually patrol
Output is collected, there is only two kinds of output states;
2) open and close of signal output control controlled device, as controlled device such as digital power or digital device
Enabled input.
The digital power/equipment multi signal inputs enabled control method, and multi signal inputs single independent control of logic output
Algorithm processed joined in control logic and judge IO enabler flags position, make the state of output signal only by increment input signal control
System, is not influenced by storage input signal, logically a variety of enabled modes is interlocked, and then make a variety of enabled input signals
It is mixed into single logic output.
The digital power/equipment multi signal inputs enabled control method, and multi signal inputs single independent control of logic output
The logic flow of algorithm processed is as follows:
1) initialization judges Hardware I/O level state, and the enabled then IO enabler flags position IO is equal to 1;The enabled then IO of non-IO is enabled
Flag bit is equal to 0;
2) judge that IO level is enabled, judge whether IO enabler flags position is equal to 1;
3) if IO is enabled and IO enabler flags position is equal to 1, booting is enabled;At this moment I/O flag position clear 0, reaches in logic
Interlocking effect;
4) if enabled and IO enabler flags position is not equal to 0 to IO, shutdown is enabled;At this moment I/O flag position clear 0, reaches in logic
It is acted on to interlocking;
5) parallel judgement communication makes can control, and exports single logic enable signal.
Invention the utility model has the advantages that
1, digital power of the present invention/equipment multi signal inputs enabled control method, by the enabled of a variety of digital power/equipment
Control signal set, and can separate responses make can control, meeting digital device difference makes to can control application demand, user
It can choose a variety of enabled modes, make can control than existing single more flexible.
2, digital power of the present invention/equipment multi signal inputs enabled control method, joined in control logic and judges IO
Enabler flags position logically interlocks two kinds of enabled modes, thus realize independent control, the purpose being mutually independent of each other.
3, digital power of the present invention/equipment multi signal inputs enabled control method, can reduce device hardware cost, make to give birth to
Produce the digital power that producer can enable demand for different clients and customize different model.It is easy to accomplish, at low cost, user
Just.
Detailed description of the invention
Fig. 1 is that IO level enables control mode schematic diagram;
Fig. 2 is that external communication signals enable control mode schematic diagram;
Fig. 3 is that multi signal of the present invention inputs enabled control mode schematic diagram;
Fig. 4 is that multi signal of the present invention inputs enabled control method logical flow chart.
Specific embodiment
Below by specific embodiment, technical solution of the present invention is described in further detail.Following embodiment
It is merely to illustrate the present invention, limiting the scope of the present invention should not be constituted.
Embodiment 1
Referring to Fig. 3, digital power of the present invention/equipment multi signal inputs enabled control method, and input signal is from hardware
I/O logic input, analog input, edge input, communication numeral input etc., the quantity of input source are N, and the N is greater than 1
Natural number;It is unlike the prior art: 1) inputting single logic using multi signal and export independent control algorithm, make a variety of enabled
Input signal is mixed into single logic output, and there is only two kinds of output states;2) signal output control controlled device unlatching with
It closes, the enabled input as controlled device such as digital power or digital device.
Embodiment 2
The digital power of the present embodiment/equipment multi signal inputs enabled control method and the difference of embodiment 1 exists
In: further, the multi signal inputs single logic and exports independent control algorithm, joined in control logic and judges that IO is enabled
Flag bit controls the state of output signal only by increment input signal, is not influenced by storage input signal, logically more
The enabled mode of kind is interlocked, and then a variety of enabled input signals is made to be mixed into single logic output.
Following embodiments only illustrate specific implementation of the invention by taking two enabled input signals as an example.
Embodiment 3
Referring to Fig. 3, Fig. 4, the present embodiment digital power equipment multi signal inputs enabled control method, by a variety of digital powers
Make can control signal set, can separate responses make can control, meeting different user makes to can control application demand.And it is digital
Power supply/equipment only has a kind of model, substantially reduces production management and after-sales service cost.
Multiple signals are inputted, in order to avoid coupling between multiple input enable signals, reaching independently makes to can control target,
Enabled output state determines that design requirement is as follows by increment input, enables wherein " 1 " represents, and " 0 " represents non-enabled
By taking dual input single output system as an example, the truth table of all situations is enumerated as follows:
When Hardware I/O is enabled enables inconsistent with communication, because output is determined by increment input, therefore no matter two kinds of inputs are adopted
With traditional "AND", "or", " non-" any logic or a combination thereof, target can not achieve.
Therefore, the present invention judges IO enabler flags position by joined in control logic, logically enabled two kinds
Mode interlocks, thus realize independent control, the purpose being mutually independent of each other.
Embodiment 4
Referring to Fig. 3, Fig. 4.Digital power of the present invention/equipment multi signal inputs enabled control method, by using multi signal
It inputs single logic and exports independent control algorithm, a variety of enabled input signals is made to be mixed into single logic output, it is defeated there is only two kinds
It does well;Two kinds of enable signals can enable, and independent control is not interfere with each other mutually.
The multi signal inputs single logic and exports independent control algorithm, and the logic flow of software implementation is as follows:
First, program initialization assignment IO enabler flags position first judges Hardware I/O level state, the enabled mark of the enabled then IO of IO
Will position is equal to 1;Non- enabled then IO enabler flags position is equal to 0;
Second, main main program judge that Hardware I/O level is enabled;
Third further judges whether IO enabler flags position is equal to 1;
4th, if I/O hardware is enabled and IO enabler flags position is equal to 1, enable booting.At this moment IO enabler flags position is clear
0, reach interlocking effect in logic;
5th, if enabled and IO enabler flags position is not equal to 0 to I/O hardware, enable shutdown.At this moment IO enabler flags position
1 is set, reaches interlocking effect in logic, is the logic that I/O hardware makes can control above;
6th, parallel judgement communication makes to can control judgement, receives enabled switching on and shutting down instruction, then enables switching on and shutting down.
Such two kinds of enabled modes can independent control, enabled output state determines by increment input.
Digital power of the present invention/equipment multi signal inputs enabled control method, and in implementation process, communication mode is not limited to
CAN,RS485,RS232,RS 422,UART,SPI,I2C.IO enable signal includes but is not limited to low and high level variation, rising edge
Failing edge changes, pulsewidth width is enabled, analog quantity voltage;The object of implementation is not limited to Switching Power Supply, comprising band ARM, MCU,
The product of DSP, FPGA, SOC control chip.
Claims (4)
1. a kind of digital power/equipment multi signal inputs enabled control method, input signal is from the input of hardware I/O logic, mould
Analog quantity input, edge input or communication numeral input, the quantity of input source are greater than 1;It is characterized by:
1) single logic is inputted using multi signal and exports independent control algorithm, so that a variety of enabled input signals is mixed into single logic defeated
Out, there is only two kinds of output states;
2) open and close of signal output control controlled device, as the enabled of controlled device such as digital power or digital device
Input.
2. digital power according to claim 1/equipment multi signal inputs enabled control method, it is characterised in that: described
Multi signal inputs single logic and exports independent control algorithm, joined in control logic and judges IO enabler flags position, believes output
Number state only controlled by increment input signal, do not influenced by storage input signal, logically a variety of enabled modes carried out
Interlocking, and then a variety of enabled input signals is made to be mixed into single logic output.
3. digital power according to claim 1 or 2/equipment multi signal inputs enabled control method, it is characterised in that: institute
It states multi signal and inputs single logic output independent control algorithm, logic flow is as follows:
First, initialization judges Hardware I/O level state, and the enabled then IO enabler flags position IO is equal to 1;The enabled then IO of non-IO is enabled
Flag bit is equal to 0;
Second, judge that IO level is enabled, judges whether IO enabler flags position is equal to 1;
Third enables booting if IO is enabled and IO enabler flags position is equal to 1;At this moment I/O flag position clear 0, reaches in logic
Interlocking effect;
4th, if enabled and IO enabler flags position is not equal to 0 to IO, enable shutdown;At this moment I/O flag position clear 0, reaches in logic
It is acted on to interlocking;
5th, parallel judgement communication makes can control, and exports single logic enable signal.
4. digital power according to claim 1 or 2/equipment multi signal inputs enabled control method, it is characterised in that: be
It avoids coupling between multiple input enable signals, independently makes to can control target to reach, enabled output state is determined by increment input
Fixed, design is as follows, enables wherein " 1 " represents, and " 0 " represents non-enabled
By taking dual input single output system as an example, the truth table of all situations is enumerated as follows:
When Hardware I/O is enabled and communication enables inconsistent, because output is determined by increment input, therefore no matter two kinds of inputs are using biography
The "AND" of system, "or", " non-" any logic or a combination thereof, can not achieve target.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910490406.5A CN110209086A (en) | 2019-06-06 | 2019-06-06 | A kind of digital power/enabled control method of equipment multi signal input |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910490406.5A CN110209086A (en) | 2019-06-06 | 2019-06-06 | A kind of digital power/enabled control method of equipment multi signal input |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110209086A true CN110209086A (en) | 2019-09-06 |
Family
ID=67791288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910490406.5A Withdrawn CN110209086A (en) | 2019-06-06 | 2019-06-06 | A kind of digital power/enabled control method of equipment multi signal input |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110209086A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1007698A (en) * | 1973-01-19 | 1977-03-29 | Haruhisa Furuishi | High frequency battery charging circuit |
CN201355879Y (en) * | 2009-01-19 | 2009-12-02 | 江苏技术师范学院 | Switch device for remote control lighting fitting based on ZigBee technology |
CN202840959U (en) * | 2012-09-03 | 2013-03-27 | 无锡中星微电子有限公司 | Multi-input single-output DC/DC converter |
CN104144261A (en) * | 2013-05-06 | 2014-11-12 | 领特德国有限公司 | DC/DC Converter and Subscriber Line Interface Circuit |
CN206712678U (en) * | 2017-04-28 | 2017-12-05 | 四川英杰电气股份有限公司 | A kind of multi input parallel power converter |
CN108566090A (en) * | 2018-06-13 | 2018-09-21 | 国网江苏省电力有限公司电力科学研究院 | A kind of two-way bipolarity dcdc converter of low-voltage direct |
-
2019
- 2019-06-06 CN CN201910490406.5A patent/CN110209086A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1007698A (en) * | 1973-01-19 | 1977-03-29 | Haruhisa Furuishi | High frequency battery charging circuit |
CN201355879Y (en) * | 2009-01-19 | 2009-12-02 | 江苏技术师范学院 | Switch device for remote control lighting fitting based on ZigBee technology |
CN202840959U (en) * | 2012-09-03 | 2013-03-27 | 无锡中星微电子有限公司 | Multi-input single-output DC/DC converter |
CN104144261A (en) * | 2013-05-06 | 2014-11-12 | 领特德国有限公司 | DC/DC Converter and Subscriber Line Interface Circuit |
CN206712678U (en) * | 2017-04-28 | 2017-12-05 | 四川英杰电气股份有限公司 | A kind of multi input parallel power converter |
CN108566090A (en) * | 2018-06-13 | 2018-09-21 | 国网江苏省电力有限公司电力科学研究院 | A kind of two-way bipolarity dcdc converter of low-voltage direct |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205139831U (en) | Power management system of wearable smart machine | |
CN110209086A (en) | A kind of digital power/enabled control method of equipment multi signal input | |
CN205210868U (en) | Many task assignment based on multinuclear CPU | |
CN207814014U (en) | A kind of novel dust removing fan energy-saving control system | |
CN205721225U (en) | A kind of electric power data acquisition and communication system | |
CN205081473U (en) | Double -core dc -to -ac converter module communication system's control circuit board based on DSP+FPGA | |
CN206411479U (en) | A kind of intelligent controller for integrating control function and I/O functions | |
CN204215706U (en) | A kind of intelligent display with I/O interface | |
CN103683998A (en) | Method and device for reducing nighttime power consumption of photovoltaic inverter | |
CN201667544U (en) | Wind power generation feedback device | |
CN102386809A (en) | Off-grid intelligent photovoltaic controller | |
CN207846553U (en) | A kind of Backpack type all-in-one machine control system and Backpack type all-in-one machine | |
CN204462785U (en) | Micro-integrated programmable logic controller (PLC) and system thereof | |
CN202677113U (en) | Digital quantity output control board based on MSP430 single chip microcomputer | |
CN205193723U (en) | Electric system in hard disk timesharing | |
CN205334158U (en) | Waveform generator | |
CN209167869U (en) | Cabinet driving device is opened in a kind of telecommunication for electric business logistics drop-off box | |
CN205676984U (en) | A kind of SCM Based Domestic intelligent water saving device | |
CN204334390U (en) | A kind of control board controlled for synchronous motor excitation | |
He et al. | The design and implementation of an embedded paper currency characteristic data acquisition system | |
CN104375619A (en) | Low-power-consumption design method for single chip microcomputer systems | |
CN204406123U (en) | A kind of intelligent controller possessing GPRS communication | |
Ding et al. | A software and hardware design of intelligent measurement and control terminal of distribution network based on a communication adaptive approach | |
CN209946647U (en) | Intelligent energy management and control system of double-machine assembling unit | |
CN204314636U (en) | Automatic frequency-conversion regulates the intelligent control system of motor speed |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190906 |
|
WW01 | Invention patent application withdrawn after publication |