분류 전체보기 226

[논문리뷰] Diesel Generator Speed Control Based onVariable Forgetting Factor Iterative Learning Method

0. 원문 1. 해석 (0) Abstract This paper applies the iterative learning control (ILC) method to the speed control system of the diesel generator set in the marine power system. 이 논문은 해상 동력 시스템의 디젤 발전기 세트의 속도 제어 시스템에 반복 학습 제어 (ILC) 방법을 적용합니다. Compared with traditional PID, ILC has good control performance in response speed and disturbance resistance. 이 논문은 해상 동력 시스템의 디젤 발전기 세트의 속도 제어 시스템에 반복 학습 제어 (IL..

#6-1 Sequential Circuit Design - Finite State Machine (Mealy-circuit)

*Mealy State Machine Design `timescale 1ns/1ns module MealyStateM(Reset, Ck, X, OC, outState, Z); input Reset, Ck, X; input OC; //output buffer control output Z; wire Z; output [1:0] outState; wire [1:0] outState; localparam [1:0] S0=2'b00, S1=2'b01, S2=2'b10, S3=2'b11; reg [1:0] preState, nextState; always @ (posedge Ck) //State Register begin //sequential if (Reset) //synchronous reset preState

#6 Modeling Sequential Circuits(Moore, Mealy machine)

*Modeling a sequential machine: 3 approaches *Modeling a sequential machine: 1) Behavioral modeling - ex.1 //This is a behavioral model of Mealy state machine(Figure 2-51)based on its state table. //The output(Z) and next state are computed before the active edge of the clock. //The state change occurs on the rising edge of the clock. module Code_Converter(X, CLK, Z); input X, CLK, Reset; output..

#5 Finite State Machine - Moore, Mealy Machine

Any circuit or device can be represented in multiple forms of abstraction. 3 Models: - Behavioral (가장 상위 레벨) : Specifies only the behavior at a higher level of abstraction. Does not imply any particular structure of technology. => 동작 기반 묘사단계 - Data Flow(Register Transfer Level) : Data path and control signals are specified. System is described in terms of the data transfer between registers. => ..

#5-1 Sequential Circuit Design - Finite State Machine (Moore-circuit)

*Finite State Machine Finite State Machine (FSM) is abstract model of describing sequential circuit. *Finite State Machine - Moore, Mealy Machine *MooreState Design `timescale 1ns/1ns module MooreStateM(Reset, Ck, X, OC, outState, Z); //OC, outState는 설계 확인용이고 실제 설계시 필요 없다. input Reset, Ck, X; input OC; output Z; reg Z; output [1:0] outState; wire [1:0] outState; lacalparam [1:0]S0 = 2'b00, S1 = ..

#4 if, case statement and verilog models(Multiplexers, register, counter)

* "If", "Case" Statement An if statement has the form: if (condition) statements 1 else if (condition) statements 2 ... else statements 3 A Case Statement has the form: case expression choice1 : statements1 choice2 : statements2 ... [default : statements5] endcase *Verilog Models for Multiplexers A multiplexer is a conbinational circuit and can be modeled using: - A conditional operator with ass..

#4 Simple Synthesis Examples

*Simple Synthesis Examples 1 In order for code to synthesize correctly, certain conversions must be followed. Even if Verilog code gives the correct result when simulated, it may nor result in hardware that work correctly when synthesized. Sensitivity list에 B가 빠져있다. : always@(A or B) 또는 always@(*)로 수정해야 한다. *Simple Synthesis Examples 2 sequential logic을 사용하였기에 (=>) CLK을 두번 지난다. //always block 수정..

3상 구형파 인버터(Six Step Inverter)[전압]

1. 3상 인버터란? 3상 인버터는 모터의 3개의 상을 제어하기 위해 통상 6개의 스위칭 소자를 조합해 구성한다. 1개의 상에 2개의 스위칭 소자가 연결되어 있어, Top에 위치해 있는 스위칭 소자가 on되었는지 Bottom에 있는 스위칭 소자가 on되었는지에 따라 상전류에 방향을 제어한다. 그리고 같은 상에 있는 Top, Bottom스위치는 동시에 on되지 않는다. 위 그림에서 n은 모터의 중성점이고, g는 GND이다. 3상의 전압을 생성하도록 하기 위해서는 그림 8.17에서 처럼 각 상의 극전압이 서로 120도의 위상차를 갖도록 스위칭할 필요가 있다. 이 경우 출력 전압은 인버터가 발생할 수 있는 가장 큰 크기로 고정되며, 그 주파수만이 제어 가능하다. 이러한 동작을 하는 인버터를 구형파 인버터(Sq..

#2-2 Multiplexer Design

*Multiplexer Design - Conditional Expression A conditional(if 구문) signal assignment statement has the form : assign signal_name = condition ? expression_T : expression_F; if else => 한줄로 mux를 design할 수 있다. `timescale 1ns/1ns module Mux(X, Y, A, Z); input[3:0] X, Y; intput A; output[3:0]Z; assign Z = (A) ? Y : X; //A=1(true)이면 Y를 추출, A = 0(false)이면 X를 추출한다 endmodule *2-to-1 Multiplexer Design(Test..

#2 Verilog Description of Digital Systems(Verilog Assignments)

*Verilog Description of Combinational Circuits A signal assignment statement has the form : Assign [#delay] signal_name = expression; (square brackets indicate that #delay is optional) Concurrent statements (continuous assignments) examples 1-2 assign의 순서가 바뀌어도 다른 Hardware이 설계되진 않는다. (순서중요X) assign #10 A = ~A //A를 10ns 이후 inversion시켜라 => state를 바꾸는 주기적 신호 Q. A대신 CLK은 왜 사용 못하는가? A. CLK의 data type..

#1-1 Design a full adder

*Full Adder *Full Adder Design Using Verilog FullAdder.v file `timescale 1ns/100ps module FullAdder (input x, y, Cin, output Cout, Sum); assign Sum = x ^ y ^ Cin; assign Cout = (x & y) | (x & Cin) | (y & Cin); endmodule timescale 1ns/100ps : time 프리시전으로 time step결정, 얼마나 쪼개서 할 것인지 설정 FullAdder : module의 이름 / 순서에 맞게 mapping하기(순서중요) ^ : exclusive OR FullAdderTester.v file `timescale 1ns/100ps modul..

#1 Digital Circuit Design

*Digital System Advantage Reproducibility, Reliability, Accuracy, Noise immunity, Flexibility, Easy of integration, etc... => 집적 용이, 저장이 쉬움->유지보수 쉬움 *Hardware Description Languages(HDLs) HDLs can describe a digital system at several different levels. - behavioral and structural HDLs lead naturally to a top-down design methology Two popular HDLs - VHDL and verilog Verilog is a HDL used to describ..

모터 제어의 두가지 방식(Field-oriented control 과 Direct torque control)

0. 원문 교재 : Power electronIcs and motor drIves 1. 발췌 16.4 Vector Control Methods of AC–DC–AC Converter–Fed Induction Machine Drives: A Review (1) 16.4.1 Field Oriented Control and Virtual Flux Oriented Control VSI: The block diagram of the IFOC is presented in Figure 16.11. The commanded electromagnetic torque Mec, is delivered from outer PI speed controller, based on mechanical speed error e_Ωm...

Study/Motor Control 2023.09.28