Please note

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
stokes
Professional User
Posts: 70
Joined: Mon 2006-03-13 6:38

Please note

Post by stokes »

If for any reason this forum moves again, would it be to much to be informed before you next log in. Considering that Email addresses need to be used to obtain access it would be great if the forum could inform users of changes via Email.

GREAT NEW LOOK

I have a question while I'm here. I've been using MPLAB and ISIS for close to two years now (great idea intergrating the two), and for the asolute life of me I can't figure out how to change the properties of the PWM SERVO. I use servos all the time in projects designed in ISIS, but I'd like to be able to change the input signals to the servo I.E Neutual = 1.7 milliseconds - 45 degress = 2.3 milliseconds and 90 degress = 1.2 millisceonds.

Any ideas or help on this.

Regards,
David


Moved in VSM section as this has to do with simulation.
EA
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Post by Ettore »

You need to set servo motor properties such that:

Minimum Angle = +90°
Maximum Angle = +45°
Minimum Control Pulse = 1.2m
Maximum Control Pulse = 2.3m

Have a look at attached sketch. The pulse generator was set with:

Initial (Low) Voltage = 0
Pulsed (High) voltage = 5
Start = 0
Rise Time = 1n
Fall Time = 1n
Pulse Width (%) = 12 (for 1.2ms) or 23 (for 2.3ms)
Frequency (Hz) = 100

The circuitry in the dashed box is not that functional for the simulation itself, although it's useful to measure the pulse with usec resolution.
Attachments
Servo.JPG
Servo.JPG (98.75 KiB) Viewed 740 times
Kind regards,
Ettore Arena - Labcenter Electronics.
stokes
Professional User
Posts: 70
Joined: Mon 2006-03-13 6:38

Post by stokes »

Ettore Arena,

Thank you so much for that.
Post Reply