Jump to content
OMRON Forums

ADC Offset


leandro.martins

Recommended Posts

I'm driving a voice-coil using the Power Brick LV 5A/15A and my goal is to control the force exerted. 

Measuring the current with a multimeter, when it's issued the command

#nout0

a current of -0.15A is measured, but when I look to the Motor[x].IqMeas  the value corresponds to approximately zero amps.

 

I could adjust this by the Motor[x].IaBias, but in the Power Brick LV it says there is an autocalibration routine and the bias should be left in zero
image.thumb.png.e7f9e54f8b6f86cb4bd600b5def947ec.png

 

If I set some value in Motor[x].IaBias, in a manner to correct the observed bias, is it possible the autocalibration routine interfer in some way and the bias keep changing?

Is there any other problem in setting the bias?

 

Thanks in advance

 

 

Link to comment
Share on other sites

On 3/5/2022 at 3:51 PM, leandro.martins said:

If I set some value in Motor[x].IaBias, in a manner to correct the observed bias, is it possible the autocalibration routine interfer in some way and the bias keep changing?

 

I made some tests and this is really happening, is there some way to disable the auto-calibration routine (by software or by hardware)?

 

Thanks again

Link to comment
Share on other sites

Thanks Tony,

I will try this approach.

Reading about Motor[x].CurrentNullPeriod in the manual, it seems that is applied only to external amplifiers. I don't know if I'm misinterpreting.
image.png.bd604cdb790ea40861bfe82af1839d78.png

So, I guess that using Motor[x].CurrentNullPeriod we will be applying a correction that complements the corretion of the amplifiers, is that right?

Edited by leandro.martins
Link to comment
Share on other sites

The current sense firmware in the Brick attempts to null the offsets automatically so you don't normally need to use the PMAC offsets. This only affects the current feedback, not the output. External amplifiers do not always perform the offset measurement automatically so it needs to be done in the PMAC.

With a Brick there is nothing to stop you applying the PMAC offsets as well. If you use a negative number for CurrentNullPeriod it has the effect of compensating for the small offsets in the output caused by the switching transistor characteristics. It might not work well for you because it could cause the voice coil to move when the test current is turned on. In that case you could calibrate the system with the stage locked and then use fixed values for IaBias and IbBias.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...