CN105259843A - Outlet logic circuit of reactive power compensation type intelligent control device - Google Patents
Outlet logic circuit of reactive power compensation type intelligent control device Download PDFInfo
- Publication number
- CN105259843A CN105259843A CN201510783748.8A CN201510783748A CN105259843A CN 105259843 A CN105259843 A CN 105259843A CN 201510783748 A CN201510783748 A CN 201510783748A CN 105259843 A CN105259843 A CN 105259843A
- Authority
- CN
- China
- Prior art keywords
- type flip
- flip flop
- fpga
- circuit
- output
- 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.)
- Granted
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/25—Pc structure of the system
- G05B2219/25314—Modular structure, modules
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Electronic Switches (AREA)
Abstract
The invention discloses an outlet logic circuit of a reactive power compensation type intelligent control device. The circuit comprises a CPU, an FPGA, and a reset chip. The parallel bus of the CPU is accessed to an FPGA. The reset signal of the reset chip is also accessed to the FPGA. The interior of the FPGA comprises a decoding circuit, two D triggers and a logic gate circuit. The address bus and the control signal, in the above parallel bus, are accessed to the decoding circuit to generate two independent chip selection signals. The data bus that passes through the chip selection signals and the parallel bus can independently control the output of each D trigger. The output signals of the two D triggers are accessed to the logic gate circuit. The output of the logic gate circuit is accessed to the output pin of the FPGA so as to drive an external switching circuit. The reset signal of the reset chip is connected with the control ends of the two D triggers. Since the FPGA is accessed to the design of the outlet logic circuit, the flexible programming of an interior circuit and the flexible output of an external pin are realized. The design flexibility is improved. The designed circuit is small in occupation area, low in cost, strong in anti-interference capability and high in reliability.
Description
Technical field
The present invention relates to outlet logic circuit engineering field, particularly relate to a kind of outlet logic circuit of reactive-load compensation intelligent controlling device.
Background technology
In the electrical network of China, alternating current sends from generator, through multistage defeated change distribution, finally arrives consumer.Consumer majority is the inductive load such as motor, transformer, if there is no Measures of Reactive Compensation, a large amount of reactive powers will flow to consumer from generator, just be filled with idle flowing from top to bottom, make defeated, become, join, using electricity system loss increase, transport capacity reduce, bad stability, even cause system crash.Current Measures of Reactive Compensation compensates mainly through switched capacitor.In addition, in network system, there is the electromagnetic interference (EMI) that switching over etc. causes in a large number, also the temporary faults such as superpotential, low-voltage, excess current occur once in a while.The existence of electromagnetic interference (EMI) should not cause capacitor miscarrying to cut, and in electrical network temporary fault situation, capacitor does not answer switching.
Outlet logic circuit is the nucleus module of reactive-load compensation intelligent controlling device.It carries out operation by CPU and controls, through certain sequential or logic is backward outer gives an order, the on-off circuits such as pilot relay, and then the switching of control capacitor.
Known to above, the height of outlet logic circuit performance directly affects the reliability of capacitor actions, and then affects the stable operation of network system.But current outlet logic circuit generally adopts special d type flip flop or latch chip to form, after the parallel bus write-once of CPU, directly control outlet and export.This circuit also exists poor anti jamming capability, account for plate area greatly, costly, the shortcoming of confidentiality difference.
Summary of the invention
Object of the present invention is exactly to solve the problem, a kind of outlet logic circuit of reactive-load compensation intelligent controlling device is provided, FPGA is introduced in the design of outlet logic circuit, internal circuit flexible programming can be accomplished, external terminal exports flexibly, improve the dirigibility of design.
To achieve these goals, the present invention adopts following technical scheme:
An outlet logic circuit for reactive-load compensation intelligent controlling device, comprises CPU, FPGA and reset chip, in the parallel bus access FPGA of described CPU, and the reset signal access FPGA of reset chip;
Described FPGA comprises decoding scheme, and described parallel bus access decoding scheme, generates multiple independently chip selection signal; Each chip selection signal connects a d type flip flop respectively, and the output signal access logic gates of d type flip flop, the output of described logic gates connects an output pin of FPGA, and then drives outside on-off circuit.
Described parallel bus comprises data bus, address bus and control signal.
The figure place of d type flip flop is identical with the width of data bus, and described d type flip flop comprises two, is respectively d type flip flop U1 and d type flip flop U2.
Described address bus and control signal generate two independently chip selection signals by decoding scheme, two chip selection signals connect the CLK end of d type flip flop U1 and d type flip flop U2 respectively, the D end of d type flip flop U1 and d type flip flop U2 all connects data bus, and the output terminal of d type flip flop U1 and d type flip flop U2 exports Q1 and Q2 signal respectively.
The input of described logic gates is from the output of two triggers, and its logic is that A=Q1+/Q2, A end outputs to FPGA pin, and then drives outside on-off circuit.
The reset signal of reset chip connects the set end of d type flip flop U1 and the clear terminal of d type flip flop U2, exports reset signal, guarantee the signal of d type flip flop stable output, thus guarantee the state at powered on moment FPGA pin stable output when reset chip resets.
Beneficial effect of the present invention:
FPGA is introduced in the design of outlet logic circuit, internal circuit flexible programming can be accomplished, external terminal exports flexibly, improve the dirigibility of design.
FPGA internal processes is difficult to be decrypted, and corresponding printed board is difficult to be plagiarized, copy, and improves confidentiality and the security of design.
When system requirements exports more, if use traditional design, a lot of trigger of increase or latch chip are also increased the area taking printed board, and adopts FPGA to design outlet logical circuit, only a chip enough completes, and greatly reduces cost.
In internal circuit, only have the output of two triggers outlet ability action under the opposite logic of regulation, improve the threshold of outlet action, thus enhance antijamming capability.
The reset signal of reset chip is introduced the design of outlet logic circuit, in electrification reset situation, trigger is in determines state, avoids the possibility of the misoperation that powers on, further increases reliability.
Accompanying drawing explanation
Fig. 1 is general structure schematic diagram of the present invention.
Fig. 2 is physical circuit schematic diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
As shown in Figure 1, whole system is formed by CPU, reset chip and FPGA.FPGA adopts the A3P125 of ProASIC3 series of Microsemi company, and owing to adopting non-volatile FLASH technology, A3P125 has security, low-power consumption, power on the feature such as at once.CPU adopts the TMS320F28335 of TI company, and it possesses the ability that parallel bus exports, and comprises 16 bit data bus, 19 bit address buses and control signal wire etc.Reset chip adopts the TPS3705-33D of TI company, and the reset signal of output is low level.The parallel bus of CPU, the reset signal of reset chip are all connected to FPGA, and FPGA to FPGA pin, outputs to the on-off circuits such as external drive relay through inner logic circuit output signal afterwards.
As shown in Figure 2, from the address bus of CPU and control signal wire (chip selection signal CS, write signal WR) through decoding scheme generate two independently sheet select OUTCS1 and OUTCS2.At FPGA indoor design two independently d type flip flop U1, U2, U1, U2 are the trigger of 16, are consistent with the data-bus width of CPU.Wherein the D of two triggers holds the data bus DB all fetched from CPU, the CLK termination OUTCS2 of the CLK termination OUTCS1 of U1, U2.Output Q1, Q2 of trigger U1 and U2 access the two ends of gate circuit U3 respectively, and the gate logic of gate circuit U3 is: A=Q1+/Q2.A is outputted to the pin of FPGA.Like this by the rising edge of chip selection signal, by the value of data bus write Q end, thus the value of A can be changed, and then output to outside relay circuit, the switching of control capacitor.
General provision A exports as actuating of relay time " 0 ".If make A export as " 0 ", Q1 exports and should be " 0 ", Q2 exports and should be " 1 ", that is, trigger U1, U2 should export the value of regulation and two values just must can make the actuating of relay on the contrary, compared with single trigger or latch circuit, improves the threshold of the actuating of relay, increase the difficulty of the actuating of relay, thus enhance the antijamming capability of circuit.
The reset signal of reset chip connects the set end of U1 and the reset terminal of U2.Like this, at reset chip reseting period, the output Q1 of U1 is " 1 ", and the output Q2 of U2 is " 0 ", then exporting A is " 1 ", can ensure that A exports the state determined, and ensure that outside relay is failure to actuate, thus improve the reliability of circuit.
By reference to the accompanying drawings the specific embodiment of the present invention is described although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various amendment or distortion that creative work can make still within protection scope of the present invention.
Claims (6)
1. an outlet logic circuit for reactive-load compensation intelligent controlling device, is characterized in that, comprises CPU, FPGA and reset chip, in the parallel bus access FPGA of described CPU, and the reset signal access FPGA of reset chip;
Described FPGA comprises decoding scheme, and described parallel bus access decoding scheme, generates multiple independently chip selection signal; Each chip selection signal connects a d type flip flop respectively, and the output signal access logic gates of d type flip flop, the output of described logic gates connects an output pin of FPGA, and then drives outside on-off circuit.
2. the outlet logic circuit of a kind of reactive-load compensation intelligent controlling device as claimed in claim 1, it is characterized in that, described parallel bus comprises data bus, address bus and control signal.
3. the outlet logic circuit of a kind of reactive-load compensation intelligent controlling device as claimed in claim 2, it is characterized in that, the figure place of d type flip flop is identical with the width of data bus, and described d type flip flop comprises two, is respectively d type flip flop U1 and d type flip flop U2.
4. the outlet logic circuit of a kind of reactive-load compensation intelligent controlling device as claimed in claim 3, it is characterized in that, described address bus and control signal generate two independently chip selection signals by decoding scheme, two chip selection signals connect the CLK end of d type flip flop U1 and d type flip flop U2 respectively, the D end of d type flip flop U1 and d type flip flop U2 all connects data bus, and the output terminal of d type flip flop U1 and d type flip flop U2 exports Q1 and Q2 signal respectively.
5. the outlet logic circuit of a kind of reactive-load compensation intelligent controlling device as claimed in claim 4, it is characterized in that, the input of described logic gates is from the output of two triggers, and its logic is A=Q1+/Q2, A end outputs to FPGA pin, and then drives outside on-off circuit.
6. the outlet logic circuit of a kind of reactive-load compensation intelligent controlling device as claimed in claim 3, it is characterized in that, the reset signal of reset chip connects the set end of d type flip flop U1 and the clear terminal of d type flip flop U2, reset signal is exported when reset chip resets, guarantee the signal of d type flip flop stable output, thus guarantee the state at powered on moment FPGA pin stable output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510783748.8A CN105259843B (en) | 2015-11-13 | 2015-11-13 | A kind of outlet logic circuit of reactive-load compensation intelligent controlling device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510783748.8A CN105259843B (en) | 2015-11-13 | 2015-11-13 | A kind of outlet logic circuit of reactive-load compensation intelligent controlling device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105259843A true CN105259843A (en) | 2016-01-20 |
CN105259843B CN105259843B (en) | 2017-04-05 |
Family
ID=55099583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510783748.8A Expired - Fee Related CN105259843B (en) | 2015-11-13 | 2015-11-13 | A kind of outlet logic circuit of reactive-load compensation intelligent controlling device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105259843B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107643902A (en) * | 2017-09-20 | 2018-01-30 | 安徽皖通邮电股份有限公司 | A kind of memory burner |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201562972U (en) * | 2009-11-06 | 2010-08-25 | 南京因泰莱配电自动化设备有限公司 | Electric power reactive compensation controller |
CN201789298U (en) * | 2010-07-12 | 2011-04-06 | 四川省科学城久信科技有限公司 | Intelligent shockless capacitance switching electronic integrated switch |
CN201985533U (en) * | 2010-08-08 | 2011-09-21 | 乐清市登立电表仪器研究所 | High-speed response reactive controller |
CN103311932A (en) * | 2013-05-29 | 2013-09-18 | 国电南京自动化股份有限公司 | Double-DSP (digital signal processor) control system based on chained SVG (scalable vector graphics) |
-
2015
- 2015-11-13 CN CN201510783748.8A patent/CN105259843B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201562972U (en) * | 2009-11-06 | 2010-08-25 | 南京因泰莱配电自动化设备有限公司 | Electric power reactive compensation controller |
CN201789298U (en) * | 2010-07-12 | 2011-04-06 | 四川省科学城久信科技有限公司 | Intelligent shockless capacitance switching electronic integrated switch |
CN201985533U (en) * | 2010-08-08 | 2011-09-21 | 乐清市登立电表仪器研究所 | High-speed response reactive controller |
CN103311932A (en) * | 2013-05-29 | 2013-09-18 | 国电南京自动化股份有限公司 | Double-DSP (digital signal processor) control system based on chained SVG (scalable vector graphics) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107643902A (en) * | 2017-09-20 | 2018-01-30 | 安徽皖通邮电股份有限公司 | A kind of memory burner |
Also Published As
Publication number | Publication date |
---|---|
CN105259843B (en) | 2017-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207150424U (en) | A kind of power management chip, electric power system and electronic equipment | |
CN103051307B (en) | Memristor-based non-volatile D trigger | |
CN102122141B (en) | Embedded general-purpose controller | |
CN103716031B (en) | Non-polarity RS485 interface circuit conversion rate enhancement method and circuit | |
CN203242571U (en) | Relay control circuit and device | |
CN103545807B (en) | A kind of medium voltage distribution network two wires cyclization mode of connection | |
CN106502363A (en) | A kind of electric power system of multi-node server system | |
WO2014032395A1 (en) | Anti-interference switching value transmission circuit | |
CN105259843A (en) | Outlet logic circuit of reactive power compensation type intelligent control device | |
CN110413041A (en) | A kind of chip clock circuit and its control method | |
CN204331374U (en) | A kind of multichannel analog amount output module | |
CN103166308A (en) | Bus differential protection latching spare power automatic switching loop | |
CN101825939B (en) | Digital system and power on reset circuit thereof | |
CN204695069U (en) | A kind of control circuit preventing remote control mistrip for specially becoming acquisition terminal | |
CN202720638U (en) | Serial conversion circuit | |
CN103050147B (en) | Terminating device system | |
CN104935302A (en) | DC voltage generation circuit and pulse generation circuit thereof | |
CN106292821B (en) | A kind of single live wire power getting chip | |
CN202352060U (en) | Active 485 meter reading circuit for concentrator | |
CN201600574U (en) | Vehicular logic control unit for realizing interchange of inserts | |
CN104917493B (en) | DC voltage generation circuit and its pulse-generating circuit | |
CN208908380U (en) | A kind of distribution structure based on middle-size and small-size data center | |
CN205666610U (en) | Multistage direct current converting circuit protection circuit | |
CN207134826U (en) | A kind of booster circuit of Big Dipper portable device | |
CN207352402U (en) | For controlling the main control unit structure of track traffic signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170405 Termination date: 20191113 |