This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > FPGA Technical Tutorials > Design Recipes for FPGAs Using Verilog and VHDL > Mixed Signal Modeling > Multiple Domain Modeling

TABLE OF CONTENTS

Xilinx FPGA FPGA Forum

Multiple Domain Modeling

FONT SIZE : AAA

A final significant application area for VHDL-AMS has been the modeling of electromechanical systems, particularly micromachines (or MEMS). Exactly the same principles are used for these devices, with the mechanical domain models defined as required for the mechanical equations. It is worth noting that the mechanical models are divided intorotational (angular velocity and torque) and translational (force and distance) types. A typical simple example of a mixed domain system is a motor, in this case a simple DC motor. Taking the standard motor equations as shown here, it can be seen that the parameter ke links the rotor speed to the electrical domain (back emf) and the parameter kt links the current to the torque.

This is implemented using the VHDL-AMS model shown as follows: 

1 library ieee;

2 use ieee.electrical_systems.all; 3 use ieee.mechanical_systems.all; 45 entity dc_motor is

6 generic (kt : real;

7 j : real;

8 r : real;

9 ke : real;

10 d : real;

11 l : real);

12 port (terminal p, m : electrical;

13 terminal rotor : rotational_v );

14 end entity dc_motor;

15

16 architecture behav of dc_motor is

17 quantity w across t through rotor

18 to rotational_v_ref;

19 quantity v across i through p to m;

20 begin

21 v == l∗i’DOT + i∗r + ke∗w;

22 t == i∗kt − j∗w’DOT − d∗w;

23 end architecture behav;



  • XC4028XLA-09HQ208C

    Manufacturer:Xilinx

  • FPGA XC4000XLA Family 28K Gates 2432 Cells 227MHz 0.35um Technology 3.3V 208-Pin HSPQFP EP
  • Product Categories:

    Lifecycle:Obsolete -

    RoHS: No RoHS

  • XC5VLX155-2FF1760I

    Manufacturer:Xilinx

  • FPGA Virtex-5 LX Family 65nm Technology 1V 1760-Pin FCBGA
  • Product Categories: FPGAs (Field Programmable Gate Array)

    Lifecycle:Active Active

    RoHS: No RoHS

  • XC5VLX155-2FFG1760I

    Manufacturer:Xilinx

  • FPGA Virtex-5 LX Family 65nm Technology 1V 1760-Pin FCBGA
  • Product Categories: FPGAs (Field Programmable Gate Array)

    Lifecycle:Active Active

    RoHS:

  • XC5VLX155T-1FF1136I

    Manufacturer:Xilinx

  • FPGA Virtex-5 LXT Family 65nm Technology 1V 1136-Pin FCBGA
  • Product Categories: Boîtier de connecteur

    Lifecycle:Active Active

    RoHS: No RoHS

  • XCS30XL-5PQG208C

    Manufacturer:Xilinx

  • XCS30XL-5PQG208C - NOT RECOMMENDED for NEW DESIGN
  • Product Categories: FPGAs

    Lifecycle:Obsolete -

    RoHS: -

Need Help?

Support

If you have any questions about the product and related issues, Please contact us.