# Startup\_sensorless\_control at set RPM

**URL:** <https://discourse.odriverobotics.com/t/startup-sensorless-control-at-set-rpm/1948>\
**Category:** Support\
**Created:** [February 16, 2019, 6:35pm UTC](https://discourse.odriverobotics.com/t/startup-sensorless-control-at-set-rpm/1948 "2019-02-16T18:35:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewvh4](https://discourse.odriverobotics.com/letter_avatar_proxy/v4/letter/a/bc8723/32.png) [@andrewvh4](https://discourse.odriverobotics.com/u/andrewvh4)\
**Post date:** [February 16, 2019, 6:35pm UTC](https://discourse.odriverobotics.com/t/startup-sensorless-control-at-set-rpm/1948/1 "2019-02-16T18:35:05Z")

</div>

I was able to set up the drive in sensorless-velocity control mode and run a motor on a bench, however, when I set:

odrv0.axis0.controller.vel\_setpoint = 0 #The drive stops here  
odrv0.axis0.config.startup\_sensorless\_control = True  
odrv0.save\_configuration()

and power-cycle the drive, it boots and begins running in sensorless velocity control at 400rpm.

For my project, I need the system to boot in sensorless velocity control mode at 0rpm (So the system doesn’t drive away when I turn it on and the rest of the control systems boot up). Currently, I am booting in idle, then setting the rpm and then initializing sensorless control mode once the control systems are up and running. Even then, when I run:

odrv0.axis0.controller.vel\_setpoint = 0

odrv0.axis0.requested\_state = AXIS\_STATE\_SENSORLESS\_CONTROL

it begins spinning at 400rpm.  
Surely I am missing something, since no application I can think of would want a drive to actuate on startup like this.

---

<div class="post-metadata">

**Author:** ![madcowswe](https://discourse.odriverobotics.com/user_avatar/discourse.odriverobotics.com/madcowswe/32/1138_2.png) [@madcowswe](https://discourse.odriverobotics.com/u/madcowswe)\
**Post date:** [March 1, 2019, 2:00am UTC](https://discourse.odriverobotics.com/t/startup-sensorless-control-at-set-rpm/1948/2 "2019-03-01T02:00:57Z")

</div>

The setting you are looking for is `odrv0.axis0.config.spin_up_target_vel`.

---

<div class="post-metadata">

**Author:** ![Fireworks](https://discourse.odriverobotics.com/letter_avatar_proxy/v4/letter/f/59ef9b/32.png) [@Fireworks](https://discourse.odriverobotics.com/u/Fireworks)\
**Post date:** [November 27, 2021, 7:42am UTC](https://discourse.odriverobotics.com/t/startup-sensorless-control-at-set-rpm/1948/3 "2021-11-27T07:42:58Z")

</div>

Hi, I’m using ODrive 3.6Hw with 0.5.1 firmeware to Drive XXD2212 Motor and I want using Sensorless mode ,And wana Know a Complete Configure step  
Thanks

---

<div class="post-metadata">

**Author:** ![tmagik](https://discourse.odriverobotics.com/user_avatar/discourse.odriverobotics.com/tmagik/32/3575_2.png) [@tmagik](https://discourse.odriverobotics.com/u/tmagik)\
**Post date:** [September 4, 2024, 1:44am UTC](https://discourse.odriverobotics.com/t/startup-sensorless-control-at-set-rpm/1948/4 "2024-09-04T01:44:27Z")

</div>

Did config.spin\_up\_target\_vel get changed to config.sensorless\_ramp\_vel in the latest firmware?

I’m having some trouble getting sensorless to work the way I want it and I’m not sure if it’s because of the small power supply on the bench or something else.

---

<div class="post-metadata">

**Author:** ![solomondg](https://discourse.odriverobotics.com/letter_avatar_proxy/v4/letter/s/bcef8e/32.png) [@solomondg](https://discourse.odriverobotics.com/u/solomondg)\
**Post date:** [September 4, 2024, 3:51pm UTC](https://discourse.odriverobotics.com/t/startup-sensorless-control-at-set-rpm/1948/5 "2024-09-04T15:51:36Z")

</div>

Correct - what issues are you having?
