집적 회로
증폭기, 발진기, 타이머, 카운터를 사용하여 일반적인 집적 회로를 모델링합니다. 부울 함수를 결합하여 단일 논리 출력을 생성합니다.
추천 예제
동기식 J-K 플립플롭
이 예제에서는 Simscape™ Electrical™ 논리 컴포넌트의 J-K 플립플롭을 모델링하는 방법을 보여줍니다. 2개의 스위치가 디폴트 위치에 놓여 있는 상태로서, 플립플롭에 대한 두 입력이 모두 High로 설정되어 있으므로 클록 신호가 Low가 될 때마다 출력 상태가 전환됩니다. 초기 조건은 블록 마스크의 초기화 명령를 통해 관련 NAND 게이트로 전달됩니다.
Digital Potentiometer Parameterized from Datasheet
How to model a digital potentiometer such as is used to control audio amplifiers from a digital circuit or microprocessor-controlled system. The model also shows how you can create your own custom blocks in order to extend the Simscape™ Electrical™ library.
Model Operational Amplifier with Noise
Incorporate noise into an electrical simulation. The circuit models an amplifier with a high-frequency roll off frequency of 10MHz. The Band-Limited Op-Amp block adds the noise. The Voltage Source block, Vn, specifies an equivalent voltage noise density of 20 nV/Hz^0.5. You can also add the thermal noise from the resistors R1 and R2 by setting the Noise mode parameter of the two Resistor blocks to Enabled. However, running this model with different combinations of noise sources shows that the main source of noise is the equivalent noise voltage.
Phase-Locked Loop
How to model a phase-locked loop. The charge pump and filter are modeled using discrete analog components whereas the oscillator is represented as behavioral component using the Simscape™ Electrical™ Voltage-Controlled Oscillator block. The D-type flip-flops in the phase detector are represented in a simplified form using Simulink® blocks to define the behavior, and electrical components are used just at the interface. Non-zero initial conditions are applied to C1 and C2 in order to start the VCO out of phase and test the tracking ability.
PWM 전압원과 H-Bridge 드라이버로 DC 모터 제어하기
이 예제에서는 Controlled PWM Voltage 블록과 H-Bridge 블록을 사용하여 DC 모터를 제어하는 방법을 보여줍니다. DC Motor 블록은 2,500rpm에서 10W의 기계적 파워를 제공하며, DC 공급 전압이 12V일 때 무부하 상태에서 4,000rpm 속도로 회전합니다. 따라서 PWM 기준 전압을 최댓값 5V로 설정하면 모터는 4,000rpm으로 작동합니다. PWM 기준 전압을 2.5V로 설정하면 모터는 약 2,000rpm으로 회전합니다. 이 예제에서는 빠른 시뮬레이션을 위해 Controlled PWM Voltage 블록과 H-Bridge 블록의 시뮬레이션 모드 파라미터를 Averaged로 설정합니다. 평균화된 동작을 검증하려면 Controlled PWM Voltage 블록과 H-Bridge 블록의 Simulation mode 파라미터를 모두 PWM으로 설정합니다.
Low-Pass Filter Using Operational Transconductance Amplifiers
Model a second-order active low-pass filter. The filter is characterized by the transfer function H(s) = 1 / ( (s/w1)^2 + (1/Q)*(s/w1) + 1 ) where w1 = 2*pi*f1, f1 is the cut-off frequency and Q is the quality factor. Double-click on the Set Design Parameters block to set parameters f1 and Q. The block mask calls a function which sets the parameter values in the model workspace.
클록형 Set-우선 SR 래치
이 예제에서는 Simscape™ Electrical™ 논리 컴포넌트의 Set-우선 SR 래치를 모델링하는 방법을 보여줍니다. 초기 조건은 스위치의 초기화 명령을 통해 관련 AND 게이트로 전달됩니다.
클록형 Reset-우선 SR 래치
이 예제에서는 Simscape™ Electrical™ 논리 컴포넌트의 Reset-우선 SR 래치를 모델링하는 방법을 보여줍니다. 초기 조건은 스위치의 초기화 명령을 통해 관련 AND 게이트로 전달됩니다.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)







