Power reference can...
 
Notifications
Clear all

[Solved] Power reference can only be written but not set (UART command 0x06)  

  RSS

Illylonka
(@illylonka)
Eminent Member
Joined: 4 weeks ago
Posts: 47
02/10/2020 2:03 pm  

Hi,

the power reference can only be written but not set (UART command 0x06). I thank that is missing in the command list.

Best,

Illylonka


Quote
(@milad)
Chief Member Moderator
Joined: 8 months ago
Posts: 75
02/10/2020 4:06 pm  

Hi @Illylonka, 

can you explain a little bit more? you can't set the value? 

Regards

 

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


ReplyQuote
Illylonka
(@illylonka)
Eminent Member
Joined: 4 weeks ago
Posts: 47
02/10/2020 8:14 pm  

@milad Sorry, I guess I was tired when I wrote that post^^

I meant I could not READ the power reference from the SOLO device via the UART interface.

Illylonka


ReplyQuote
(@milad)
Chief Member Moderator
Joined: 8 months ago
Posts: 75
04/10/2020 9:51 am  

Hi @illylonka

Yes, there is no variable to read for Power as it's just an Auxilary term and it doesn't exist in reality, Power here can be derived from the combination of Voltages and currents on the Motor, and in 3 phase Motors, the User has access to all VA, VB, and IA, IB. to find out the third phase voltage or current:

VC = VA+ VB

IC = IA + IB

so the user can see the difference by observing or reading the mentioned parameters.

Regards

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


ReplyQuote
Illylonka
(@illylonka)
Eminent Member
Joined: 4 weeks ago
Posts: 47
04/10/2020 10:00 am  

Hi @milad,

sure, there does not need to be a command to read the POWER. However, users will need a command to read the POWER REFERENCE.

I see that all other references (torque, speed, power, magnetizing current) can only be set, but not read. The same is true for the motor direction.

When using a Solo device with two masters (not necessarily at the same time: e.g. a master crashes, reboots and forgets about the current settings, so it factually becomes a second master), the second master has no chance of knowing what the first master wrote into these registers. Also, the master has no chance to read the default value from the register, but to guess it. The default may change with a new firmware release and other events...

Therefore, it would be useful to read the torque reference, speed reference, power reference and magnetizing current reference.

Best,

Illylonka


ReplyQuote
(@milad)
Chief Member Moderator
Joined: 8 months ago
Posts: 75
04/10/2020 10:09 am  

Hi @illylonka

Thanks, but regarding the Reference values, these are real-time parameters that user sets, so the assumption is the user knows what they are setting, and they can check the response by reading the feedbacks (e.g: speed, Torque, Position) and so on, of course, it's a good idea to include them as well, but we wanted to put only the critical parameters in Write/Read table, as we can have maximum 128 commands for write or read as the command section is 1 byte, so we wanted to be careful and extremely efficient on how to use this resources.

of course, we could make our packet 12 or 15 bytes, but the goal was to have the minimum size, which gives us the possibility of having the maximum data rate and information exchange within a fixed time period, anyways, we will put this request in the list and we will make them readable if there were more space for commands. ( maybe in the next release or the release after that).

Regards

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


ReplyQuote
Illylonka
(@illylonka)
Eminent Member
Joined: 4 weeks ago
Posts: 47
04/10/2020 10:14 am  

Hi @milad,

I see... I was wondering already why you decided to use a fixed length one byte command enumeration.

However, I will try my best to make my software comply with these specifications.

Best,

Illylonka


ReplyQuote
(@milad)
Chief Member Moderator
Joined: 8 months ago
Posts: 75
04/10/2020 10:19 am  

@illylonka

yeah, the challenge was how to maximize the useful data-rate exchange, and we think once the Monitoring mode gets utilized, the difference will become evident as you can monitor 10 parameters at the same time with 1.17kHz of sampling rate for each, which can be very useful for a lot of applications.

also in the future, we will add other types of dedicated monitorings, like specifically for Speed or Position control, and there you can have sampling rates of up to 5kHz for each parameter ( if we monitor 5 parameters instead of 10), The more data we provide to our users, the better their quality of results to be analyzed becomes, and this is sth we believe will be very useful for performance evaluation and system analysis.

Regards

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


ReplyQuote
Illylonka
(@illylonka)
Eminent Member
Joined: 4 weeks ago
Posts: 47
04/10/2020 4:28 pm  

Hi @milad,

I don't really have any use for decent monitoring in my application (I am looking forward to using the Solo device for my pedelec). However, you are probably right: fast monitoring is generally very useful.

Did you consider offline monitoring for performance analysis? You could write the data to RAM  or to a drive and transmit them later...

I do have one question left: when I change the control mode (command 0x16), will this always set the new

  • speed reference
  • torque reference
  • desired position
  • power reference

to zero? There is no way to read them, but I have to assume something, so I can display them in the GUI.

Best,

Illylonka


ReplyQuote
(@milad)
Chief Member Moderator
Joined: 8 months ago
Posts: 75
04/10/2020 5:10 pm  

@illylonka

Posted by: @illylonka

I do have one question left: when I change the control mode (command 0x16), will this always set the new

  • speed reference
  • torque reference
  • desired position
  • power reference

to zero?

it sets them to the last value you put in them, so the best is , before going to digital Mode, you put Zero in your desired reference, for sure after power recycle they are all Zero, but what happens after this depends on User.

Posted by: @illylonka

Did you consider offline monitoring for performance analysis? You could write the data to RAM  or to a drive and transmit them later...

I wish we could, but we don't have that many resources available on hardware, may be users can use the USB to log the data on SD cards or sth if possible ...

Regards
Milad

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


ReplyQuote
Share: